Peng-Lei opened a new pull request #34093: URL: https://github.com/apache/spark/pull/34093
### What changes were proposed in this pull request? Refactor fifth set of 20 query execution errors to use error classes. as follows: ` createStreamingSourceNotSpecifySchemaError streamedOperatorUnsupportedByDataSourceError multiplePathsSpecifiedError failedToFindDataSourceError removedClassInSpark2Error incompatibleDataSourceRegisterError unrecognizedFileFormatError sparkUpgradeInReadingDatesError sparkUpgradeInWritingDatesError buildReaderUnsupportedForFileFormatError jobAbortedError taskFailedWhileWritingRowsError readCurrentFileNotFoundError unsupportedSaveModeError cannotClearOutputDirectoryError cannotClearPartitionDirectoryError failedToCastValueToDataTypeForPartitionColumnError endOfStreamError fallbackV1RelationReportsInconsistentSchemaError cannotDropNonemptyNamespaceError ` ### Why are the changes needed? [SPARK-36294](https://issues.apache.org/jira/browse/SPARK-36294) ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Existed UT Testcase -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
