felixYyu commented on issue #4603:
URL: https://github.com/apache/iceberg/issues/4603#issuecomment-1105866438

   thanks @kbendick for detail description. I just want not to write multiple 
spark sql commands during single step debugging.
   
   like the following is ok
   ```
   spark.sql(
         s"""
            |
            |/*INSERT INTO hadoop_prod.default.test_evolution5 VALUES (1, 11, 
21)*/
            |--ALTER TABLE hadoop_prod.default.test_evolution5 ADD PARTITION 
FIELD col2
            |INSERT INTO hadoop_prod.default.test_evolution5 VALUES (2, 12, 22)
            |
            |--ALTER TABLE hadoop_prod.default.test_evolution5 DROP PARTITION 
FIELD col2
            |--INSERT INTO hadoop_prod.default.test_evolution5 VALUES (3, 13, 
23)
            |--ALTER TABLE hadoop_prod.default.test_evolution5 DROP COLUMN col2
            |""".stripMargin)
   ```


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