Skip to content

Commit 2d47906

Browse files
committed
Enable the PostgreSQL dialect for PostgreSQL tests
1 parent 3cd837f commit 2d47906

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ class SQLQueryTestSuite extends QueryTest with SharedSparkSession {
315315
// TODO: remove this after SPARK-29122 is resolved.
316316
localSparkSession.sparkContext.setLocalProperty(
317317
SQLConf.FAIL_ON_INTEGRAL_TYPE_OVERFLOW.key, "true")
318+
localSparkSession.conf.set(SQLConf.DIALECT.key, SQLConf.Dialect.POSTGRESQL.toString)
318319
case _ =>
319320
}
320321

0 commit comments

Comments
 (0)