nsivabalan commented on a change in pull request #3450:
URL: https://github.com/apache/hudi/pull/3450#discussion_r686494176
##########
File path:
hudi-utilities/src/main/java/org/apache/hudi/utilities/deltastreamer/DeltaSync.java
##########
@@ -249,14 +251,20 @@ public void refreshTimeline() throws IOException {
} else {
this.commitTimelineOpt = Option.empty();
String partitionColumns =
HoodieWriterUtils.getPartitionColumns(keyGenerator);
-
+ LOG.warn("Partition cols " + partitionColumns);
HoodieTableMetaClient.withPropertyBuilder()
.setTableType(cfg.tableType)
.setTableName(cfg.targetTableName)
.setArchiveLogFolder(HOODIE_ARCHIVELOG_FOLDER_PROP.defaultValue())
.setPayloadClassName(cfg.payloadClassName)
.setBaseFileFormat(cfg.baseFileFormat)
.setPartitionFields(partitionColumns)
+
.setPartitionFields(props.getProperty(DataSourceWriteOptions.PARTITIONPATH_FIELD().key()))
Review comment:
One of them is used for spark-sql and is a concatenation of partition
columns. partitionField is used for virtual keys and is same value as
"hoodie.datasource.write.partitionpath.field"
--
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]