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-48004][SQL] Add WriteFilesExecBase trait for v1 write #46240

Closed
wants to merge 1 commit into from

Conversation

ulysses-you
Copy link
Contributor

What changes were proposed in this pull request?

This pr adds a new trait WriteFilesExecBase for v1 write, so that the downstream project can inherit WriteFilesExecBase rather than WriteFilesExec. The reason is that, inherit a case class is a bad practice in scala world.

Why are the changes needed?

Make downstream project easy to develop.

Does this PR introduce any user-facing change?

no

How was this patch tested?

Pass CI

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

no

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

cc @cloud-fan @yaooqinn thank you

@yaooqinn
Copy link
Member

Thanks, merged to master

@yaooqinn yaooqinn closed this in b8b6d17 Apr 26, 2024
@ulysses-you ulysses-you deleted the WriteFilesExecBase branch April 26, 2024 10:38
@cloud-fan
Copy link
Contributor

late LGTM

JacobZheng0927 pushed a commit to JacobZheng0927/spark that referenced this pull request May 11, 2024
### What changes were proposed in this pull request?

This pr adds a new trait `WriteFilesExecBase` for v1 write, so that the downstream project can inherit `WriteFilesExecBase` rather than `WriteFilesExec`. The reason is that, inherit a `case class` is a bad practice in scala world.

### Why are the changes needed?

Make downstream project easy to develop.

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

no

### How was this patch tested?

Pass CI

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

no

Closes apache#46240 from ulysses-you/WriteFilesExecBase.

Authored-by: ulysses-you <ulyssesyou18@gmail.com>
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
3 participants