We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84acd08 commit 01dab3aCopy full SHA for 01dab3a
sql/core/src/test/scala/org/apache/spark/sql/QueryTest.scala
@@ -17,12 +17,19 @@
17
18
package org.apache.spark.sql
19
20
+import java.util.{Locale, TimeZone}
21
+
22
import org.apache.spark.sql.catalyst.plans._
23
import org.apache.spark.sql.catalyst.util._
24
import org.apache.spark.sql.columnar.InMemoryRelation
25
26
class QueryTest extends PlanTest {
27
28
+ // Timezone is fixed to America/Los_Angeles for those timezone sensitive tests (timestamp_*)
29
+ TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles"))
30
+ // Add Locale setting
31
+ Locale.setDefault(Locale.US)
32
33
/**
34
* Runs the plan and makes sure the answer contains all of the keywords, or the
35
* none of keywords are listed in the answer
0 commit comments