Details
-
Sub-task
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
3.2.0
-
None
-
None
Description
Refactor some exceptions in QueryExecutionErrors to use error classes.
There are currently ~350 exceptions in this file; so this PR only focuses on the eleventh set of 20.
expressionDecodingError expressionEncodingError classHasUnexpectedSerializerError cannotGetOuterPointerForInnerClassError userDefinedTypeNotAnnotatedAndRegisteredError invalidInputSyntaxForBooleanError unsupportedOperandTypeForSizeFunctionError unexpectedValueForStartInFunctionError unexpectedValueForLengthInFunctionError sqlArrayIndexNotStartAtOneError concatArraysWithElementsExceedLimitError flattenArraysWithElementsExceedLimitError createArrayWithElementsExceedLimitError unionArrayWithElementsExceedLimitError initialTypeNotTargetDataTypeError initialTypeNotTargetDataTypesError cannotConvertColumnToJSONError malformedRecordsDetectedInSchemaInferenceError malformedJSONError malformedRecordsDetectedInSchemaInferenceError
For more detail, see the parent ticket SPARK-36094.