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 "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/06/13 17:16:00 UTC

[jira] [Commented] (IMPALA-11302) Improve error message for CREATE EXTERNAL TABLE iceberg command

    [ https://issues.apache.org/jira/browse/IMPALA-11302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17553718#comment-17553718 ] 

ASF subversion and git services commented on IMPALA-11302:
----------------------------------------------------------

Commit cee086f685e1b641da14513cc24ad11c56dee7fd in impala's branch refs/heads/master from Zoltan Borok-Nagy
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=cee086f68 ]

IMPALA-11302, IMPALA-11303: Fix error handling of external Iceberg tables

IMPALA-11302: Improve error message for CREATE EXTERNAL TABLE iceberg
command

The error message complained about failed table loading. The new
error message is more precise, and also notifies the user to use
plain 'CREATE TABLE' for creating new Iceberg tables.

IMPALA-11303: Exception is not raised for Iceberg DDL that misses
LOCATION clause

We returned the error in the result summary. Instead of that now
we raise an error, and also notify  the user about how to create
new Iceberg tables.

Testing:
 * e2e tests

Change-Id: I659115cc97a1a00e1ddf3fbb7dbe1f286bf1edcf
Reviewed-on: http://gerrit.cloudera.org:8080/18563
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Improve error message for CREATE EXTERNAL TABLE iceberg command
> ---------------------------------------------------------------
>
>                 Key: IMPALA-11302
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11302
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>            Reporter: Vivek Sharma
>            Assignee: Zoltán Borók-Nagy
>            Priority: Major
>              Labels: impala-iceberg
>         Attachments: impala-icerberg-err.png
>
>
> For the following DDL
> {code:java}
> create external table t4 (id int) stored as iceberg ; {code}
>  
> The error message appears incorrect and can be refined
> {code:java}
> ImpalaRuntimeException: Error making 'createTable' RPC to Hive Metastore: CAUSED BY: TableLoadingException: Failed to load Iceberg table with id: vsh.t4 CAUSED BY: NoSuchTableException: Table does not exist: vsh.t4 {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org