TsReaper commented on a change in pull request #9342: [FLINK-13438][hive] Fix
DataTypes.DATE/TIME/TIMESTAMP support for hive connectors
URL: https://github.com/apache/flink/pull/9342#discussion_r311630490
##########
File path:
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/catalog/hive/util/HiveTableUtil.java
##########
@@ -133,4 +140,34 @@ public static Partition createHivePartition(String
dbName, String tableName, Lis
return partition;
}
+ public static CatalogTable toHiveCatalogTable(CatalogTable oldTable) {
Review comment:
I think the current modification is the most proper modification under the
current code base. The table schema in the catalog table is not only used in
table source, but will also be passed into hive input format will be used
there. So I think the most proper way is to modify the table schema here.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services