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

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

Commit c0507c02cd0d81c4133820b96d45002048257c00 in impala's branch 
refs/heads/master from wzhou-code
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=c0507c02c ]

IMPALA-12896 (Part 2): JDBC table must be created as external table

In some of the deployment environments, default table type is
transactional. In these scenarios, JDBC tables which are created as non
external table are not accepted by HMS due to strict managed table check
failures.

This patch forces JDBC tables to be created as external table, and
requires at least 1 column for JDBC tables.

Testing:
 - Updated frontend unit tests and end-to-end unit tests to create JDBC
   tables as external tables.
 - Passed core tests

Change-Id: Ib5533b52434cdf1c430e30ac28a0146ab4d9d4b9
Reviewed-on: http://gerrit.cloudera.org:8080/21159
Reviewed-by: Joe McDonnell <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Avoid JDBC table to be set as transactional table
> -------------------------------------------------
>
>                 Key: IMPALA-12896
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12896
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Frontend
>            Reporter: Wenzhe Zhou
>            Assignee: Wenzhe Zhou
>            Priority: Major
>             Fix For: Impala 4.4.0
>
>
> Found following issues in downstream integration.
> 1) JDBC tables created in some deployment environment were set as 
> transactional tables by default. This caused catalogd failed to load the 
> metadata for JDBC tables. We have to explicitly set table properties with 
> "transactional=false" for JDBC tables.
> 2) FileSystemUtil.copyFileFromUriToLocal() function wrote log message only 
> for IOException. We should write log message for all types of exceptions so 
> that we can captures errors which caused failures to load JDBC drivers. 
> 3) The operations on JDBC table are processed only on coordinator. The
> processed rows should be estimated as 0 for DataSourceScanNode by planner so 
> that  coordinator-only query plans are generated for simple queries on JDBC 
> tables and queries could be executed without invoking executor nodes. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to