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-46937][SQL][FOLLOWUP] Properly check registered function replacement
### What changes were proposed in this pull request?
A followup of #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#46876 from cloud-fan/log.
Authored-by: Wenchen Fan <[email protected]>
Signed-off-by: Kent Yao <[email protected]>
0 commit comments