Skip to content

Commit

Permalink
Disable ANSI intervals in PostgreSQL test
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxGekk committed Apr 16, 2021
1 parent 0cdc08e commit f4cd653
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ class ThriftServerQueryTestSuite extends SQLQueryTestSuite with SharedThriftServ
}

testCase match {
case _: PgSQLTest | _: AnsiTest =>
case _: PgSQLTest =>
statement.execute(s"SET ${SQLConf.ANSI_ENABLED.key} = true")
statement.execute(s"SET ${SQLConf.LEGACY_INTERVAL_ENABLED.key} = true")
case _: AnsiTest =>
statement.execute(s"SET ${SQLConf.ANSI_ENABLED.key} = true")
case _ =>
statement.execute(s"SET ${SQLConf.ANSI_ENABLED.key} = false")
Expand Down

0 comments on commit f4cd653

Please sign in to comment.