Skip to content

Conversation

@yaooqinn
Copy link
Member

What changes were proposed in this pull request?

A follow-up for #51043 that sorts paths in InMemoryFileIndex#equal only when size matches

Why are the changes needed?

Avoid potential perf regression.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Existing test from #51043

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

No

@github-actions github-actions bot added the SQL label Jun 24, 2025
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you, @yaooqinn .

cc @bersprockets , @HyukjinKwon , @cloud-fan , @pan3793 too

@yaooqinn yaooqinn closed this in 1cfe07c Jun 25, 2025
yaooqinn added a commit that referenced this pull request Jun 25, 2025
…ly when size matches

### What changes were proposed in this pull request?

A follow-up for #51043 that sorts paths in InMemoryFileIndex#equal only when size matches

### Why are the changes needed?

Avoid potential perf regression.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?

Existing test from #51043

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

Closes #51263 from yaooqinn/SPARK-52339.

Authored-by: Kent Yao <yao@apache.org>
Signed-off-by: Kent Yao <yao@apache.org>
(cherry picked from commit 1cfe07c)
Signed-off-by: Kent Yao <yao@apache.org>
yaooqinn added a commit that referenced this pull request Jun 25, 2025
…ly when size matches

### What changes were proposed in this pull request?

A follow-up for #51043 that sorts paths in InMemoryFileIndex#equal only when size matches

### Why are the changes needed?

Avoid potential perf regression.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?

Existing test from #51043

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

Closes #51263 from yaooqinn/SPARK-52339.

Authored-by: Kent Yao <yao@apache.org>
Signed-off-by: Kent Yao <yao@apache.org>
(cherry picked from commit 1cfe07c)
Signed-off-by: Kent Yao <yao@apache.org>
@yaooqinn
Copy link
Member Author

Merged to master/4.0/3.5, thank you @dongjoon-hyun @pan3793 @HyukjinKwon

@yaooqinn yaooqinn deleted the SPARK-52339 branch June 25, 2025 02:15
zifeif2 pushed a commit to zifeif2/spark that referenced this pull request Nov 14, 2025
…ly when size matches

### What changes were proposed in this pull request?

A follow-up for apache#51043 that sorts paths in InMemoryFileIndex#equal only when size matches

### Why are the changes needed?

Avoid potential perf regression.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?

Existing test from apache#51043

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

Closes apache#51263 from yaooqinn/SPARK-52339.

Authored-by: Kent Yao <yao@apache.org>
Signed-off-by: Kent Yao <yao@apache.org>
(cherry picked from commit 2fce729)
Signed-off-by: Kent Yao <yao@apache.org>
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.

4 participants