Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Jan 10, 2024

What changes were proposed in this pull request?

This PR aims to fix ORC tests to be independent from the change of default ORC compression.

Why are the changes needed?

Currently, a few test cases have implicit assumption.

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 Jan 10, 2024
conf.setBoolean("hive.io.file.read.all.columns", false)

val orcRecordReader = {
val file = new File(path).listFiles().find(_.getName.endsWith(".snappy.orc")).head
Copy link
Member Author

Choose a reason for hiding this comment

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

This test case should be independent from the default codec, snappy.

@dongjoon-hyun
Copy link
Member Author

Thank you, @HyukjinKwon .

These test case changes are tested manually. Let me merge this~

@dongjoon-hyun dongjoon-hyun deleted the SPARK-46643 branch January 10, 2024 02:02
szehon-ho pushed a commit to szehon-ho/spark that referenced this pull request Feb 7, 2024
…t compression

This PR aims to fix ORC tests to be independent from the change of default ORC compression.

Currently, a few test cases have implicit assumption.

No.

Pass the CIs.

No.

Closes apache#44648 from dongjoon-hyun/SPARK-46643.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
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