Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 3.4.0
-
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.