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

[MINOR][SQL] Remove Scalac 2.12-specific code in InMemoryFileIndex #43233

Closed
wants to merge 1 commit into from

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Oct 5, 2023

What changes were proposed in this pull request?

This PR aims to remove scalac 2.12-specific code from InMemoryFileIndex class.

Why are the changes needed?

Like the comment mentioned, we don't need this because master branch is using Scala 2.13 only.

() // for some reasons scalac 2.12 needs this; return type doesn't matter

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.

@github-actions github-actions bot added the SQL label Oct 5, 2023
@dongjoon-hyun dongjoon-hyun changed the title [MINOR][SQL] Remove Scalac 2.12-specific code in InMemoryFileIndex [MINOR][SQL] Remove Scalac 2.12-specific code in InMemoryFileIndex Oct 5, 2023
@dongjoon-hyun
Copy link
Member Author

Could you review this, @LuciferYang ?

Copy link
Contributor

@LuciferYang LuciferYang left a comment

Choose a reason for hiding this comment

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

LGTM

@LuciferYang
Copy link
Contributor

Merged into master. Thanks @dongjoon-hyun

@dongjoon-hyun
Copy link
Member Author

Thank you, @LuciferYang .

LuciferYang pushed a commit to LuciferYang/spark that referenced this pull request Oct 7, 2023
### What changes were proposed in this pull request?

This PR aims to remove `scalac 2.12`-specific code from InMemoryFileIndex class.

### Why are the changes needed?

Like the comment mentioned, we don't need this because `master` branch is using Scala 2.13 only.
https://github.com/apache/spark/blob/c0d9ca3be14cb0ec8d8f9920d3ecc4aac3cf5adc/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/InMemoryFileIndex.scala#L129

### 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.

Closes apache#43233 from dongjoon-hyun/minor_scalac_2.12.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: yangjie01 <[email protected]>
@dongjoon-hyun dongjoon-hyun deleted the minor_scalac_2.12 branch November 4, 2023 23:55
szehon-ho pushed a commit to szehon-ho/spark that referenced this pull request Aug 7, 2024
### What changes were proposed in this pull request?

This PR aims to remove `scalac 2.12`-specific code from InMemoryFileIndex class.

### Why are the changes needed?

Like the comment mentioned, we don't need this because `master` branch is using Scala 2.13 only.
https://github.com/apache/spark/blob/c0d9ca3be14cb0ec8d8f9920d3ecc4aac3cf5adc/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/InMemoryFileIndex.scala#L129

### 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.

Closes apache#43233 from dongjoon-hyun/minor_scalac_2.12.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: yangjie01 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants