-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add time zone config to set non-UTC [databricks] (#9652)
* Add time zone config to set non-UTC Signed-off-by: Chong Gao <[email protected]> * Remove the skip logic when time zone is not UTC * Add default value * Remove useless is_tz_utc * Fix bug * Fix bug: remove skip code for non-UTC time zone * Use TZ insteand of TEST_TZ to set time zone * Remove the TZ overwrite logic from date_gen.py --------- Signed-off-by: Chong Gao <[email protected]> Co-authored-by: Chong Gao <[email protected]>
- Loading branch information
Showing
4 changed files
with
26 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This probably needs to export. fastparquet tests fail if run on a machine that is not in the UTC timezone but we're telling the JVM to use UTC, for example. Alternatively, don't force a JVM timezone if it's not specified (the user won't, for example).