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


##########
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:
   Yeah, named parameter is right. But there is a compilation error when k8s 
integration test. Please see PR description for more information. And you can 
exec this command to check it again
   ```shell
   build/sbt -Pkubernetes -Pkubernetes-integration-tests -Dtest.exclude.tags=r 
"kubernetes-integration-tests/test"
   ```



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