Skip to content

Commit

Permalink
Update ExpressionParserSuite.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-fan committed Oct 27, 2021
1 parent 0c0b477 commit 9e6188c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,9 @@ class ExpressionParserSuite extends AnalysisTest {
assertEqual("current_date", UnresolvedAttribute.quoted("current_date"))
assertEqual("current_timestamp", UnresolvedAttribute.quoted("current_timestamp"))
}
withSQLConf(SQLConf.ANSI_ENABLED.key -> "false") {
withSQLConf(
SQLConf.ANSI_ENABLED.key -> "false",
SQLConf.ENFORCE_RESERVED_KEYWORDS.key -> "true") {
testNonAnsiBehavior()
}
withSQLConf(
Expand Down

0 comments on commit 9e6188c

Please sign in to comment.