pengzhiwei2018 commented on a change in pull request #3171:
URL: https://github.com/apache/hudi/pull/3171#discussion_r661392982
##########
File path: hudi-flink/src/main/java/org/apache/hudi/util/StreamerUtil.java
##########
@@ -209,6 +209,8 @@ public static void initTableIfNotExists(Configuration conf)
throws IOException {
.setTableType(conf.getString(FlinkOptions.TABLE_TYPE))
.setTableName(conf.getString(FlinkOptions.TABLE_NAME))
.setPayloadClassName(conf.getString(FlinkOptions.PAYLOAD_CLASS))
+
.setPartitionColumns(conf.getString(FlinkOptions.PARTITION_PATH_FIELD, null))
Review comment:
The default partition field name for flink is empty string but it is not
work for spark partition prune. So here we return null if the partition field
is not set.
--
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]