Return-Path: X-Original-To: apmail-trafodion-commits-archive@www.apache.org Delivered-To: apmail-trafodion-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 59563188F3 for ; Tue, 15 Sep 2015 15:39:38 +0000 (UTC) Received: (qmail 49670 invoked by uid 500); 15 Sep 2015 15:39:35 -0000 Delivered-To: apmail-trafodion-commits-archive@trafodion.apache.org Received: (qmail 49640 invoked by uid 500); 15 Sep 2015 15:39:35 -0000 Mailing-List: contact commits-help@trafodion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: commits@trafodion.apache.org Delivered-To: mailing list commits@trafodion.apache.org Received: (qmail 49631 invoked by uid 99); 15 Sep 2015 15:39:35 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2015 15:39:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id F0CD4F2A00 for ; Tue, 15 Sep 2015 15:39:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.791 X-Spam-Level: * X-Spam-Status: No, score=1.791 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Ao8qodKY9FBH for ; Tue, 15 Sep 2015 15:39:28 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 97680203A0 for ; Tue, 15 Sep 2015 15:39:27 +0000 (UTC) Received: (qmail 49537 invoked by uid 99); 15 Sep 2015 15:39:26 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2015 15:39:26 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 9CD8FDFFBF; Tue, 15 Sep 2015 15:39:26 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sureshs@apache.org To: commits@trafodion.incubator.apache.org Date: Tue, 15 Sep 2015 15:39:26 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/2] incubator-trafodion git commit: Fix for JIRA TRAFODION-1491 - HIVE TEST009 fails Repository: incubator-trafodion Updated Branches: refs/heads/master eeb018998 -> 96f50daa1 Fix for JIRA TRAFODION-1491 - HIVE TEST009 fails The file TEST009_b.hive.sql was not checked into the GIT repository. It is needed to successfully run TEST009. Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/d857ff5c Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/d857ff5c Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/d857ff5c Branch: refs/heads/master Commit: d857ff5c6ad6b4dd51ac4ee7953514f158dc7705 Parents: 324ab95 Author: Roberta Marton Authored: Mon Sep 14 16:18:55 2015 +0000 Committer: Roberta Marton Committed: Mon Sep 14 16:18:55 2015 +0000 ---------------------------------------------------------------------- core/sql/regress/hive/TEST009_b.hive.sql | 48 +++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/d857ff5c/core/sql/regress/hive/TEST009_b.hive.sql ---------------------------------------------------------------------- diff --git a/core/sql/regress/hive/TEST009_b.hive.sql b/core/sql/regress/hive/TEST009_b.hive.sql new file mode 100644 index 0000000..a27994f --- /dev/null +++ b/core/sql/regress/hive/TEST009_b.hive.sql @@ -0,0 +1,48 @@ +-- @@@ START COPYRIGHT @@@ +-- Licensed under the Apache License, Version 2.0 (the "License"); +-- you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- +-- @@@ END COPYRIGHT @@@ + +-- ============================================================================ +-- All tables are created as EXTERNAL in a location already setup by +-- install_local_hadoop. The EXTERNAL keyword lets you create a table and +-- provide a LOCATION so that Hive does not use the default location +-- specified by the configuration property hive.metastore.warehouse.dir. +-- ============================================================================ + +-- Our version of HIVE does not support special characters. This test should +-- be changed to use delimited names once we upgrade HIVE. + +create schema if not exists sch_t009; +use sch_t009; +drop table t009t1; +create external table t009t1 +( + a int, + b int, + c int, + d int +) +row format delimited fields terminated by '|' +location '/user/hive/exttables/t009t1'; + +-- Our version of HIVE does not support insert ... VALUES clause, so use the +-- load command from an existing table. +insert into table t009t1 +select c_customer_sk, c_birth_day, c_birth_month, c_birth_year +from default.customer +limit 10; + +select * from t009t1; + +