-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-29864][SPARK-29920][SQL] Strict parsing of day-time strings to intervals #26473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+818
−439
Closed
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
800f6e5
Strict fromDayTimeString
MaxGekk 8cf38db
Add tests
MaxGekk 3a1a710
Update tests in IntervalUtilsSuite
MaxGekk 4e051d6
Fix ExpressionParserSuite
MaxGekk a1ef591
Add tests for invalid input into literals.sql
MaxGekk e88c8e0
Regen interval.sql.out
MaxGekk c87cf8c
Add the config spark.sql.legacy.fromDayTimeString.enabled
MaxGekk 3f66881
Restore previous version of fromDayTimeString
MaxGekk da9b801
Restore old tests in IntervalUtilsSuite
MaxGekk c8afd33
Enable legacy behavior for postgresql tests
MaxGekk 988d532
Regen interval.sql.out
MaxGekk ce28745
Set LEGACY_FROM_DAYTIME_STRING to true in ThriftServerQueryTestSuite
MaxGekk 58ba7b4
Address Wenchen's review comment about a test
MaxGekk 60fe0c1
Add comments for parseDayTimeLegacy
MaxGekk e95068e
Avoid unnecessary catching of exceptions
MaxGekk 880e7ed
Add comments for parseDayTime()
MaxGekk d00c95d
Merge remote-tracking branch 'remotes/origin/master' into strict-from…
MaxGekk a37bad4
Regen literals.sql.out
MaxGekk 8e733c1
Remove exact ops
MaxGekk 6b5b7ef
Update the SQL migration guide
MaxGekk a2ce9ae
Merge remote-tracking branch 'remotes/origin/master' into strict-from…
MaxGekk fc77452
Merge remote-tracking branch 'remotes/origin/master' into strict-from…
MaxGekk 6be5f4e
truncation -> truncated
MaxGekk d253094
Make the config internal
MaxGekk dfd0dce
Use the legacy method in the PostgreSQL dialect
MaxGekk d1145cd
Update the SQL migration guide
MaxGekk c94f1df
Reorganize tests in interval.sql
MaxGekk 833c7b0
Regen interval.sql.out
MaxGekk 5b26335
Check in the PostgreSQL dialect as well
MaxGekk f401bd2
Black list interval.sql in ThriftServerQueryTestSuite
MaxGekk ca46f44
Set settings explicitly in tests
MaxGekk eadaa92
Merge remote-tracking branch 'remotes/origin/master' into strict-from…
MaxGekk 8f10259
Regen interval.sql.out
MaxGekk d3d730a
Merge remote-tracking branch 'remotes/origin/master' into strict-from…
MaxGekk 32b4d2f
Regen interval.sql.out
MaxGekk e39ca52
Merge remote-tracking branch 'remotes/origin/master' into strict-from…
MaxGekk e012f8b
Remove explicit set
MaxGekk 73ef32f
Regen interval.sql.out
MaxGekk d27d434
Merge remote-tracking branch 'remotes/origin/master' into strict-from…
MaxGekk 9d8394e
Merge remote-tracking branch 'remotes/origin/master' into strict-from…
MaxGekk ef2cbe1
Remove usage of usePostgreSQLDialect
MaxGekk f9510e3
Regen interval.sql.out
MaxGekk c16f2a7
Replace 999999999 by 123456789 in seconds fractions in tests
MaxGekk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev
Previous commit
Replace 999999999 by 123456789 in seconds fractions in tests
- Loading branch information
commit c16f2a7e1919aaafc7b3de35ad6fba3dba2c2e13
There are no files selected for viewing
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we test
12:40:30.0123456789as well?