phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] dbwong commented on a change in pull request #419: PHOENIX-4009 Run UPDATE STATISTICS command by using MR integration on…
Date Fri, 11 Jan 2019 01:37:30 GMT
dbwong commented on a change in pull request #419: PHOENIX-4009 Run UPDATE STATISTICS command
by using MR integration on…
URL: https://github.com/apache/phoenix/pull/419#discussion_r246980631
 
 

 ##########
 File path: phoenix-pig/src/main/java/org/apache/phoenix/pig/util/PhoenixPigSchemaUtil.java
 ##########
 @@ -62,7 +62,7 @@ public static ResourceSchema getResourceSchema(final Configuration configuration
                 Preconditions.checkNotNull(sqlQuery, "No Sql Query exists within the configuration");
                 final SqlQueryToColumnInfoFunction function = new SqlQueryToColumnInfoFunction(configuration);
                 columns = function.apply(sqlQuery);
-            } else {
+            } else if (SchemaType.TABLE.equals(schemaType)) {
 
 Review comment:
   nit: Earlier you used == for enum comparison, is there a standard for Phoenix?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Mime
View raw message