Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-36094 Group SQL component error messages in Spark error class JSON file
  3. SPARK-36294

Refactor fifth set of 20 query execution errors to use error classes

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: Spark Core, SQL
    • Labels:
      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 fifth set of 20.

      createStreamingSourceNotSpecifySchemaError
      streamedOperatorUnsupportedByDataSourceError
      multiplePathsSpecifiedError
      failedToFindDataSourceError
      removedClassInSpark2Error
      incompatibleDataSourceRegisterError
      unrecognizedFileFormatError
      sparkUpgradeInReadingDatesError
      sparkUpgradeInWritingDatesError
      buildReaderUnsupportedForFileFormatError
      jobAbortedError
      taskFailedWhileWritingRowsError
      readCurrentFileNotFoundError
      unsupportedSaveModeError
      cannotClearOutputDirectoryError
      cannotClearPartitionDirectoryError
      failedToCastValueToDataTypeForPartitionColumnError
      endOfStreamError
      fallbackV1RelationReportsInconsistentSchemaError
      cannotDropNonemptyNamespaceError
      

      For more detail, see the parent ticket SPARK-36094.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              karenfeng Karen Feng

              Dates

              • Created:
                Updated:

                Issue deployment