Skip to content

Commit 36ac054

Browse files
author
Bogdan Raducanu
committed
renamed outer_* to *_outer in ExpressionToSQLSuite
1 parent 26a1a67 commit 36ac054

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sql/hive/src/test/scala/org/apache/spark/sql/catalyst/ExpressionToSQLSuite.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ class ExpressionToSQLSuite extends SQLBuilderTest with SQLTestUtils {
9393
checkSqlGeneration("SELECT array(1,2,3)")
9494
checkSqlGeneration("SELECT coalesce(null, 1, 2)")
9595
checkSqlGeneration("SELECT explode(array(1,2,3))")
96+
checkSqlGeneration("SELECT explode_outer(array())")
9697
checkSqlGeneration("SELECT greatest(1,null,3)")
9798
checkSqlGeneration("SELECT if(1==2, 'yes', 'no')")
9899
checkSqlGeneration("SELECT isnan(15), isnan('invalid')")
@@ -102,9 +103,8 @@ class ExpressionToSQLSuite extends SQLBuilderTest with SQLTestUtils {
102103
checkSqlGeneration("SELECT map(1, 'a', 2, 'b')")
103104
checkSqlGeneration("SELECT named_struct('c1',1,'c2',2,'c3',3)")
104105
checkSqlGeneration("SELECT nanvl(a, 5), nanvl(b, 10), nanvl(d, c) from t2")
105-
checkSqlGeneration("SELECT outer_explode(array())")
106-
checkSqlGeneration("SELECT outer_posexplode(array())")
107-
checkSqlGeneration("SELECT outer_inline(array(struct('a', 1)))")
106+
checkSqlGeneration("SELECT posexplode_outer(array())")
107+
checkSqlGeneration("SELECT inline_outer(array(struct('a', 1)))")
108108
checkSqlGeneration("SELECT rand(1)")
109109
checkSqlGeneration("SELECT randn(3)")
110110
checkSqlGeneration("SELECT struct(1,2,3)")

0 commit comments

Comments
 (0)