godfreyhe commented on code in PR #20612:
URL: https://github.com/apache/flink/pull/20612#discussion_r948941604


##########
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/connectors/hive/HiveSourceDynamicFileEnumerator.java:
##########
@@ -131,6 +132,7 @@ RowData createRowData(RowType rowType, Map<String, String> 
partitionSpec) {
         GenericRowData rowData = new GenericRowData(rowType.getFieldCount());
         for (int i = 0; i < rowType.getFieldCount(); ++i) {
             String value = 
partitionSpec.get(dynamicFilterPartitionKeys.get(i));
+            LogicalType fieldType = rowType.getTypeAt(i);
             Object convertedValue =

Review Comment:
   call `rowData.setField(i, null);` and continue ?



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

Reply via email to