ikarol commented on pull request #35283:
URL: https://github.com/apache/spark/pull/35283#issuecomment-1020563267


   > I checked DB2 doc, the IMMEDIATE clause is optional only in DB2 Version 
11.5 Mod Pack 2 and later versions. I think it's reasonable to add IMMEDIATE in 
truncate statement to make it work with all versions of DB2.
   > 
   > @ikarol Could you please add a test in 
`org.apache.spark.sql.jdbc.DB2IntegrationSuite` to test 
   `df.write.mode(SaveMode.Overwrite).option("truncate", true)`?
   
   @huaxingao 
   Thank you for the review, I've made the changes you requested.
   If there is still something missing, please let me know.


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