hudi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prashant Wason (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HUDI-717) Fix HudiHiveClient for Hive 2.x
Date Tue, 17 Mar 2020 19:09:00 GMT

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

Prashant Wason commented on HUDI-717:
-------------------------------------

 

[Commit 129e43364 |[https://github.com/apache/incubator-hudi/commit/129e43364]] used the
first way to fix this only for ALTER PARTITION statement. This is a comprehensive fix which
fixes for all statements.

> Fix HudiHiveClient for Hive 2.x
> -------------------------------
>
>                 Key: HUDI-717
>                 URL: https://issues.apache.org/jira/browse/HUDI-717
>             Project: Apache Hudi (incubating)
>          Issue Type: Bug
>            Reporter: Prashant Wason
>            Priority: Minor
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> When using the HiveDriver mode in HudiHiveClient, Hive 2.x DDL operations like ALTER
may fail. This is because Hive 2.x doesn't like `db`.`table_name` for operations.
> There are two ways to fix this:
> 1. Precede all DDL statements by "USE <database>;"
> 2. Set the name of the database in the SessionState create for the Driver.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message