dcoliversun commented on code in PR #36487:
URL: https://github.com/apache/spark/pull/36487#discussion_r867824481


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/v2AlterTableCommands.scala:
##########
@@ -144,7 +144,7 @@ case class ReplaceColumns(
     require(table.resolved)
     val deleteChanges = table.schema.fieldNames.map { name =>
       // REPLACE COLUMN should require column to exist
-      TableChange.deleteColumn(Array(name), ifExists = false)

Review Comment:
   Because deleteColumn#TableChange is `Java` file. I replace named parameter 
with comment, because it's used in Apache Spark. 
https://github.com/apache/spark/blob/ad81ba839713374b2ef9ea2f0f18e83578584188/core/src/main/scala/org/apache/spark/deploy/ExternalShuffleService.scala#L119



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to