You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tamas Mate (Jira)" <ji...@apache.org> on 2021/04/20 10:41:00 UTC
[jira] [Resolved] (IMPALA-9732) Improve exceptions of unsupported
HdfsTableSink formats
[ https://issues.apache.org/jira/browse/IMPALA-9732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tamas Mate resolved IMPALA-9732.
--------------------------------
Fix Version/s: Impala 4.0
Resolution: Fixed
> Improve exceptions of unsupported HdfsTableSink formats
> -------------------------------------------------------
>
> Key: IMPALA-9732
> URL: https://issues.apache.org/jira/browse/IMPALA-9732
> Project: IMPALA
> Issue Type: Improvement
> Components: Frontend
> Affects Versions: Impala 3.4.0
> Reporter: Tamas Mate
> Assignee: Tamas Mate
> Priority: Major
> Fix For: Impala 4.0
>
>
> For unsupported table writes an IllegalStateException is thrown during planning [here|https://github.com/apache/impala/blame/e46bbf29d43f1d3b118933d06c63ceb135beaf9c/fe/src/main/java/org/apache/impala/planner/HdfsTableSink.java#L144]:
> {code:java}
> Preconditions.checkState(false, "Unsupported TableSink format(s): " + Joiner.on(',').join(unsupportedFormats));
> {code}
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org