Class PartitionSpecInvalidException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.flink.table.catalog.exceptions.PartitionSpecInvalidException
-
- All Implemented Interfaces:
Serializable
@PublicEvolving public class PartitionSpecInvalidException extends Exception
Exception for invalid PartitionSpec compared with partition key list of a partitioned Table. For example, it is thrown when the size of PartitionSpec exceeds the size of partition key list, or when the size of PartitionSpec is 'n' but its keys don't match the first 'n' keys in partition key list.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PartitionSpecInvalidException(String catalogName, List<String> partitionKeys, ObjectPath tablePath, CatalogPartitionSpec partitionSpec)
PartitionSpecInvalidException(String catalogName, List<String> partitionKeys, ObjectPath tablePath, CatalogPartitionSpec partitionSpec, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PartitionSpecInvalidException
public PartitionSpecInvalidException(String catalogName, List<String> partitionKeys, ObjectPath tablePath, CatalogPartitionSpec partitionSpec)
-
PartitionSpecInvalidException
public PartitionSpecInvalidException(String catalogName, List<String> partitionKeys, ObjectPath tablePath, CatalogPartitionSpec partitionSpec, Throwable cause)
-
-