Details
-
Sub-task
-
Status: Open
-
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 ninth set of 20.
unscaledValueTooLargeForPrecisionError decimalPrecisionExceedsMaxPrecisionError outOfDecimalTypeRangeError unsupportedArrayTypeError unsupportedJavaTypeError failedParsingStructTypeError failedMergingFieldsError cannotMergeDecimalTypesWithIncompatiblePrecisionAndScaleError cannotMergeDecimalTypesWithIncompatiblePrecisionError cannotMergeDecimalTypesWithIncompatibleScaleError cannotMergeIncompatibleDataTypesError exceedMapSizeLimitError duplicateMapKeyFoundError mapDataKeyArrayLengthDiffersFromValueArrayLengthError fieldDiffersFromDerivedLocalDateError failToParseDateTimeInNewParserError failToFormatDateTimeInNewFormatterError failToRecognizePatternAfterUpgradeError failToRecognizePatternError cannotCastUTF8StringToDataTypeError
For more detail, see the parent ticket SPARK-36094.