[ https://issues.apache.org/jira/browse/SPARK-51222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-51222: ---------------------------------- Parent: SPARK-44111 Issue Type: Sub-task (was: Bug) > Optimize ReplaceCurrentLike rule > -------------------------------- > > Key: SPARK-51222 > URL: https://issues.apache.org/jira/browse/SPARK-51222 > Project: Spark > Issue Type: Sub-task > Components: SQL > Affects Versions: 4.0.0 > Reporter: Szehon Ho > Assignee: Szehon Ho > Priority: Minor > Labels: pull-request-available > Fix For: 4.0.0 > > > ReplaceCurrentLike eagerly queries the catalog manager to get the current > namespace to resolve current_database(), current catalog to resolve > current_catalog(). This can be optimized to do only do this, if the plan has > those expressions. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org