You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/12/23 03:23:49 UTC

[GitHub] [flink] JingsongLi commented on a change in pull request #10618: [FLINK-15348][hive] Fix orc optimization for version less than 2.3 by introducing orc shim

JingsongLi commented on a change in pull request #10618: [FLINK-15348][hive]  Fix orc optimization for version less than 2.3 by introducing orc shim
URL: https://github.com/apache/flink/pull/10618#discussion_r360755967
 
 

 ##########
 File path: flink-connectors/flink-connector-hive/src/test/java/org/apache/flink/connectors/hive/TableEnvHiveConnectorTest.java
 ##########
 @@ -124,9 +124,15 @@ public void testGetNonExistingFunction() throws Exception {
 	public void testDifferentFormats() throws Exception {
 		String[] formats = new String[]{"orc", "parquet", "sequencefile", "csv"};
 		for (String format : formats) {
-			if (format.equals("orc") && HiveShimLoader.getHiveVersion().startsWith("2.0")) {
-				// Ignore orc test for Hive version 2.0.x for now due to FLINK-13998
-				continue;
+			if (format.equals("orc")) {
+				String version = HiveShimLoader.getHiveVersion();
+				// hive 2.0.x with orc can not run in local mode, because Hadoop23Shims only
+				// supported for DFS, but can work in cluster.
+				// hive 2.2.x with orc can not run, because hive 2.2.x exec lack orc classes,
 
 Review comment:
   I'll add deps to 2.2.0 profile.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services