cloud-fan commented on a change in pull request #26752: [SPARK-30112][SQL]
Allow insert overwrite same table if using dynamic partition overwrite
URL: https://github.com/apache/spark/pull/26752#discussion_r354709729
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/InsertIntoHadoopFsRelationCommand.scala
##########
@@ -60,6 +61,21 @@ case class InsertIntoHadoopFsRelationCommand(
extends DataWritingCommand {
import
org.apache.spark.sql.catalyst.catalog.ExternalCatalogUtils.escapePathName
+ private lazy val parameters = CaseInsensitiveMap(options)
+
+ private[sql] lazy val dynamicPartitionOverwriteEnabled: Boolean = {
Review comment:
shall we just name it `dynamicPartitionOverwrite`? then we can remove
https://github.com/apache/spark/pull/26752/files#diff-f9858c2d9d1a3c3e48753ef675bc865aR109
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]