You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by jv...@apache.org on 2011/05/17 03:29:17 UTC

svn commit: r1103980 [2/2] - in /hive/trunk: common/src/java/org/apache/hadoop/hive/conf/ ql/src/java/org/apache/hadoop/hive/ql/parse/ ql/src/test/queries/clientnegative/ ql/src/test/results/clientnegative/ ql/src/test/results/compiler/errors/

Modified: hive/trunk/ql/src/test/results/clientnegative/udtf_not_supported2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/udtf_not_supported2.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/udtf_not_supported2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/udtf_not_supported2.q.out Tue May 17 01:29:14 2011
@@ -1 +1 @@
-FAILED: Error in semantic analysis: UDTF's require an AS clause
+FAILED: Error in semantic analysis: 1:7 UDTF's require an AS clause. Error encountered near token '3'

Modified: hive/trunk/ql/src/test/results/clientnegative/union.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/union.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/union.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/union.q.out Tue May 17 01:29:14 2011
@@ -1 +1 @@
-FAILED: Error in semantic analysis: Top level UNION is not supported currently; use a subquery for the UNION
+FAILED: Error in semantic analysis: 2:45 Top level UNION is not supported currently; use a subquery for the UNION. Error encountered near token 'value'

Modified: hive/trunk/ql/src/test/results/clientnegative/union2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/union2.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/union2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/union2.q.out Tue May 17 01:29:14 2011
@@ -8,4 +8,4 @@ PREHOOK: type: CREATETABLE
 POSTHOOK: query: create table if not exists union2_t2(s string, c string, v string)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: default@union2_t2
-FAILED: Error in semantic analysis: Schema of both sides of union should match: Column v is of type string on first table and type double on second table
+FAILED: Error in semantic analysis: 8:47 Schema of both sides of union should match: Column v is of type string on first table and type double on second table. Error encountered near token 'union2_t2'

Added: hive/trunk/ql/src/test/results/clientnegative/union3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/union3.q.out?rev=1103980&view=auto
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/union3.q.out (added)
+++ hive/trunk/ql/src/test/results/clientnegative/union3.q.out Tue May 17 01:29:14 2011
@@ -0,0 +1,10 @@
+PREHOOK: query: -- Ensure that UNION ALL columns are in the correct order on both sides
+-- Ensure that the appropriate error message is propagated
+CREATE TABLE IF NOT EXISTS union3  (bar int, baz int)
+PREHOOK: type: CREATETABLE
+POSTHOOK: query: -- Ensure that UNION ALL columns are in the correct order on both sides
+-- Ensure that the appropriate error message is propagated
+CREATE TABLE IF NOT EXISTS union3  (bar int, baz int)
+POSTHOOK: type: CREATETABLE
+POSTHOOK: Output: default@union3
+FAILED: Error in semantic analysis: 2:85 Schema of both sides of union should match: field bar: appears on the left side of the UNION at column position: 0, and on the right side of the UNION at column position: 1. Column positions should match for a UNION. Error encountered near token 'union3'

Modified: hive/trunk/ql/src/test/results/compiler/errors/ambiguous_table_col.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/ambiguous_table_col.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/ambiguous_table_col.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/ambiguous_table_col.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:50 Ambiguous table alias or column reference key
\ No newline at end of file
+Line 2:50 Ambiguous table alias or column reference 'key'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/duplicate_alias.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/duplicate_alias.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/duplicate_alias.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/duplicate_alias.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 1:20 Ambiguous table alias a
\ No newline at end of file
+Line 1:20 Ambiguous table alias 'a'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/insert_wrong_number_columns.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/insert_wrong_number_columns.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/insert_wrong_number_columns.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/insert_wrong_number_columns.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:23 Cannot insert into target table because column number/types are different dest1: Table insclause-0 has 2 columns, but query has 3 columns.
\ No newline at end of file
+Line 2:23 Cannot insert into target table because column number/types are different 'dest1': Table insclause-0 has 2 columns, but query has 3 columns.
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/invalid_dot.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/invalid_dot.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/invalid_dot.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/invalid_dot.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:36 . Operator is only supported on struct or list of struct types member
\ No newline at end of file
+Line 2:36 . Operator is only supported on struct or list of struct types 'member'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/invalid_function_param2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/invalid_function_param2.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/invalid_function_param2.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/invalid_function_param2.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:36 Wrong arguments 'abc': No matching method for class org.apache.hadoop.hive.ql.udf.UDFSubstr with (string, string). Possible choices: _FUNC_(string, int, int)  _FUNC_(string, int)  
\ No newline at end of file
+Line 2:36 Wrong arguments ''abc'': No matching method for class org.apache.hadoop.hive.ql.udf.UDFSubstr with (string, string). Possible choices: _FUNC_(string, int, int)  _FUNC_(string, int)  
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/invalid_index.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/invalid_index.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/invalid_index.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/invalid_index.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:36 [] not valid on non-collection types 0: string
\ No newline at end of file
+Line 2:36 [] not valid on non-collection types '0': string
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/invalid_list_index.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/invalid_list_index.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/invalid_list_index.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/invalid_list_index.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:56 Non-constant expressions for array indexes not supported 'abc'
\ No newline at end of file
+2:74 Non-constant expressions for array indexes not supported. Error encountered near token ''abc''
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/invalid_list_index2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/invalid_list_index2.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/invalid_list_index2.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/invalid_list_index2.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:56 Non-constant expressions for array indexes not supported 2
\ No newline at end of file
+2:74 Non-constant expressions for array indexes not supported. Error encountered near token '2'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/invalid_map_index.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/invalid_map_index.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/invalid_map_index.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/invalid_map_index.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:56 MAP key type does not match index expression type 0
\ No newline at end of file
+Line 2:56 MAP key type does not match index expression type '0'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/invalid_map_index2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/invalid_map_index2.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/invalid_map_index2.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/invalid_map_index2.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:56 Non-constant expression for map indexes not supported 'abc'
\ No newline at end of file
+2:80 Non-constant expression for map indexes not supported. Error encountered near token ''abc''
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/nonkey_groupby.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/nonkey_groupby.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/nonkey_groupby.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/nonkey_groupby.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:44 Expression not in GROUP BY key src
\ No newline at end of file
+Line 2:44 Expression not in GROUP BY key 'value'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/unknown_column1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/unknown_column1.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/unknown_column1.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/unknown_column1.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:48 Invalid column reference dummycol
\ No newline at end of file
+Line 2:48 Invalid column reference 'dummycol'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/unknown_column2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/unknown_column2.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/unknown_column2.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/unknown_column2.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:64 Invalid column reference dummykey
\ No newline at end of file
+Line 2:64 Invalid column reference 'dummykey'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/unknown_column3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/unknown_column3.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/unknown_column3.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/unknown_column3.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:87 Invalid column reference dummycol
\ No newline at end of file
+Line 2:87 Invalid column reference 'dummycol'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/unknown_column4.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/unknown_column4.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/unknown_column4.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/unknown_column4.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:83 Invalid table alias or column reference dummysrc
\ No newline at end of file
+Line 2:83 Invalid table alias or column reference 'dummysrc'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/unknown_column5.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/unknown_column5.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/unknown_column5.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/unknown_column5.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:60 Invalid table alias or column reference dummysrc
\ No newline at end of file
+Line 2:60 Invalid table alias or column reference 'dummysrc'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/unknown_column6.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/unknown_column6.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/unknown_column6.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/unknown_column6.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:44 Expression not in GROUP BY key dummysrc
\ No newline at end of file
+Line 2:44 Expression not in GROUP BY key 'value'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/unknown_function1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/unknown_function1.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/unknown_function1.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/unknown_function1.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:44 Invalid function dummyfn
\ No newline at end of file
+Line 2:44 Invalid function 'dummyfn'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/unknown_function2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/unknown_function2.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/unknown_function2.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/unknown_function2.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:60 Invalid function anotherdummyfn
\ No newline at end of file
+Line 2:60 Invalid function 'anotherdummyfn'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/unknown_function3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/unknown_function3.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/unknown_function3.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/unknown_function3.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:60 Invalid function anotherdummyfn
\ No newline at end of file
+Line 2:60 Invalid function 'anotherdummyfn'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/unknown_function4.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/unknown_function4.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/unknown_function4.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/unknown_function4.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:44 Invalid function dummyfn
\ No newline at end of file
+Line 2:44 Invalid function 'dummyfn'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/unknown_table1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/unknown_table1.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/unknown_table1.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/unknown_table1.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 1:5 Table not found dummySrc
\ No newline at end of file
+Line 1:5 Table not found 'dummySrc'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/unknown_table2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/unknown_table2.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/unknown_table2.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/unknown_table2.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:23 Table not found dummyDest
\ No newline at end of file
+Line 2:23 Table not found 'dummyDest'
\ No newline at end of file

Modified: hive/trunk/ql/src/test/results/compiler/errors/wrong_distinct1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/errors/wrong_distinct1.q.out?rev=1103980&r1=1103979&r2=1103980&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/errors/wrong_distinct1.q.out (original)
+++ hive/trunk/ql/src/test/results/compiler/errors/wrong_distinct1.q.out Tue May 17 01:29:14 2011
@@ -1,2 +1,2 @@
 Semantic Exception: 
-Line 2:85 SELECT DISTINCT and GROUP BY can not be in the same query key
\ No newline at end of file
+2:88 SELECT DISTINCT and GROUP BY can not be in the same query. Error encountered near token 'key'
\ No newline at end of file