[jira] [Commented] (HIVE-14032) INSERT OVERWRITE command failed with case sensitive partition key names
[ https://issues.apache.org/jira/browse/HIVE-14032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16408403#comment-16408403 ] Ashutosh Chauhan commented on HIVE-14032: - +1 > INSERT OVERWRITE command failed with case sensitive partition key names > --- > > Key: HIVE-14032 > URL: https://issues.apache.org/jira/browse/HIVE-14032 > Project: Hive > Issue Type: Bug > Components: Metastore >Affects Versions: 2.0.1 >Reporter: Chinna Rao Lalam >Assignee: Chinna Rao Lalam >Priority: Major > Attachments: HIVE-14032.patch > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14032) INSERT OVERWRITE command failed with case sensitive partition key names
[ https://issues.apache.org/jira/browse/HIVE-14032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16408371#comment-16408371 ] Hive QA commented on HIVE-14032: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12815419/HIVE-14032.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 37 failed/errored test(s), 13006 tests executed *Failed tests:* {noformat} TestMinimrCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=92) [infer_bucket_sort_num_buckets.q,infer_bucket_sort_reducers_power_two.q,parallel_orderby.q,bucket_num_reducers_acid.q,infer_bucket_sort_map_operators.q,infer_bucket_sort_merge.q,root_dir_external_table.q,infer_bucket_sort_dyn_part.q,udf_using.q,bucket_num_reducers_acid2.q] TestNegativeCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=94)
[jira] [Commented] (HIVE-14032) INSERT OVERWRITE command failed with case sensitive partition key names
[ https://issues.apache.org/jira/browse/HIVE-14032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16408301#comment-16408301 ] Hive QA commented on HIVE-14032: | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 0m 0s{color} | {color:blue} Findbugs executables are not available. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 7m 20s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 59s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 40s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 51s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 1m 17s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 58s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 58s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 41s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 56s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:red}-1{color} | {color:red} asflicense {color} | {color:red} 0m 14s{color} | {color:red} The patch generated 49 ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 14m 11s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Optional Tests | asflicense javac javadoc findbugs checkstyle compile | | uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux | | Build tool | maven | | Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-9734/dev-support/hive-personality.sh | | git revision | master / e6daf43 | | Default Java | 1.8.0_111 | | asflicense | http://104.198.109.242/logs//PreCommit-HIVE-Build-9734/yetus/patch-asflicense-problems.txt | | modules | C: ql U: ql | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-9734/yetus.txt | | Powered by | Apache Yetushttp://yetus.apache.org | This message was automatically generated. > INSERT OVERWRITE command failed with case sensitive partition key names > --- > > Key: HIVE-14032 > URL: https://issues.apache.org/jira/browse/HIVE-14032 > Project: Hive > Issue Type: Bug > Components: Metastore >Affects Versions: 2.0.1 >Reporter: Chinna Rao Lalam >Assignee: Chinna Rao Lalam >Priority: Major > Attachments: HIVE-14032.patch > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14032) INSERT OVERWRITE command failed with case sensitive partition key names
[ https://issues.apache.org/jira/browse/HIVE-14032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16407489#comment-16407489 ] Ruslan Dautkhanov commented on HIVE-14032: -- Would be great to have this fixed.. this bug also affects pre-Hive 2 versions [https://stackoverflow.com/a/49396163/470583] > INSERT OVERWRITE command failed with case sensitive partition key names > --- > > Key: HIVE-14032 > URL: https://issues.apache.org/jira/browse/HIVE-14032 > Project: Hive > Issue Type: Bug > Components: Metastore >Affects Versions: 2.0.1 >Reporter: Chinna Rao Lalam >Assignee: Chinna Rao Lalam >Priority: Major > Attachments: HIVE-14032.patch > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14032) INSERT OVERWRITE command failed with case sensitive partition key names
[ https://issues.apache.org/jira/browse/HIVE-14032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15468082#comment-15468082 ] Chinna Rao Lalam commented on HIVE-14032: - Hi [~ashutoshc], Sorry for the late reply.. When we execute above queries this is the exception. It was failed in validation because of case sensitive partition name(PARTITIONID). {code} hive> INSERT OVERWRITE TABLE sample2 PARTITION (PARTITIONID = 'one') if not exists select a,b from sample1; FAILED: ValidationFailureSemanticException Partition spec {PARTITIONID=one} contains non-partition columns {code} This is the log.. {code} 2016-09-07T04:54:45,903 ERROR [56697602-dac6-4f1f-b49f-fd86a602883a main]: ql.Driver (SessionState.java:printError(1053)) - FAILED: ValidationFailureSemanticException Partition spec {PARTITIONID=one} contains non-partition columns org.apache.hadoop.hive.ql.metadata.Table$ValidationFailureSemanticException: Partition spec {PARTITIONID=one} contains non-partition columns at org.apache.hadoop.hive.ql.metadata.Table.validatePartColumnNames(Table.java:382) at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.validatePartSpec(BaseSemanticAnalyzer.java:1498) at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.doPhase1(SemanticAnalyzer.java:1662) at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.doPhase1(SemanticAnalyzer.java:1686) at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genResolvedParseTree(SemanticAnalyzer.java:10748) at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeInternal(SemanticAnalyzer.java:10807) at org.apache.hadoop.hive.ql.parse.CalcitePlanner.analyzeInternal(CalcitePlanner.java:246) at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:250) {code} Same queries without *IF NOT EXISTS* clause it is successful. {code} INSERT OVERWRITE TABLE sample2 PARTITION (PARTITIONID = 'one') select a,b from sample1; {code} > INSERT OVERWRITE command failed with case sensitive partition key names > --- > > Key: HIVE-14032 > URL: https://issues.apache.org/jira/browse/HIVE-14032 > Project: Hive > Issue Type: Bug > Components: Metastore >Affects Versions: 2.0.1 >Reporter: Chinna Rao Lalam >Assignee: Chinna Rao Lalam > Attachments: HIVE-14032.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-14032) INSERT OVERWRITE command failed with case sensitive partition key names
[ https://issues.apache.org/jira/browse/HIVE-14032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15460027#comment-15460027 ] Ashutosh Chauhan commented on HIVE-14032: - Not sure whats the issue here. Your testcase is not clear. > INSERT OVERWRITE command failed with case sensitive partition key names > --- > > Key: HIVE-14032 > URL: https://issues.apache.org/jira/browse/HIVE-14032 > Project: Hive > Issue Type: Bug > Components: Metastore >Affects Versions: 2.0.1 >Reporter: Chinna Rao Lalam >Assignee: Chinna Rao Lalam > Attachments: HIVE-14032.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-14032) INSERT OVERWRITE command failed with case sensitive partition key names
[ https://issues.apache.org/jira/browse/HIVE-14032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15398780#comment-15398780 ] Chinna Rao Lalam commented on HIVE-14032: - Test failures are not related this patch. > INSERT OVERWRITE command failed with case sensitive partition key names > --- > > Key: HIVE-14032 > URL: https://issues.apache.org/jira/browse/HIVE-14032 > Project: Hive > Issue Type: Bug > Components: Metastore >Affects Versions: 2.0.1 >Reporter: Chinna Rao Lalam >Assignee: Chinna Rao Lalam > Attachments: HIVE-14032.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-14032) INSERT OVERWRITE command failed with case sensitive partition key names
[ https://issues.apache.org/jira/browse/HIVE-14032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15358259#comment-15358259 ] Hive QA commented on HIVE-14032: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12815419/HIVE-14032.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 10287 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_list_bucket_dml_12 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_list_bucket_dml_13 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_stats_list_bucket org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_subquery_multiinsert org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver_vector_complex_all org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver_vector_complex_join org.apache.hadoop.hive.llap.tezplugins.TestLlapTaskSchedulerService.testDelayedLocalityNodeCommErrorImmediateAllocation {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/331/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/331/console Test logs: http://ec2-50-18-27-0.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-MASTER-Build-331/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase 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: 7 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12815419 - PreCommit-HIVE-MASTER-Build > INSERT OVERWRITE command failed with case sensitive partition key names > --- > > Key: HIVE-14032 > URL: https://issues.apache.org/jira/browse/HIVE-14032 > Project: Hive > Issue Type: Bug > Components: Metastore >Affects Versions: 2.0.1 >Reporter: Chinna Rao Lalam >Assignee: Chinna Rao Lalam > Attachments: HIVE-14032.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-14032) INSERT OVERWRITE command failed with case sensitive partition key names
[ https://issues.apache.org/jira/browse/HIVE-14032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15356840#comment-15356840 ] Chinna Rao Lalam commented on HIVE-14032: - INSERT OVERWRITE TABLE with IF NOT EXISTS for a partition is failed {code} drop table sample1; create table sample1(a STRING, b int) partitioned by (PARTITIONID string) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' STORED AS TEXTFILE; LOAD DATA LOCAL INPATH '/data/file1.txt' INTO TABLE sample1 partition (PARTITIONID = "one"); drop table sample2; create table sample2(a STRING, b int) partitioned by (PARTITIONID string) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' STORED AS TEXTFILE; LOAD DATA LOCAL INPATH '/data/file2.txt' INTO TABLE sample2 partition (PARTITIONID = "one"); INSERT OVERWRITE TABLE sample2 PARTITION (PARTITIONID = 'one') if not exists select a,b from sample1; {code} > INSERT OVERWRITE command failed with case sensitive partition key names > --- > > Key: HIVE-14032 > URL: https://issues.apache.org/jira/browse/HIVE-14032 > Project: Hive > Issue Type: Bug > Components: Metastore >Affects Versions: 2.0.1 >Reporter: Chinna Rao Lalam >Assignee: Chinna Rao Lalam > -- This message was sent by Atlassian JIRA (v6.3.4#6332)