[ 
https://issues.apache.org/jira/browse/HIVE-20758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16749887#comment-16749887
 ] 

Hive QA commented on HIVE-20758:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12955945/Screen%20Shot%202019-01-23%20at%2011.52.04.png

{color:red}ERROR:{color} -1 due to build exiting with an error

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/15754/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/15754/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-15754/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Tests exited with: NonZeroExitCodeException
Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit 
status 1 and output '+ date '+%Y-%m-%d %T.%3N'
2019-01-23 12:15:37.812
+ [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]]
+ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ export 
PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ 
PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m '
+ ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m '
+ export 'MAVEN_OPTS=-Xmx1g '
+ MAVEN_OPTS='-Xmx1g '
+ cd /data/hiveptest/working/
+ tee /data/hiveptest/logs/PreCommit-HIVE-Build-15754/source-prep.txt
+ [[ false == \t\r\u\e ]]
+ mkdir -p maven ivy
+ [[ git = \s\v\n ]]
+ [[ git = \g\i\t ]]
+ [[ -z master ]]
+ [[ -d apache-github-source-source ]]
+ [[ ! -d apache-github-source-source/.git ]]
+ [[ ! -d apache-github-source-source ]]
+ date '+%Y-%m-%d %T.%3N'
2019-01-23 12:15:37.814
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 2ffca04 HIVE-21078: Replicate column and table level statistics 
for unpartitioned Hive tables (Ashutosh Bapat, reviewed by Sankar Hariappan)
+ git clean -f -d
+ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at 2ffca04 HIVE-21078: Replicate column and table level statistics 
for unpartitioned Hive tables (Ashutosh Bapat, reviewed by Sankar Hariappan)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2019-01-23 12:15:38.374
+ rm -rf ../yetus_PreCommit-HIVE-Build-15754
+ mkdir ../yetus_PreCommit-HIVE-Build-15754
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-15754
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-15754/yetus
+ patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh
+ patchFilePath=/data/hiveptest/working/scratch/build.patch
+ [[ -f /data/hiveptest/working/scratch/build.patch ]]
+ chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh
+ /data/hiveptest/working/scratch/smart-apply-patch.sh 
/data/hiveptest/working/scratch/build.patch
fatal: unrecognized input
fatal: unrecognized input
fatal: unrecognized input
The patch does not appear to apply with p0, p1, or p2
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-15754
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12955945 - PreCommit-HIVE-Build

> Constraints: Show create table does not show constraints
> --------------------------------------------------------
>
>                 Key: HIVE-20758
>                 URL: https://issues.apache.org/jira/browse/HIVE-20758
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Gopal V
>            Assignee: Barnabas Maidics
>            Priority: Major
>         Attachments: HIVE-20758.1.patch, Screen Shot 2019-01-23 at 
> 11.52.04.png
>
>
> Even though the desc formatted shows the constraints, the show create table 
> does not
> {code}
> | # Primary Key                                      | NULL                   
>                             | NULL                                            
>    |
> | Table:                                             | 
> tpcds_bin_partitioned_orc_10000.inventory          | NULL                     
>                           |
> | Constraint Name:                                   | pk_in                  
>                             | NULL                                            
>    |
> | Column Names:                                      | inv_date_sk            
>                             | inv_item_sk                                     
>    |
> |                                                    | NULL                   
>                             | NULL                                            
>    |
> | # Foreign Keys                                     | NULL                   
>                             | NULL                                            
>    |
> | Table:                                             | 
> tpcds_bin_partitioned_orc_10000.inventory          | NULL                     
>                           |
> | Constraint Name:                                   | inv_d                  
>                             | NULL                                            
>    |
> | Parent Column Name:tpcds_bin_partitioned_orc_10000.date_dim.d_date_sk | 
> Column Name:inv_date_sk                            | Key Sequence:1           
>                           |
> |                                                    | NULL                   
>                             | NULL                                            
>    |
> | Constraint Name:                                   | inv_i                  
>                             | NULL                                            
>    |
> | Parent Column Name:tpcds_bin_partitioned_orc_10000.item.i_item_sk | Column 
> Name:inv_item_sk                            | Key Sequence:1                  
>                    |
> |                                                    | NULL                   
>                             | NULL                                            
>    |
> | Constraint Name:                                   | inv_w                  
>                             | NULL                                            
>    |
> | Parent Column Name:tpcds_bin_partitioned_orc_10000.warehouse.w_warehouse_sk 
> | Column Name:inv_warehouse_sk                       | Key Sequence:1         
>                             |
> |                                                    | NULL                   
>                             | NULL                                            
>    |
> {code}
> But 
> {code}
> +----------------------------------------------------+
> |                   createtab_stmt                   |
> +----------------------------------------------------+
> | CREATE TABLE `inventory`(                          |
> |   `inv_item_sk` bigint,                            |
> |   `inv_warehouse_sk` bigint,                       |
> |   `inv_quantity_on_hand` int,                      |
> |   `inv_date_sk` bigint)                            |
> | ROW FORMAT SERDE                                   |
> |   'org.apache.hadoop.hive.ql.io.orc.OrcSerde'      |
> | STORED AS INPUTFORMAT                              |
> |   'org.apache.hadoop.hive.ql.io.orc.OrcInputFormat'  |
> | OUTPUTFORMAT                                       |
> |   'org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat' |
> | LOCATION                                           |
> |   
> 'hdfs:///warehouse/tablespace/managed/hive/tpcds_bin_partitioned_orc_10000.db/inventory'
>  |
> | TBLPROPERTIES (                                    |
> |   'bucketing_version'='2',                         |
> |   'transactional'='true',                          |
> |   'transactional_properties'='default',            |
> |   'transient_lastDdlTime'='1539710410')            |
> +----------------------------------------------------+
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to