[ https://issues.apache.org/jira/browse/HIVE-21681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16831790#comment-16831790 ]
Hive QA commented on HIVE-21681: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12967655/HIVE-21681.0.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 15935 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[create_with_constraints2] (batchId=6) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[create_with_constraints] (batchId=75) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/17097/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/17097/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-17097/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 2 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12967655 - PreCommit-HIVE-Build > Describe formatted shows incorrect information for multiple primary keys > ------------------------------------------------------------------------ > > Key: HIVE-21681 > URL: https://issues.apache.org/jira/browse/HIVE-21681 > Project: Hive > Issue Type: Bug > Reporter: Adam Szita > Assignee: Adam Szita > Priority: Minor > Attachments: HIVE-21681.0.patch > > > In tables with primary key spanning across multiple columns 'describe > formatted' shows a maximum of two column names only: In the ASCII art table > of 3 columns it will show: > {{Column name|p1|p2}} > Example queries: > {code:java} > CREATE TABLE test ( > p1 string, > p2 string, > p3 string, > c0 int, > PRIMARY KEY(p1,p2,p3) DISABLE NOVALIDATE > ); > describe formatted test;{code} > I propose we fix this so that primary key columns get listed one-by-one in > separate rows, somewhat like how foreign keys are listed too. -- This message was sent by Atlassian JIRA (v7.6.3#76005)