You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-48591][PYTHON] Simplify the if-else branches with F.lit
### What changes were proposed in this pull request?
Simplify the if-else branches with `F.lit` which accept both Column and non-Column input
### Why are the changes needed?
code clean up
### Does this PR introduce _any_ user-facing change?
No, internal minor refactor
### How was this patch tested?
CI
### Was this patch authored or co-authored using generative AI tooling?
No
Closes#46946 from zhengruifeng/column_simplify.
Authored-by: Ruifeng Zheng <ruifengz@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
0 commit comments