bowenli86 commented on a change in pull request #9580: [FLINK-13930][hive] Support Hive version 3.1.x URL: https://github.com/apache/flink/pull/9580#discussion_r319692490
########## File path: flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/catalog/hive/client/HiveShim.java ########## @@ -109,4 +112,53 @@ void alterPartition(IMetaStoreClient client, String databaseName, String tableNa */ SimpleGenericUDAFParameterInfo createUDAFParameterInfo(ObjectInspector[] params, boolean isWindowing, boolean distinct, boolean allColumns); + + /** + * Get the class of Hive's MetaStoreUtils because its package name was changed in Hive 3.1.0. + * + * @return MetaStoreUtils class + */ + Class<?> getMetaStoreUtilsClass(); + + /** + * Get the class of Hive's HiveMetaStoreUtils as it was split from MetaStoreUtils class in Hive 3.1.0. + * + * @return HiveMetaStoreUtils class + */ + Class<?> getHiveMetaStoreUtilsClass(); + + /** + * Hive Date data type class was changed in Hive 3.1.0. + * + * @return Hive's Date class + */ + Class<?> getDateDataTypeClass(); + + /** + * Hive Timestamp data type class was changed in Hive 3.1.0. + * + * @return Hive's Date class Review comment: ```suggestion * @return Hive's Timestamp class ``` ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services