-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow custom timestamp with Spark timezone property (#621)
* feat: allow custom timestamp with spark timezone * docs: updated README * fix: ability to run without setting spark.sql.session.timeZone * feat: break parseXmlTimestamp method into built-in formats and custom format processing * fix: removed unused code * fix: timestampFormat with offset should not use spark.sql.session.timezone * fix: ISO_INSTANT * feat: added isParseableAsZonedDateTime * refactor: isParseableAsZonedDateTime and Spark timeZone * fix: removed sys.exit * feat: use Instant.from() instead of converting a ZonedDateTime to an Instant * fix: parameters with timezone * fix: apply Spark timeZone only if no temporal information * fix: hasTemporalInformation * fix: spark config * docs: commented for java 8 and 11
- Loading branch information
1 parent
72957d5
commit d376877
Showing
7 changed files
with
158 additions
and
13 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 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