Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-46937][SQL][FOLLOWUP] Properly check registered function repla…
…cement ### What changes were proposed in this pull request? A followup of apache#44976 . `ConcurrentHashMap#put` has a different semantic than the scala map, and it returns null if the key is new. We should update the checking code accordingly. ### Why are the changes needed? avoid wrong warning messages ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? manual ### Was this patch authored or co-authored using generative AI tooling? no Closes apache#46876 from cloud-fan/log. Authored-by: Wenchen Fan <[email protected]> Signed-off-by: Kent Yao <[email protected]>
- Loading branch information