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-42631][CONNECT][FOLLOW-UP] Expose Column.expr to extensions #40590

Closed
wants to merge 1 commit into from

Conversation

tomvanbussel
Copy link
Contributor

What changes were proposed in this pull request?

This PR is a follow-up to #40234, which makes it possible for extensions to create custom Datasets and Columns. It exposes Dataset.plan, but unfortunately it does not expose Column.expr. This means that extensions cannot build custom Columns that provide a user provider Column as input.

Why are the changes needed?

See above.

Does this PR introduce any user-facing change?

No. This only adds a change for a Developer API.

How was this patch tested?

Existing tests to make sure nothing breaks.

Copy link
Contributor

@hvanhovell hvanhovell left a comment

Choose a reason for hiding this comment

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

LGTM

@amaliujia
Copy link
Contributor

LGTM

@hvanhovell
Copy link
Contributor

Merging.

hvanhovell pushed a commit that referenced this pull request Mar 29, 2023
### What changes were proposed in this pull request?
This PR is a follow-up to #40234, which makes it possible for extensions to create custom `Dataset`s and `Column`s. It exposes `Dataset.plan`, but unfortunately it does not expose `Column.expr`. This means that extensions cannot build custom `Column`s that provide a user provider `Column` as input.

### Why are the changes needed?
See above.

### Does this PR introduce _any_ user-facing change?
No. This only adds a change for a Developer API.

### How was this patch tested?
Existing tests to make sure nothing breaks.

Closes #40590 from tomvanbussel/SPARK-42631.

Authored-by: Tom van Bussel <tom.vanbussel@databricks.com>
Signed-off-by: Herman van Hovell <herman@databricks.com>
(cherry picked from commit c3716c4)
Signed-off-by: Herman van Hovell <herman@databricks.com>
snmvaughan pushed a commit to snmvaughan/spark that referenced this pull request Jun 20, 2023
### What changes were proposed in this pull request?
This PR is a follow-up to apache#40234, which makes it possible for extensions to create custom `Dataset`s and `Column`s. It exposes `Dataset.plan`, but unfortunately it does not expose `Column.expr`. This means that extensions cannot build custom `Column`s that provide a user provider `Column` as input.

### Why are the changes needed?
See above.

### Does this PR introduce _any_ user-facing change?
No. This only adds a change for a Developer API.

### How was this patch tested?
Existing tests to make sure nothing breaks.

Closes apache#40590 from tomvanbussel/SPARK-42631.

Authored-by: Tom van Bussel <tom.vanbussel@databricks.com>
Signed-off-by: Herman van Hovell <herman@databricks.com>
(cherry picked from commit c3716c4)
Signed-off-by: Herman van Hovell <herman@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants