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

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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.0
    • None
    • Spark Core, SQL
    • 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 sixth set of 20.

      noRecordsFromEmptyDataReaderError
      fileNotFoundError
      unsupportedSchemaColumnConvertError
      cannotReadParquetFilesError
      cannotCreateColumnarReaderError
      invalidNamespaceNameError
      unsupportedPartitionTransformError
      missingDatabaseLocationError
      cannotRemoveReservedPropertyError
      namespaceNotEmptyError
      writingJobFailedError
      writingJobAbortedError
      commitDeniedError
      unsupportedTableWritesError
      cannotCreateJDBCTableWithPartitionsError
      unsupportedUserSpecifiedSchemaError
      writeUnsupportedForBinaryFileDataSourceError
      fileLengthExceedsMaxLengthError
      unsupportedFieldNameError
      cannotSpecifyBothJdbcTableNameAndQueryError
      

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            karenfeng Karen Feng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: