Skip to content

Conversation

hvanhovell
Copy link
Contributor

What changes were proposed in this pull request?

This PR reduces the size of code generated for UDFs.

Why are the changes needed?

Simplification and code reduction.

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

@github-actions github-actions bot added the SQL label Aug 13, 2024
@hvanhovell
Copy link
Contributor Author

merging to master

@asfgit asfgit closed this in 67d2888 Aug 14, 2024
@LuciferYang
Copy link
Contributor

Late LGTM

IvanK-db pushed a commit to IvanK-db/spark that referenced this pull request Sep 20, 2024
### What changes were proposed in this pull request?
This PR reduces the size of code generated for UDFs.

### Why are the changes needed?
Simplification and code reduction.

### 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#47746 from hvanhovell/SPARK-49226.

Authored-by: Herman van Hovell <herman@databricks.com>
Signed-off-by: Herman van Hovell <herman@databricks.com>
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 reduces the size of code generated for UDFs.

### Why are the changes needed?
Simplification and code reduction.

### 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#47746 from hvanhovell/SPARK-49226.

Authored-by: Herman van Hovell <herman@databricks.com>
Signed-off-by: Herman van Hovell <herman@databricks.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 reduces the size of code generated for UDFs.

### Why are the changes needed?
Simplification and code reduction.

### 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#47746 from hvanhovell/SPARK-49226.

Authored-by: Herman van Hovell <herman@databricks.com>
Signed-off-by: Herman van Hovell <herman@databricks.com>
@bersprockets
Copy link
Contributor

bersprockets commented Sep 24, 2025

A user reported SPARK-53635. I don't know enough to say whether the use-case is supported, but as the user noted, it worked in 3.5.x but not in 4.0.x.

I bisected the change in behavior down to this commit. The user's example fails on this commit (67d2888), but works on the previous commit.

Edit: I tested using classic spark-shell.

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.

4 participants