Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-9732

Improve exceptions of unsupported HdfsTableSink formats

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 3.4.0
    • Impala 4.0.0
    • Frontend
    • None
    • ghx-label-2

    Description

      For unsupported table writes an IllegalStateException is thrown during planning here:

       Preconditions.checkState(false, "Unsupported TableSink format(s): " + Joiner.on(',').join(unsupportedFormats));
      

      This exception could be improved by changing the IllegalStateException to a more meaningful one and the "TableSink format" to a term which is familiar for the users.

      Additionally, the exception is thrown generally when a table has a partition with unsupported format, dynamic partitioning is not taken into consideration. The check could be extended to only throw exception when the partition that is being written is unsupported.

      Attachments

        Activity

          People

            tmate Tamas Mate
            tmate Tamas Mate
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: