Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
renamed outer_* to *_outer in ExpressionToSQLSuite
  • Loading branch information
Bogdan Raducanu committed Jan 17, 2017
commit 36ac05414bdf79782e3e74b0e92fdff4687ffb66
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class ExpressionToSQLSuite extends SQLBuilderTest with SQLTestUtils {
checkSqlGeneration("SELECT array(1,2,3)")
checkSqlGeneration("SELECT coalesce(null, 1, 2)")
checkSqlGeneration("SELECT explode(array(1,2,3))")
checkSqlGeneration("SELECT explode_outer(array())")
checkSqlGeneration("SELECT greatest(1,null,3)")
checkSqlGeneration("SELECT if(1==2, 'yes', 'no')")
checkSqlGeneration("SELECT isnan(15), isnan('invalid')")
Expand All @@ -102,9 +103,8 @@ class ExpressionToSQLSuite extends SQLBuilderTest with SQLTestUtils {
checkSqlGeneration("SELECT map(1, 'a', 2, 'b')")
checkSqlGeneration("SELECT named_struct('c1',1,'c2',2,'c3',3)")
checkSqlGeneration("SELECT nanvl(a, 5), nanvl(b, 10), nanvl(d, c) from t2")
checkSqlGeneration("SELECT outer_explode(array())")
checkSqlGeneration("SELECT outer_posexplode(array())")
checkSqlGeneration("SELECT outer_inline(array(struct('a', 1)))")
checkSqlGeneration("SELECT posexplode_outer(array())")
checkSqlGeneration("SELECT inline_outer(array(struct('a', 1)))")
checkSqlGeneration("SELECT rand(1)")
checkSqlGeneration("SELECT randn(3)")
checkSqlGeneration("SELECT struct(1,2,3)")
Expand Down