-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-27182][SQL] Move the conflict source code of the sql/core module to sql/core/v1.2.1 #24119
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
|
Test build #103582 has finished for PR 24119 at commit
|
|
What are the differences between the copies of these files? is the idea that there is no difference here but your other PR will change the 2.3.4 copy? |
|
Yes. I will change it in other PR. Make other PR easy to review. |
|
cc @liancheng I am wondering if we can reduce the code duplicate? |
|
Yes. This time revert |
|
Test build #103659 has finished for PR 24119 at commit
|
|
retest this please |
|
Test build #103664 has finished for PR 24119 at commit
|
|
Test build #103709 has finished for PR 24119 at commit
|
|
retest this please |
|
Test build #103719 has finished for PR 24119 at commit
|
srowen
left a comment
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 just a code move/copy to set up another PR, and there's no behavior change, and there is no more duplication reduce, looks good to me.
|
So do we need #24166 before this one? |
|
Yes. Thanks @HyukjinKwon |
# Conflicts: # sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/orc/OrcDeserializer.scala # sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/orc/OrcSerializer.scala
|
Thank you @srowen |
|
Test build #103935 has finished for PR 24119 at commit
|
|
retest this please |
|
Test build #103951 has finished for PR 24119 at commit
|
|
retest this please |
|
Test build #103960 has finished for PR 24119 at commit
|
srowen
left a comment
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.
So this is again basically moving code and making some copies of some code, so that those copies can be modified in a next PR? if so seems OK.
|
@liancheng Yes. It's a subset of #23788. |
HyukjinKwon
left a comment
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.
Looks fine to me too
| * builder methods mentioned above can only be found in test code, where all tested filters are | ||
| * known to be convertible. | ||
| */ | ||
| private[sql] object OrcFilters extends OrcFiltersBase { |
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.
All the functions in this object are different between v2.3.4 and v1.2?
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.
Talk with @wangyum offline. All these functions need a change in v2.3.4.
|
I am merging this to master. @wangyum Please submit your follow-up PR for making the actual changes. Thanks! |
What changes were proposed in this pull request?
To make #23788 easy to review. This PR moves
OrcColumnVector.java,OrcShimUtils.scala,OrcFilters.scalaandOrcFilterSuite.scalatosql/core/v1.2.1and copies it tosql/core/v2.3.4.How was this patch tested?
manual tests