[
https://issues.apache.org/jira/browse/HIVE-15231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15675950#comment-15675950
]
Hive QA commented on HIVE-15231:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12839471/HIVE-15231.2.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), 10662 tests
executed
*Failed tests:*
{noformat}
TestMiniSparkOnYarnCliDriver - did not produce a TEST-*.xml file (likely timed
out) (batchId=156)
[infer_bucket_sort_reducers_power_two.q,list_bucket_dml_10.q,orc_merge9.q,orc_merge6.q,leftsemijoin_mr.q,bucket6.q,bucketmapjoin7.q,uber_reduce.q,empty_dir_in_table.q,vector_outer_join3.q,index_bitmap_auto.q,vector_outer_join2.q,vector_outer_join1.q,orc_merge1.q,orc_merge_diff_fs.q,load_hdfs_file_with_space_in_the_name.q,scriptfile1_win.q,quotedid_smb.q,truncate_column_buckets.q,orc_merge3.q]
TestSparkCliDriver - did not produce a TEST-*.xml file (likely timed out)
(batchId=112)
[escape_distributeby1.q,join9.q,groupby2.q,groupby4_map.q,udf_max.q,vectorization_pushdown.q,cbo_gby_empty.q,join_cond_pushdown_unqual3.q,vectorization_short_regress.q,join8.q,stats5.q,sample10.q,cross_product_check_1.q,auto_join_stats.q,input_part2.q]
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[transform_ppr2]
(batchId=133)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[join_acid_non_acid]
(batchId=150)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[union_fast_stats]
(batchId=145)
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainanalyze_3]
(batchId=90)
org.apache.hive.spark.client.TestSparkClient.testJobSubmission (batchId=272)
{noformat}
Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/2181/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/2181/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-2181/
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: 12839471 - PreCommit-HIVE-Build
> query on view with CTE and alias fails with table not found error
> -----------------------------------------------------------------
>
> Key: HIVE-15231
> URL: https://issues.apache.org/jira/browse/HIVE-15231
> Project: Hive
> Issue Type: Bug
> Components: Query Planning
> Affects Versions: 1.3.0
> Reporter: Aihua Xu
> Assignee: Aihua Xu
> Attachments: HIVE-15231.1.patch, HIVE-15231.2.patch
>
>
> HIVE-10698 fixed one issue of the query on view with CTE, but it seems to
> break another case if a alias is given for the CTE.
> {noformat}
> use bugtest;
> create table basetb(id int, name string);
> create view testv1 as
> with subtb as (select id, name from bugtest.basetb)
> select id from subtb a;
> use castest;
> explain select * from bugtest.testv1;
> hive> explain select * from bugtest.testv1;
> FAILED: SemanticException Line 2:21 Table not found 'subtb' in definition of
> VIEW testv1 [
> with subtb as (select `basetb`.`id`, `basetb`.`name` from `bugtest`.`basetb`)
> select `a`.`id` from `bugtest`.`subtb` `a`
> ] used as testv1 at Line 1:14
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)