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

[SPARK-47187][SQL][3.4] Fix hive compress output config does not work #45286

Closed
wants to merge 1 commit into from

Conversation

ulysses-you
Copy link
Contributor

@ulysses-you ulysses-you commented Feb 27, 2024

What changes were proposed in this pull request?

This pr fixs the issue that setupHadoopConfForCompression did not set isCompressed as expected due to we implicitly convert ShimFileSinkDesc to FileSinkDesc. This issue does not affect master branch since we removed ShimFileSinkDesc in #40848

Why are the changes needed?

To make hive.exec.compress.output work as expected.

Does this PR introduce any user-facing change?

yes, fix bug

How was this patch tested?

manually test

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

no

@github-actions github-actions bot added the SQL label Feb 27, 2024
@ulysses-you
Copy link
Contributor Author

cc @cloud-fan

ulysses-you added a commit that referenced this pull request Feb 28, 2024
### What changes were proposed in this pull request?

This pr fixs the issue that `setupHadoopConfForCompression` did not set isCompressed as expected due to we implicitly convert ShimFileSinkDesc to FileSinkDesc. This issue does not affect master branch since we removed ShimFileSinkDesc in #40848

### Why are the changes needed?

To make `hive.exec.compress.output` work as expected.

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

yes, fix bug

### How was this patch tested?

manually test

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

no

Closes #45286 from ulysses-you/fix.

Authored-by: ulysses-you <ulyssesyou18@gmail.com>
Signed-off-by: youxiduo <youxiduo@corp.netease.com>
@ulysses-you
Copy link
Contributor Author

thanks, merging to branch-3.4

@ulysses-you ulysses-you deleted the fix branch February 28, 2024 05:36
snmvaughan pushed a commit to snmvaughan/spark that referenced this pull request Mar 26, 2024
### What changes were proposed in this pull request?

This pr fixs the issue that `setupHadoopConfForCompression` did not set isCompressed as expected due to we implicitly convert ShimFileSinkDesc to FileSinkDesc. This issue does not affect master branch since we removed ShimFileSinkDesc in apache#40848

### Why are the changes needed?

To make `hive.exec.compress.output` work as expected.

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

yes, fix bug

### How was this patch tested?

manually test

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

no

Closes apache#45286 from ulysses-you/fix.

Authored-by: ulysses-you <ulyssesyou18@gmail.com>
Signed-off-by: youxiduo <youxiduo@corp.netease.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