Skip to content

[SPARK-49712][SQL] Remove encoderFor from connect-client-jvm #48266

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

Closed
wants to merge 8 commits into from

Conversation

hvanhovell
Copy link
Contributor

What changes were proposed in this pull request?

This PR removes sql.encoderFor from the connect-client-jvm module and replaces it by AgnosticEncoders.agnosticEncoderFor.

Why are the changes needed?

It will cause a clash when we swap the interface and the implementation.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing tests.

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

No.

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.

May I ask hhy this PR includes the following silently?

@hvanhovell
Copy link
Contributor Author

Because I messed up...

@dongjoon-hyun
Copy link
Member

Shall we make this Draft to prevent accidental merging for now, please?

@HyukjinKwon HyukjinKwon marked this pull request as draft September 26, 2024 23:40
@hvanhovell hvanhovell marked this pull request as ready for review September 27, 2024 23:43
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 because #48217 was merged.
Merged to master.

attilapiros pushed a commit to attilapiros/spark that referenced this pull request Oct 4, 2024
### What changes were proposed in this pull request?
This PR removes `sql.encoderFor` from the connect-client-jvm module and replaces it by `AgnosticEncoders.agnosticEncoderFor`.

### Why are the changes needed?
It will cause a clash when we swap the interface and the implementation.

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

### How was this patch tested?
Existing tests.

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

Closes apache#48266 from hvanhovell/SPARK-49712.

Authored-by: Herman van Hovell <herman@databricks.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
himadripal pushed a commit to himadripal/spark that referenced this pull request Oct 19, 2024
### What changes were proposed in this pull request?
This PR removes `sql.encoderFor` from the connect-client-jvm module and replaces it by `AgnosticEncoders.agnosticEncoderFor`.

### Why are the changes needed?
It will cause a clash when we swap the interface and the implementation.

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

### How was this patch tested?
Existing tests.

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

Closes apache#48266 from hvanhovell/SPARK-49712.

Authored-by: Herman van Hovell <herman@databricks.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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants