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 86BCA17FD9 for ; Tue, 28 Oct 2014 23:54:35 +0000 (UTC) Received: (qmail 57758 invoked by uid 500); 28 Oct 2014 23:54:35 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 57692 invoked by uid 500); 28 Oct 2014 23:54:34 -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 57678 invoked by uid 500); 28 Oct 2014 23:54:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 57675 invoked by uid 99); 28 Oct 2014 23:54:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2014 23:54:34 +0000 Date: Tue, 28 Oct 2014 23:54:34 +0000 (UTC) From: "Jason Dere (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-8550) Hive cannot load data into partitioned table with Unicode key 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/HIVE-8550?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14187= 736#comment-14187736 ]=20 Jason Dere commented on HIVE-8550: ---------------------------------- - So you change the type of PART_NAME in package.jdo to be of type NVARCHAR= . A potential issue here is, package.jdo is used for the schema and object-= relational mapping for all databases, but it looks like the point of this i= ssue is to change the column for SQLServer. What is the effect on the other= DBMSs when this field is set to NVARCHAR, but the column in the table is s= till set as VARCHAR? Is there a way to specify that it only should be NVARC= HAR in the case of SQLServer? - Can you also update metastore/scripts/upgrade/mssql/hive-schema-0.15.0.ms= sql.sql with the same changes? - metastore/scripts/upgrade/mssql/004-HIVE-8550.mssql.sql: What is the line= with "GO"? Sorry I don't really know sql server. - metastore/src/model/package.jdo: Is the nesting of the first ele= ment in the diff correct? > Hive cannot load data into partitioned table with Unicode key > ------------------------------------------------------------- > > Key: HIVE-8550 > URL: https://issues.apache.org/jira/browse/HIVE-8550 > Project: Hive > Issue Type: Bug > Affects Versions: 0.14.0 > Environment: Windows > Reporter: Xiaobing Zhou > Assignee: Xiaobing Zhou > Priority: Critical > Attachments: CreatePartitionedTable.hql, HIVE-8550.1.patch, HIVE-= 8550.2.patch, LoadIntoPartitionedTable.hql, partitioned.txt > > > Steps to reproduce: > 1) Copy the file partitioned.txt to the root folder of your HDFS root dir= . Copy the two hql files to your local directory. > 2) Open Hive CLI. > 3) Run: > hive> source ; > 4) Run=20 > hive> source ; > The following error will be shown: > hive> source C:\Scripts\partition\LoadIntoPartitionedTable.hql; > Loading data to table default.mypartitioned partition (tag=3D=C3=A4=C2=B6= =C2=B5) > Failed with exception null > FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exe= c.MoveTask -- This message was sent by Atlassian JIRA (v6.3.4#6332)