xuefuz commented on a change in pull request #9995: [FLINK-14526][hive] Support
Hive version 1.1.0 and 1.1.1
URL: https://github.com/apache/flink/pull/9995#discussion_r339184764
##########
File path:
flink-connectors/flink-connector-hive/src/test/java/org/apache/flink/table/catalog/hive/HiveTestUtils.java
##########
@@ -108,4 +117,106 @@ public static TableEnvironment createTableEnv() {
tableEnv.getConfig().setSqlDialect(SqlDialect.HIVE);
return tableEnv;
}
+
+ // Insert into a single partition of a text table.
+ public static InsertTextTable insertToTextTable(HiveShell hiveShell,
String dbName, String tableName) {
+ return new InsertTextTable(hiveShell, dbName, tableName);
+ }
+
+ /**
+ * insert table operation.
+ */
+ public static class InsertTextTable {
Review comment:
We might want a better (using none rather than verb) class name, such as
TextTableInserter or TextTableCreator.
----------------------------------------------------------------
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