cloud-fan commented on a change in pull request #27249: [SPARK-30019][SQL] Add
ALTER TABLE SET OWNER syntax
URL: https://github.com/apache/spark/pull/27249#discussion_r367786668
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/WriteToDataSourceV2Exec.scala
##########
@@ -227,13 +228,14 @@ case class AtomicReplaceTableAsSelectExec(
override protected def doExecute(): RDD[InternalRow] = {
val schema = query.schema.asNullable
+ val propertiesWithOwner = withDefaultOwnership(properties).asJava
Review comment:
If we only look at the logical plan, I think only the following commands
need to be considered:
1. CREATE TABLE
2. CREATE TABLE AS SELECT
3. REPLACE TABLE
4. REPLACE TABLE AS SELECT
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]