Peng-Lei commented on a change in pull request #34758: URL: https://github.com/apache/spark/pull/34758#discussion_r759937743
########## File path: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/DataSourceV2Strategy.scala ########## @@ -186,7 +185,10 @@ class DataSourceV2Strategy(session: SparkSession) extends Strategy with Predicat RefreshTableExec(r.catalog, r.identifier, recacheTable(r)) :: Nil case ReplaceTable(catalog, ident, schema, parts, props, orCreate) => - val propsWithOwner = CatalogV2Util.withDefaultOwnership(props) + val newProps = props.get(TableCatalog.PROP_LOCATION).map { loc => + props + (TableCatalog.PROP_LOCATION -> makeQualifiedDBObjectPath(loc)) + }.getOrElse(props) Review comment: As [#PR](https://github.com/apache/spark/pull/34764) not merged -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org