jcamachor commented on a change in pull request #696: HIVE-18842
URL: https://github.com/apache/hive/pull/696#discussion_r301150194
 
 

 ##########
 File path: ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
 ##########
 @@ -7297,8 +7435,19 @@ protected Operator genFileSinkPlan(String dest, QB qb, 
Operator input)
       // Add NOT NULL constraint check
       input = genConstraintsPlan(dest, qb, input);
 
-      // Add sorting/bucketing if needed
-      input = genBucketingSortingDest(dest, input, qb, tableDescriptor, 
destinationTable, rsCtx);
+      if (destinationTable.isMaterializedView() &&
+          mvRebuildMode == 
MaterializationRebuildMode.INSERT_OVERWRITE_REBUILD) {
+        // Data organization (DISTRIBUTED, SORTED, CLUSTERED) for materialized 
view
+        // TODO: We only do this for a full rebuild
 
 Review comment:
   I was thinking about this and there is no need to log this info. This is a 
missing feature, and there is a `TODO` and a follow-up JIRA 
(https://issues.apache.org/jira/browse/HIVE-21953).

----------------------------------------------------------------
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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to