Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EF31A10C35 for ; Thu, 13 Feb 2014 16:25:27 +0000 (UTC) Received: (qmail 70689 invoked by uid 500); 13 Feb 2014 16:25:23 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 70605 invoked by uid 500); 13 Feb 2014 16:25:21 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 70573 invoked by uid 500); 13 Feb 2014 16:25:20 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 70566 invoked by uid 99); 13 Feb 2014 16:25:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Feb 2014 16:25:20 +0000 Date: Thu, 13 Feb 2014 16:25:20 +0000 (UTC) From: "Hive QA (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-6406) Introduce immutable-table table property and if set, disallow insert-into 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-6406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900472#comment-13900472 ] Hive QA commented on HIVE-6406: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12628572/HIVE-6406.2.patch {color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 5091 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_authorization_revoke_table_priv org.apache.hadoop.hive.cli.TestNegativeMinimrCliDriver.testNegativeCliDriver_mapreduce_stack_trace_hadoop20 org.apache.hadoop.hive.common.type.TestDecimal128.testHighPrecisionDecimal128Multiply {noformat} Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1309/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1309/console Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 3 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12628572 > Introduce immutable-table table property and if set, disallow insert-into > ------------------------------------------------------------------------- > > Key: HIVE-6406 > URL: https://issues.apache.org/jira/browse/HIVE-6406 > Project: Hive > Issue Type: Sub-task > Components: HCatalog, Metastore, Query Processor, Thrift API > Reporter: Sushanth Sowmyan > Assignee: Sushanth Sowmyan > Attachments: HIVE-6406.2.patch, HIVE-6406.patch > > > As part of HIVE-6405's attempt to make HCatalog and Hive behave in similar ways with regards to immutable tables, this is a companion task to introduce the notion of an immutable table, wherein all tables are not immutable by default, and have this be a table property. If this property is set for a table, and we attempt to write to a table that already has data (or a partition), disallow "INSERT INTO" into it from hive(if destination directory is non-empty). This property being set will allow hive to mimic HCatalog's current immutable-table property. -- This message was sent by Atlassian JIRA (v6.1.5#6160)