Skip to content

Commit

Permalink
[SPARK-46655][SQL] Skip query context catching in DataFrame methods
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?
In the PR, I propose to do not catch DataFrame query context in DataFrame methods but leave that close to `Column` functions.

### Why are the changes needed?
To improve user experience with Spark DataFrame/Dataset APIs, and provide more precise context of errors.

### Does this PR introduce _any_ user-facing change?
No, since the feature hasn't been released yet.

### How was this patch tested?
By running the modified test suites.

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

Closes apache#44501 from MaxGekk/exclude-funcs-withOrigin.

Authored-by: Max Gekk <[email protected]>
Signed-off-by: Max Gekk <[email protected]>
  • Loading branch information
MaxGekk committed Jan 11, 2024
1 parent c84ac6f commit d307960
Show file tree
Hide file tree
Showing 4 changed files with 160 additions and 216 deletions.
Loading

0 comments on commit d307960

Please sign in to comment.