cxzl25 commented on PR #1684:
URL: https://github.com/apache/auron/pull/1684#issuecomment-3607089173
> it possible to add a test case for this
I tried to add it, but since Spark's UT will specify the time zone
`America/Los_Angeles` in the JVM, the implementation in orc-rust cannot pass
the time zone. In the PR of orc-rust, I added an `ORC_READER_TIMEZONE`
environment variable to specify the time zone.
org.apache.spark.SparkFunSuite
```scala
// Timezone is fixed to America/Los_Angeles for those timezone sensitive
tests (timestamp_*)
TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles"))
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]