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 2022/12/13 03:42:34 UTC

[GitHub] [hudi] zhuanshenbsj1 commented on a diff in pull request #7159: [HUDI-5173]Skip if there is only one file in clusteringGroup

zhuanshenbsj1 commented on code in PR #7159:
URL: https://github.com/apache/hudi/pull/7159#discussion_r1046629024


##########
hudi-hadoop-mr/src/test/java/org/apache/hudi/hadoop/realtime/TestHoodieRealtimeRecordReader.java:
##########
@@ -141,6 +141,7 @@ private void setHiveColumnNameProps(List<Schema.Field> fields, JobConf jobConf,
       jobConf.set(hive_metastoreConstants.META_TABLE_PARTITION_COLUMNS, PARTITION_COLUMN);
     }
     jobConf.set(hive_metastoreConstants.META_TABLE_COLUMNS, hiveOrderedColumnNames);
+    jobConf.set("columns.types", "string,string,string,string,string,string,string,string,bigint,string,string");
   }

Review Comment:
   Without this change,after inputDF5 the timeline will be commit(instantA)->clustering(instantB)->commit(instantC)->clean(instantD), and  instantA will archive by instantB,  line-193:allVisibleCDCData = cdcDataFrame((commitTime1.toLong - 1).toString)



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