danny0405 commented on code in PR #7706:
URL: https://github.com/apache/hudi/pull/7706#discussion_r1091428782


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/table/catalog/HoodieHiveCatalog.java:
##########
@@ -438,8 +439,10 @@ public CatalogBaseTable getTable(ObjectPath tablePath) 
throws TableNotExistExcep
       LOG.warn("{} does not have any hoodie schema, and use hive table schema 
to infer the table schema", tablePath);
       schema = HiveSchemaUtils.convertTableSchema(hiveTable);
     }
+    org.apache.flink.table.api.Schema resultSchema = 
DataTypeUtils.dropIfExistsColumns(schema, 
HoodieRecord.HOODIE_META_COLUMNS_WITH_OPERATION);
+

Review Comment:
   In line419, we already ignore the metadata column, so why drop it again?



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