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
### What changes were proposed in this pull request?
Improve ReplaceCurrentLike FinishAnalysis rule. This was found as a result of debugging SPARK-51119.
### Why are the changes needed?
The rule calls the catalog unnecessarily, and this can be done lazily only if it is resolving current_catalog() and current_database() expressions.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Existing unit test
### Was this patch authored or co-authored using generative AI tooling?
No
Closesapache#49963 from szehon-ho/SPARK-51222.
Authored-by: Szehon Ho <[email protected]>
Signed-off-by: beliefer <[email protected]>
0 commit comments