Details
-
Sub-task
-
Status: In Progress
-
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 first set of 20.
invalidInsertIntoError insertOverwriteDirectoryUnsupportedError columnAliasInOperationNotAllowedError emptySourceForMergeError unrecognizedMatchedActionError insertedValueNumberNotMatchFieldNumberError unrecognizedNotMatchedActionError mergeStatementWithoutWhenClauseError nonLastMatchedClauseOmitConditionError nonLastNotMatchedClauseOmitConditionError emptyPartitionKeyError combinationQueryResultClausesUnsupportedError distributeByUnsupportedError transformNotSupportQuantifierError transformWithSerdeUnsupportedError lateralWithPivotInFromClauseNotAllowedError lateralJoinWithNaturalJoinUnsupportedError lateralJoinWithUsingJoinUnsupportedError unsupportedLateralJoinTypeError invalidLateralJoinRelationError
For more detail, see the parent ticket SPARK-36094.