You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/01/24 00:32:33 UTC
[GitHub] [spark] huaxingao commented on pull request #35283: [SPARK-30062][SQL] Add the IMMEDIATE statement to the DB2 dialect truncate implementation
huaxingao commented on pull request #35283:
URL: https://github.com/apache/spark/pull/35283#issuecomment-1019607610
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)`?
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org