cloud-fan commented on code in PR #36487:
URL: https://github.com/apache/spark/pull/36487#discussion_r867787493


##########
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:
   Sorry I'm a bit confused. named parameter has been widely used in the Spark 
codebase, what's wrong with it?



-- 
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