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-11303) Exception is not raised for Iceberg DDL that misses LOCATION clause

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

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

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>


> Exception is not raised for Iceberg DDL that misses LOCATION clause
> -------------------------------------------------------------------
>
>                 Key: IMPALA-11303
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11303
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Vivek Sharma
>            Assignee: Zoltán Borók-Nagy
>            Priority: Major
>              Labels: impala-iceberg
>         Attachments: impala-err-2.png
>
>
> {code:java}
> CREATE EXTERNAL TABLE t7(
>   level STRING
> )
> STORED AS ICEBERG
> TBLPROPERTIES('iceberg.catalog'='hadoop.tables'); {code}
> For the above DDL, the error message to include LOCATION shows in the result summary. See attachment
> We should raise an exception instead and let user know upfront
>  



--
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