From commits-return-13552-archive-asf-public=cust-asf.ponee.io@hudi.apache.org Tue Mar 17 19:10:02 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id C531618057A for ; Tue, 17 Mar 2020 20:10:01 +0100 (CET) Received: (qmail 82076 invoked by uid 500); 17 Mar 2020 19:10:01 -0000 Mailing-List: contact commits-help@hudi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hudi.apache.org Delivered-To: mailing list commits@hudi.apache.org Received: (qmail 82067 invoked by uid 99); 17 Mar 2020 19:10:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2020 19:10:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8D3FFE0901 for ; Tue, 17 Mar 2020 19:10:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 07B6478013C for ; Tue, 17 Mar 2020 19:10:00 +0000 (UTC) Date: Tue, 17 Mar 2020 19:10:00 +0000 (UTC) From: "Prashant Wason (Jira)" To: commits@hudi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HUDI-717) Fix HudiHiveClient for Hive 2.x MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HUDI-717?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D170611= 29#comment-17061129 ]=20 Prashant Wason edited comment on HUDI-717 at 3/17/20, 7:09 PM: --------------------------------------------------------------- [Commit=C2=A0129e43364|[https://github.com/apache/incubator-hudi/commit/129= e43364]] 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): =C2=A0 [Commit=C2=A0129e43364 |[https://github.com/apache/incubator-hudi/commit/12= 9e43364]] 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_nam= e` for operations. > There are two ways to fix this: > 1. Precede all DDL statements by "USE ;" > 2. Set the name of the database in the SessionState create for the Driver= . > =C2=A0 -- This message was sent by Atlassian Jira (v8.3.4#803005)