Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 415C41897A for ; Wed, 25 Nov 2015 19:43:11 +0000 (UTC) Received: (qmail 41034 invoked by uid 500); 25 Nov 2015 19:43:11 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 40989 invoked by uid 500); 25 Nov 2015 19:43:11 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 40938 invoked by uid 99); 25 Nov 2015 19:43:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2015 19:43:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1DBBB2C1F62 for ; Wed, 25 Nov 2015 19:43:11 +0000 (UTC) Date: Wed, 25 Nov 2015 19:43:11 +0000 (UTC) From: "Prasanth Jayachandran (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-12498) ACID: Setting OrcRecordUpdater.OrcOptions.tableProperties() has no effect MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-12498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasanth Jayachandran updated HIVE-12498: ----------------------------------------- Attachment: HIVE-12498-branch-1.patch branch-1 patch is little bit more involved as master underwent refactorings that made it easy to pass table properties to writer options. > ACID: Setting OrcRecordUpdater.OrcOptions.tableProperties() has no effect > ------------------------------------------------------------------------- > > Key: HIVE-12498 > URL: https://issues.apache.org/jira/browse/HIVE-12498 > Project: Hive > Issue Type: Bug > Affects Versions: 1.3.0, 2.0.0 > Reporter: Prasanth Jayachandran > Assignee: Prasanth Jayachandran > Labels: ACID, ORC > Attachments: HIVE-12498-branch-1.patch, HIVE-12498.1.patch, HIVE-12498.2.patch > > > OrcRecordUpdater does not honor the OrcRecordUpdater.OrcOptions.tableProperties() setting. > It would need to translate the specified tableProperties (as listed in OrcTableProperties enum) to the properties that OrcWriter internally understands (listed in HiveConf.ConfVars). > This is needed for multiple clients.. like Streaming API and Compactor. > {code:java} > Properties orcTblProps = .. // get Orc Table Properties from MetaStore; > AcidOutputFormat.Options updaterOptions = new OrcRecordUpdater.OrcOptions(conf) > .inspector(..) > .bucket(..) > .minimumTransactionId(..) > .maximumTransactionId(..) > .tableProperties(orcTblProps); // <<== > OrcOutputFormat orcOutput = new ... > orcOutput.getRecordUpdater(partitionPath, updaterOptions ); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)