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

Hive QA commented on HIVE-18983:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12919862/HIVE-18983.12.patch

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

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

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'
2018-12-14 05:57:11.687
+ [[ -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-15315/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'
2018-12-14 05:57:11.690
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at e8e0396 HIVE-21020: log which table/partition is being processed 
by a txn in Worker (Eugene Koifman, reviewed by Jason Dere, Igor Kryvenko)
+ git clean -f -d
Removing standalone-metastore/metastore-server/src/gen/
+ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at e8e0396 HIVE-21020: log which table/partition is being processed 
by a txn in Worker (Eugene Koifman, reviewed by Jason Dere, Igor Kryvenko)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-12-14 05:57:12.728
+ rm -rf ../yetus_PreCommit-HIVE-Build-15315
+ mkdir ../yetus_PreCommit-HIVE-Build-15315
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-15315
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-15315/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
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java: 
does not exist in index
error: 
a/ql/src/test/results/clientpositive/create_alter_list_bucketing_table1.q.out: 
does not exist in index
error: a/ql/src/test/results/clientpositive/create_like.q.out: does not exist 
in index
error: a/ql/src/test/results/clientpositive/create_like2.q.out: does not exist 
in index
error: a/ql/src/test/results/clientpositive/explain_ddl.q.out: does not exist 
in index
error: 
a/standalone-metastore/src/main/java/org/apache/hadoop/hive/common/StatsSetupConst.java:
 does not exist in index
error: patch failed: 
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:13084
Falling back to three-way merge...
Applied patch to 
'ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java' with 
conflicts.
error: 
standalone-metastore/src/main/java/org/apache/hadoop/hive/common/StatsSetupConst.java:
 does not exist in index
error: src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java: does not 
exist in index
error: 
src/test/results/clientpositive/create_alter_list_bucketing_table1.q.out: does 
not exist in index
error: src/test/results/clientpositive/create_like.q.out: does not exist in 
index
error: src/test/results/clientpositive/create_like2.q.out: does not exist in 
index
error: src/test/results/clientpositive/explain_ddl.q.out: does not exist in 
index
error: src/main/java/org/apache/hadoop/hive/common/StatsSetupConst.java: does 
not exist in index
The patch does not appear to apply with p0, p1, or p2
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-15315
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12919862 - PreCommit-HIVE-Build

> Add support for table properties inheritance in Create table like
> -----------------------------------------------------------------
>
>                 Key: HIVE-18983
>                 URL: https://issues.apache.org/jira/browse/HIVE-18983
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Igor Kryvenko
>            Assignee: Igor Kryvenko
>            Priority: Major
>             Fix For: 3.2.0
>
>         Attachments: HIVE-18983.01.patch, HIVE-18983.02.patch, 
> HIVE-18983.03.patch, HIVE-18983.04.patch, HIVE-18983.05.patch, 
> HIVE-18983.06.patch, HIVE-18983.07.patch, HIVE-18983.08.patch, 
> HIVE-18983.09.patch, HIVE-18983.10.patch, HIVE-18983.11.patch, 
> HIVE-18983.12.patch
>
>
> Currently, Create table like support table properties.
> But it doesn't inherit table properties from original table.
> {code}
> create table T1(a int, b int) clustered by (a) into 2 buckets stored as orc 
> TBLPROPERTIES ('comment'='comm');
> create table T like T1;
> show create table T;
>  {code}
> *Output:*
> {code}
> CREATE TABLE `T`(
>   `a` int, 
>   `b` int)
> CLUSTERED BY ( 
>   a) 
> INTO 2 BUCKETS
> 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
>   'maprfs:/user/hive/warehouse/t'
> TBLPROPERTIES (
>   'COLUMN_STATS_ACCURATE'='{\"BASIC_STATS\":\"true\"}', 
>   'numFiles'='0', 
>   'numRows'='0', 
>   'rawDataSize'='0', 
>   'totalSize'='0', 
>   'transient_lastDdlTime'='1521230300')
> {code}
> It uses just default table properties and doesn't inherit properties from 
> original table.
> It would be great if create table like will inherit origin table properties 
> and will override them if they are specified in query .



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

Reply via email to