Skip to content

[SPARK-44115][BUILD] Upgrade Apache ORC to 2.0.0 - #45443

Closed
dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-44115
Closed

dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-44115

Conversation

@dongjoon-hyun

@dongjoon-hyun dongjoon-hyun commented Mar 8, 2024 •

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR aims to Upgrade Apache ORC to 2.0.0 for Apache Spark 4.0.0.

Apache ORC community has 3-year support policy which is longer than Apache Spark. It's aligned like the following.

  • Apache ORC 2.0.x <-> Apache Spark 4.0.x
  • Apache ORC 1.9.x <-> Apache Spark 3.5.x
  • Apache ORC 1.8.x <-> Apache Spark 3.4.x
  • Apache ORC 1.7.x (Supported) <-> Apache Spark 3.3.x (End-Of-Support)

Why are the changes needed?

Release Note

Milestone

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs.

Was this patch authored or co-authored using generative AI tooling?

No.

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

This is tested during Apache ORC 2.0.0 RC0 vote.

And, this PR passed here again.
Screenshot 2024-03-08 at 12 10 34

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Could you review this PR when you have some time, please, @viirya ?

Comment thread pom.xml
Comment on lines +2596 to +2602
<dependency>
<groupId>org.apache.orc</groupId>
<artifactId>orc-format</artifactId>
<version>1.0.0</version>
<classifier>${orc.classifier}</classifier>
<scope>${orc.deps.scope}</scope>
</dependency>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hmm, why do we need to exclude orc-format from orc-core and add it as a separate dependency?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Thank you for review. It's because Apache Spark needs to control orc.classifier here. Without this, the default dependencies are pulled in.

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Thank you so much, @viirya !

Merged to master for Apache Spark 4.0.0.

@dongjoon-hyun
dongjoon-hyun deleted the SPARK-44115 branch March 8, 2024 21:36
@yaooqinn

Copy link
Copy Markdown
Member

Late +1 & LGTM. Thank you @dongjoon-hyun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants