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
Update SQLQuerySuite.scala
  • Loading branch information
AngersZhuuuu committed Jan 19, 2022
commit e6253a2863a13dfaea1550d0a635216fb16d28fd
Original file line number Diff line number Diff line change
Expand Up @@ -4258,8 +4258,8 @@ class SQLQuerySuite extends QueryTest with SharedSparkSession with AdaptiveSpark
Array("max(t)", "max(t", "=", "\n", ";", "a b", "{", ".", "a.b", "a")))
checkAnswer(df.select("`max(t)`", "`a b`", "`{`", "`.`", "`a.b`"),
Row(1, 6, 7, 8, 9) :: Row(2, 12, 14, 16, 18) :: Nil)
checkAnswer(df.where("`a.b` > 8"),
Row(2, 4, 6, 8, 10, 12) :: Nil)
checkAnswer(df.where("`a.b` > 10"),
Row(2, 4, 6, 8, 10, 12, 14, 16, 18, 20) :: Nil)
}
}
}
Expand Down