[
https://issues.apache.org/jira/browse/HUDI-717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17061129#comment-17061129
]
Prashant Wason edited comment on HUDI-717 at 3/17/20, 7:09 PM:
---------------------------------------------------------------
[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.
was (Author: pwason):
[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)