Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.2.0
-
None
-
None
Description
Refactor some exceptions in QueryParsingErrors to use error classes.
There are currently ~100 exceptions in this file; so this PR only focuses on the third set of 20.
fromToIntervalUnsupportedError mixedIntervalUnitsError dataTypeUnsupportedError partitionTransformNotExpectedError tooManyArgumentsForTransformError notEnoughArgumentsForTransformError invalidBucketsNumberError invalidTransformArgumentError cannotCleanReservedNamespacePropertyError propertiesAndDbPropertiesBothSpecifiedError fromOrInNotAllowedInShowDatabasesError cannotCleanReservedTablePropertyError duplicatedTablePathsFoundError storedAsAndStoredByBothSpecifiedError operationInHiveStyleCommandUnsupportedError operationNotAllowedError descColumnForPartitionUnsupportedError incompletePartitionSpecificationError computeStatisticsNotExpectedError addCatalogInCacheTableAsSelectNotAllowedError
For more detail, see the parent ticket SPARK-36094.