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.
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
Support TimeAdd for non-UTC time zone #10068
Support TimeAdd for non-UTC time zone #10068
Changes from 12 commits
212a0b1
4f52067
c7dc304
89c9305
4c9485f
64a0232
f4e85d7
7f4237c
2de0e6e
3d5f2b9
4574ef1
2014495
c6102f3
66f3dd6
0801287
26152f5
cf10350
a4334d9
be5f813
06c6c47
ec7c4b0
511f8ee
a3ab495
0fb8ecb
a9deb35
1f3410f
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
How to ensure the random df will 100% overflow?
Maybe specify some constant variables to ensure overflow.
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.
By not making it actually random.
DayTimeIntervalGen
Has both amin_value
and amax_value
. You could set it up so all of the values generated would overflow. You might need to also remove the special cases and disable nulls to be 100% sure of it.spark-rapids/integration_tests/src/main/python/data_gen.py
Line 743 in 384b2a9
You could also use SetValuesGen with only values in it that would overflow.
spark-rapids/integration_tests/src/main/python/data_gen.py
Line 358 in 384b2a9
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.
Updated to SetValuesGen.
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.
Q: Why name changed? It seems different over different Spark version. We can comment both in
GpuTimeAdd/GpuTimeMath
.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.
GpuTimeMath
was an abstract class being implemented byGpuTimeAdd
andGpuDateAddInterval
. I removed it because the reusability of the two classes is actually poor.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.
If this is an add why do we show it as
left - right
?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.
done.
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.
Be careful, seemsres
leaked.