Skip to content
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

Add Spark 3.5 support #514

Merged
merged 4 commits into from
Feb 8, 2024
Merged

Conversation

jhchee
Copy link
Contributor

@jhchee jhchee commented Oct 25, 2023

Issue #, if available:
#507

Description of changes:

  • Add Spark 3.5 support

mvn clean package run successfully on my local machine. Test result is as followed:

Run completed in 5 minutes, 19 seconds.
Total number of tests run: 557
Suites: completed 65, aborted 0
Tests: succeeded 557, failed 0, canceled 0, ignored 0, pending 0
All tests passed.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@@ -59,7 +59,7 @@ private[sql] case class StatefulHyperloglogPlus(

override def dataType: DataType = BinaryType

override def aggBufferSchema: StructType = StructType.fromAttributes(aggBufferAttributes)
override def aggBufferSchema: StructType = DataTypeUtils.fromAttributes(aggBufferAttributes)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

StructType.fromAttributes has been refactored into DataTypeUtils.fromAttributes
Reference: apache/spark@8ff6b7a

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, it would be great if we could approve and merge this so that we could use it with V3.5

@jhchee
Copy link
Contributor Author

jhchee commented Oct 25, 2023

@eycho-am Would you mind to take a look on this, thanks again!

Copy link
Contributor

@mentekid mentekid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this change. Will merge if the tests pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Add support for Spark 3.5
3 participants