-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-31183][SQL][FOLLOWUP] Move rebase tests to AvroSuite and check the rebase flag out of function bodies
#27964
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
Conversation
|
@HyukjinKwon @cloud-fan Please, review the PR. |
|
Test build #120085 has finished for PR 27964 at commit
|
|
Merged to master and branch-3.0. |
…ck the rebase flag out of function bodies 1. The tests added by #27953 are moved from `AvroLogicalTypeSuite` to `AvroSuite`. 2. Checking of the `rebaseDateTime` flag is moved out from functions bodies. 1. The tests are moved because they are not directly related to logical types. 2. Checking the flag out of functions bodies should improve performance. No By running Avro tests via the command `build/sbt avro/test` Closes #27964 from MaxGekk/rebase-avro-datetime-followup. Authored-by: Maxim Gekk <[email protected]> Signed-off-by: HyukjinKwon <[email protected]>
|
Hi, All. |
|
The answers are different. It seems that we need more date-time related patches at Given the above, I'll try to recover |
|
Thanks @dongjoon-hyun. |
|
The problem is commits of this PR in master and in branch-3.0 are different: branch-3.0: The |
|
Here is the backport of this PR with bug fix: #27977 |
|
Ah, sorry, seems it was my mistake. Thanks @MaxGekk |
…d check the rebase flag out of function bodies ### What changes were proposed in this pull request? 1. The tests added by #27953 are moved from `AvroLogicalTypeSuite` to `AvroSuite`. 2. Checking of the `rebaseDateTime` flag is moved out from functions bodies. This is a backport of #27964 ### Why are the changes needed? 1. The tests are moved because they are not directly related to logical types. 2. Checking the flag out of functions bodies should improve performance. ### Does this PR introduce any user-facing change? No ### How was this patch tested? By running Avro tests via the command `build/sbt avro/test` Closes #27977 from MaxGekk/rebase-avro-datetime-followup-3.0. Authored-by: Maxim Gekk <[email protected]> Signed-off-by: HyukjinKwon <[email protected]>
…ck the rebase flag out of function bodies ### What changes were proposed in this pull request? 1. The tests added by apache#27953 are moved from `AvroLogicalTypeSuite` to `AvroSuite`. 2. Checking of the `rebaseDateTime` flag is moved out from functions bodies. ### Why are the changes needed? 1. The tests are moved because they are not directly related to logical types. 2. Checking the flag out of functions bodies should improve performance. ### Does this PR introduce any user-facing change? No ### How was this patch tested? By running Avro tests via the command `build/sbt avro/test` Closes apache#27964 from MaxGekk/rebase-avro-datetime-followup. Authored-by: Maxim Gekk <[email protected]> Signed-off-by: HyukjinKwon <[email protected]>
What changes were proposed in this pull request?
AvroLogicalTypeSuitetoAvroSuite.rebaseDateTimeflag is moved out from functions bodies.Why are the changes needed?
Does this PR introduce any user-facing change?
No
How was this patch tested?
By running Avro tests via the command
build/sbt avro/test