You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/08/18 15:40:09 UTC

[GitHub] [hudi] codope commented on a change in pull request #3465: [HUDI-1363] Provide option to drop partition columns

codope commented on a change in pull request #3465:
URL: https://github.com/apache/hudi/pull/3465#discussion_r691368980



##########
File path: hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/hudi/HoodieSparkSqlWriter.scala
##########
@@ -223,21 +240,25 @@ object HoodieSparkSqlWriter {
               operation.equals(WriteOperationType.UPSERT) ||
               parameters.getOrElse(HoodieWriteConfig.COMBINE_BEFORE_INSERT_PROP.key(),
                 HoodieWriteConfig.COMBINE_BEFORE_INSERT_PROP.defaultValue()).toBoolean
+            val partitionKey = hoodieConfig.getString(DataSourceWriteOptions.PARTITIONPATH_FIELD)

Review comment:
       @xuzifu666 Yes, you can drop partition fields with this patch.
   @Ales-Semchenkov Good to hear!




-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org