hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-21133) Support views with rewriting enabled useful for debugging
Date Mon, 01 Jul 2019 23:25:00 GMT

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

Hive QA commented on HIVE-21133:
--------------------------------



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

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

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

Messages:
{noformat}
**** This message was trimmed, see log for full details ****
+ tee /data/hiveptest/logs/PreCommit-HIVE-Build-17809/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-07-01 23:24:09.769
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 2d9e0e4 HIVE-19831: Hiveserver2 should skip doAuth checks for CREATE DATABASE/TABLE
if database/table already exists (Rajkumar Singh, reviewed by Daniel Dai)
+ 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 2d9e0e4 HIVE-19831: Hiveserver2 should skip doAuth checks for CREATE DATABASE/TABLE
if database/table already exists (Rajkumar Singh, reviewed by Daniel Dai)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2019-07-01 23:24:10.908
+ rm -rf ../yetus_PreCommit-HIVE-Build-17809
+ mkdir ../yetus_PreCommit-HIVE-Build-17809
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-17809
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-17809/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/common/src/java/org/apache/hadoop/hive/conf/Constants.java: does not exist in index
error: a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java: does not exist in index
error: a/itests/src/test/resources/testconfiguration.properties: does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/Context.java: does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java: does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveMaterializedViewsRegistry.java:
does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/RelOptHiveTable.java: does
not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java: does not exist
in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java: does not exist in
index
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java: does not exist
in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g: does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g: does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/IdentifiersParser.g: does not exist in
index
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java: does not exist
in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/plan/CreateViewDesc.java: does not exist in
index
error: a/ql/src/java/org/apache/hadoop/hive/ql/plan/ImportTableDesc.java: does not exist in
index
error: a/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java: does not exist in
index
error: a/ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java: does not exist in index
error: a/ql/src/test/results/clientpositive/llap/subquery_scalar.q.out: does not exist in
index
error: a/ql/src/test/results/clientpositive/perf/tez/cbo_query14.q.out: does not exist in
index
error: a/ql/src/test/results/clientpositive/perf/tez/cbo_query23.q.out: does not exist in
index
error: a/ql/src/test/results/clientpositive/perf/tez/cbo_query24.q.out: does not exist in
index
error: a/ql/src/test/results/clientpositive/perf/tez/cbo_query28.q.out: does not exist in
index
error: a/ql/src/test/results/clientpositive/perf/tez/cbo_query54.q.out: does not exist in
index
error: a/ql/src/test/results/clientpositive/perf/tez/cbo_query58.q.out: does not exist in
index
error: a/ql/src/test/results/clientpositive/perf/tez/cbo_query6.q.out: does not exist in index
error: a/ql/src/test/results/clientpositive/perf/tez/cbo_query61.q.out: does not exist in
index
error: a/ql/src/test/results/clientpositive/perf/tez/cbo_query77.q.out: does not exist in
index
error: a/ql/src/test/results/clientpositive/perf/tez/cbo_query88.q.out: does not exist in
index
error: a/ql/src/test/results/clientpositive/perf/tez/cbo_query9.q.out: does not exist in index
error: a/ql/src/test/results/clientpositive/perf/tez/cbo_query90.q.out: does not exist in
index
error: a/ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query14.q.out: does not
exist in index
error: a/ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query23.q.out: does not
exist in index
error: a/ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query24.q.out: does not
exist in index
error: a/ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query28.q.out: does not
exist in index
error: a/ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query54.q.out: does not
exist in index
error: a/ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query58.q.out: does not
exist in index
error: a/ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query6.q.out: does not
exist in index
error: a/ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query61.q.out: does not
exist in index
error: a/ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query77.q.out: does not
exist in index
error: a/ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query88.q.out: does not
exist in index
error: a/ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query9.q.out: does not
exist in index
error: a/ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query90.q.out: does not
exist in index
error: a/ql/src/test/results/clientpositive/spark/subquery_scalar.q.out: does not exist in
index
error: patch failed: common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:1687
Falling back to three-way merge...
Applied patch to 'common/src/java/org/apache/hadoop/hive/conf/HiveConf.java' cleanly.
error: ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java: does not exist in index
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/RelOptHiveTable.java:49
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/RelOptHiveTable.java'
with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java:40
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java' with
conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g:381
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:2108
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java' cleanly.
error: ql/src/java/org/apache/hadoop/hive/ql/plan/CreateViewDesc.java: does not exist in index
error: patch failed: ql/src/test/results/clientpositive/llap/subquery_scalar.q.out:7183
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/llap/subquery_scalar.q.out' with conflicts.
error: patch failed: ql/src/test/results/clientpositive/perf/tez/cbo_query14.q.out:1
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/perf/tez/cbo_query14.q.out' with conflicts.
error: patch failed: ql/src/test/results/clientpositive/perf/tez/cbo_query23.q.out:1
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/perf/tez/cbo_query23.q.out' with conflicts.
error: patch failed: ql/src/test/results/clientpositive/perf/tez/cbo_query24.q.out:1
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/perf/tez/cbo_query24.q.out' with conflicts.
error: patch failed: ql/src/test/results/clientpositive/perf/tez/cbo_query28.q.out:1
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/perf/tez/cbo_query28.q.out' with conflicts.
error: patch failed: ql/src/test/results/clientpositive/perf/tez/cbo_query54.q.out:1
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/perf/tez/cbo_query54.q.out' with conflicts.
error: patch failed: ql/src/test/results/clientpositive/perf/tez/cbo_query6.q.out:1
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/perf/tez/cbo_query6.q.out' with conflicts.
error: patch failed: ql/src/test/results/clientpositive/perf/tez/cbo_query61.q.out:1
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/perf/tez/cbo_query61.q.out' with conflicts.
error: patch failed: ql/src/test/results/clientpositive/perf/tez/cbo_query90.q.out:1
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/perf/tez/cbo_query90.q.out' with conflicts.
error: patch failed: ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query14.q.out:1
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query14.q.out'
with conflicts.
error: patch failed: ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query23.q.out:1
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query23.q.out'
with conflicts.
error: patch failed: ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query24.q.out:1
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query24.q.out'
with conflicts.
error: patch failed: ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query28.q.out:1
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query28.q.out'
with conflicts.
error: patch failed: ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query54.q.out:1
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query54.q.out'
with conflicts.
error: patch failed: ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query6.q.out:1
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query6.q.out'
with conflicts.
error: patch failed: ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query61.q.out:1
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query61.q.out'
with conflicts.
error: patch failed: ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query90.q.out:1
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query90.q.out'
with conflicts.
error: patch failed: ql/src/test/results/clientpositive/spark/subquery_scalar.q.out:7080
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/spark/subquery_scalar.q.out' with conflicts.
error: src/java/org/apache/hadoop/hive/conf/Constants.java: does not exist in index
error: src/java/org/apache/hadoop/hive/conf/HiveConf.java: does not exist in index
error: src/test/resources/testconfiguration.properties: does not exist in index
error: src/java/org/apache/hadoop/hive/ql/Context.java: does not exist in index
error: src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java: does not exist in index
error: src/java/org/apache/hadoop/hive/ql/metadata/HiveMaterializedViewsRegistry.java: does
not exist in index
error: src/java/org/apache/hadoop/hive/ql/optimizer/calcite/RelOptHiveTable.java: does not
exist in index
error: src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java: does not exist
in index
error: src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java: does not exist in index
error: src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java: does not exist in
index
error: src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g: does not exist in index
error: src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g: does not exist in index
error: src/java/org/apache/hadoop/hive/ql/parse/IdentifiersParser.g: does not exist in index
error: src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java: does not exist in index
error: src/java/org/apache/hadoop/hive/ql/plan/CreateViewDesc.java: does not exist in index
error: src/java/org/apache/hadoop/hive/ql/plan/ImportTableDesc.java: does not exist in index
error: src/java/org/apache/hadoop/hive/ql/session/SessionState.java: does not exist in index
error: src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java: does not exist in index
error: src/test/results/clientpositive/llap/subquery_scalar.q.out: does not exist in index
error: src/test/results/clientpositive/perf/tez/cbo_query14.q.out: does not exist in index
error: src/test/results/clientpositive/perf/tez/cbo_query23.q.out: does not exist in index
error: src/test/results/clientpositive/perf/tez/cbo_query24.q.out: does not exist in index
error: src/test/results/clientpositive/perf/tez/cbo_query28.q.out: does not exist in index
error: src/test/results/clientpositive/perf/tez/cbo_query54.q.out: does not exist in index
error: src/test/results/clientpositive/perf/tez/cbo_query58.q.out: does not exist in index
error: src/test/results/clientpositive/perf/tez/cbo_query6.q.out: does not exist in index
error: src/test/results/clientpositive/perf/tez/cbo_query61.q.out: does not exist in index
error: src/test/results/clientpositive/perf/tez/cbo_query77.q.out: does not exist in index
error: src/test/results/clientpositive/perf/tez/cbo_query88.q.out: does not exist in index
error: src/test/results/clientpositive/perf/tez/cbo_query9.q.out: does not exist in index
error: src/test/results/clientpositive/perf/tez/cbo_query90.q.out: does not exist in index
error: src/test/results/clientpositive/perf/tez/constraints/cbo_query14.q.out: does not exist
in index
error: src/test/results/clientpositive/perf/tez/constraints/cbo_query23.q.out: does not exist
in index
error: src/test/results/clientpositive/perf/tez/constraints/cbo_query24.q.out: does not exist
in index
error: src/test/results/clientpositive/perf/tez/constraints/cbo_query28.q.out: does not exist
in index
error: src/test/results/clientpositive/perf/tez/constraints/cbo_query54.q.out: does not exist
in index
error: src/test/results/clientpositive/perf/tez/constraints/cbo_query58.q.out: does not exist
in index
error: src/test/results/clientpositive/perf/tez/constraints/cbo_query6.q.out: does not exist
in index
error: src/test/results/clientpositive/perf/tez/constraints/cbo_query61.q.out: does not exist
in index
error: src/test/results/clientpositive/perf/tez/constraints/cbo_query77.q.out: does not exist
in index
error: src/test/results/clientpositive/perf/tez/constraints/cbo_query88.q.out: does not exist
in index
error: src/test/results/clientpositive/perf/tez/constraints/cbo_query9.q.out: does not exist
in index
error: src/test/results/clientpositive/perf/tez/constraints/cbo_query90.q.out: does not exist
in index
error: src/test/results/clientpositive/spark/subquery_scalar.q.out: 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-17809
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12955863 - PreCommit-HIVE-Build

> Support views with rewriting enabled useful for debugging
> ---------------------------------------------------------
>
>                 Key: HIVE-21133
>                 URL: https://issues.apache.org/jira/browse/HIVE-21133
>             Project: Hive
>          Issue Type: Improvement
>          Components: Materialized views
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Major
>         Attachments: HIVE-21133.01.patch, HIVE-21133.02.patch, HIVE-21133.02.patch, HIVE-21133.patch
>
>
> Implement virtual views with rewriting enabled, useful to check whether a certain rewriting
will be triggered. These view definitions will be stored in the user session, and they will
only be used when simulation mode is enabled and user runs {{explain cbo}} / {{explain cbo
extended}}.
> {code}
> set hive.simulation.enable=true;
> create view mv1_n2 enable rewrite as
> select * from emps_n3 where empid < 150;
> explain cbo
> select *
> from (select * from emps_n3 where empid < 120) t
> join depts_n2 using (deptno);
> drop view mv1_n2;
> {code}



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

Mime
View raw message