HIVE-12786 : CBO may fail for recoverable errors. (Ashutosh Chauhan via Jesus Camacho Rodriguez). Golden file updates.
Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/4e0139cf Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/4e0139cf Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/4e0139cf Branch: refs/heads/branch-2.0 Commit: 4e0139cf1e92cd07a6ab2f48b8185492b50f7736 Parents: b36ec22 Author: Ashutosh Chauhan <[email protected]> Authored: Fri Jan 8 09:15:44 2016 -0800 Committer: Ashutosh Chauhan <[email protected]> Committed: Fri Jan 8 09:18:23 2016 -0800 ---------------------------------------------------------------------- ql/src/test/results/clientnegative/insert_into_with_schema.q.out | 2 +- ql/src/test/results/clientnegative/insert_into_with_schema1.q.out | 2 +- ql/src/test/results/clientnegative/insert_into_with_schema2.q.out | 2 +- .../clientnegative/ptf_negative_InvalidValueBoundary.q.out | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/4e0139cf/ql/src/test/results/clientnegative/insert_into_with_schema.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientnegative/insert_into_with_schema.q.out b/ql/src/test/results/clientnegative/insert_into_with_schema.q.out index 0e1b6c0..d27803b 100644 --- a/ql/src/test/results/clientnegative/insert_into_with_schema.q.out +++ b/ql/src/test/results/clientnegative/insert_into_with_schema.q.out @@ -24,4 +24,4 @@ POSTHOOK: query: create table source(s1 int, s2 int) POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:x314n POSTHOOK: Output: x314n@source -FAILED: SemanticException 0:0 Expected 1 columns for insclause-0/x314n@source; select produces 2 columns. Error encountered near token 'values__tmp__table__1.tmp_values_col2' +FAILED: SemanticException 0:0 Expected 1 columns for insclause-0/x314n@source; select produces 2 columns. Error encountered near token 'TOK_ALLCOLREF' http://git-wip-us.apache.org/repos/asf/hive/blob/4e0139cf/ql/src/test/results/clientnegative/insert_into_with_schema1.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientnegative/insert_into_with_schema1.q.out b/ql/src/test/results/clientnegative/insert_into_with_schema1.q.out index 217eb03..11e583d 100644 --- a/ql/src/test/results/clientnegative/insert_into_with_schema1.q.out +++ b/ql/src/test/results/clientnegative/insert_into_with_schema1.q.out @@ -24,4 +24,4 @@ POSTHOOK: query: create table source(s1 int, s2 int) POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:x314n POSTHOOK: Output: x314n@source -FAILED: SemanticException 0:0 Expected 2 columns for insclause-0/x314n@source; select produces 1 columns. Error encountered near token 'values__tmp__table__1.tmp_values_col1' +FAILED: SemanticException 0:0 Expected 2 columns for insclause-0/x314n@source; select produces 1 columns. Error encountered near token 'TOK_ALLCOLREF' http://git-wip-us.apache.org/repos/asf/hive/blob/4e0139cf/ql/src/test/results/clientnegative/insert_into_with_schema2.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientnegative/insert_into_with_schema2.q.out b/ql/src/test/results/clientnegative/insert_into_with_schema2.q.out index 3b53948..1a8260e 100644 --- a/ql/src/test/results/clientnegative/insert_into_with_schema2.q.out +++ b/ql/src/test/results/clientnegative/insert_into_with_schema2.q.out @@ -32,4 +32,4 @@ POSTHOOK: query: create table target1(x int, y int, z int) POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:x314n POSTHOOK: Output: x314n@target1 -FAILED: SemanticException 0:0 Expected 3 columns for insclause-0/x314n@target1; select produces 2 columns. Error encountered near token 'source.s2' +FAILED: SemanticException 0:0 Expected 3 columns for insclause-0/x314n@target1; select produces 2 columns. Error encountered near token 'TOK_ALLCOLREF' http://git-wip-us.apache.org/repos/asf/hive/blob/4e0139cf/ql/src/test/results/clientnegative/ptf_negative_InvalidValueBoundary.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientnegative/ptf_negative_InvalidValueBoundary.q.out b/ql/src/test/results/clientnegative/ptf_negative_InvalidValueBoundary.q.out index e80d828..36beba5 100644 --- a/ql/src/test/results/clientnegative/ptf_negative_InvalidValueBoundary.q.out +++ b/ql/src/test/results/clientnegative/ptf_negative_InvalidValueBoundary.q.out @@ -1 +1,2 @@ -FAILED: SemanticException [Error 10004]: Line 8:43 Invalid table alias or column reference 'p_complex': (possible column names are: p_partkey, p_name, p_mfgr, p_brand, p_type, p_size, p_container, p_retailprice, p_comment) +FAILED: SemanticException Failed to breakup Windowing invocations into Groups. At least 1 group must only depend on input columns. Also check for circular dependencies. +Underlying error: org.apache.hadoop.hive.ql.parse.SemanticException: Line 8:43 Invalid table alias or column reference 'p_complex': (possible column names are: p_partkey, p_name, p_mfgr, p_brand, p_type, p_size, p_container, p_retailprice, p_comment)
