Szehon Ho created SPARK-51222: --------------------------------- Summary: Optimize ReplaceCurrentLike rule Key: SPARK-51222 URL: https://issues.apache.org/jira/browse/SPARK-51222 Project: Spark Issue Type: Bug Components: SQL Affects Versions: 4.0.0 Reporter: Szehon Ho
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