-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[SPARK-33082][SQL] Remove hive-1.2 workaround code #29961
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
Kubernetes integration test starting |
Kubernetes integration test status success |
Test build #129491 has finished for PR 29961 at commit
|
retest this, please |
Kubernetes integration test starting |
Kubernetes integration test status failure |
Test build #129494 has finished for PR 29961 at commit
|
Thank you for re-trigger, @HeartSaVioR ! |
|
This PR is ready. Could you review this PR? |
@@ -581,7 +580,7 @@ class OrcSourceSuite extends OrcSuite with SharedSparkSession { | |||
} | |||
|
|||
test("Enforce direct encoding column-wise selectively") { | |||
testSelectiveDictionaryEncoding(isSelective = true) | |||
testSelectiveDictionaryEncoding(isSelective = true, isHive23 = false) |
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.
why isHive23
is false here?
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.
This is sql/core
module. This test case is using Apache ORC directly.
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.
This test case was added originally via [SPARK-25635][SQL][BUILD] Support selective direct encoding in native ORC write .
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.
After that, [SPARK-27402][SQL][TEST-HADOOP3.2][TEST-MAVEN] Fix hadoop-3.2 test issue(except the hive-thriftserver module changed like the following.
- protected def testSelectiveDictionaryEncoding(isSelective: Boolean) {
+ protected def testSelectiveDictionaryEncoding(isSelective: Boolean, isHive23: Boolean = false) {
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.
Initially, SPARK-27402 seems to use isHive23
misleadingly because isHive23=false
means Apache ORC in sql/core
module and Hive 1.2.1 fork in sql/hive
module.
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.
cc @wangyum and @gatorsmile
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.
shall we rename to isHiveOrc
?
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.
Sure!
Thank you, @cloud-fan ! The last commit is renaming only and the compilation passed already in Jenkins. |
Kubernetes integration test starting |
Kubernetes integration test status success |
Test build #129527 has finished for PR 29961 at commit
|
What changes were proposed in this pull request?
This PR removes old Hive-1.2 profile related workaround code.
Why are the changes needed?
To simply the code.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CI.