deniskuzZ commented on code in PR #6413:
URL: https://github.com/apache/hive/pull/6413#discussion_r3139217218


##########
ql/src/java/org/apache/hadoop/hive/ql/ddl/view/create/AbstractCreateViewAnalyzer.java:
##########
@@ -111,7 +111,7 @@ public static void validateTablesUsed(SemanticAnalyzer 
analyzer) throws Semantic
 
   protected void validateReplaceWithPartitions(String viewName, Table oldView, 
List<FieldSchema> partitionColumns)
       throws SemanticException {
-    if (oldView.getPartCols().isEmpty() || 
oldView.getPartCols().equals(partitionColumns)) {
+    if (oldView.getEffectivePartCols().isEmpty() || 
oldView.getEffectivePartCols().equals(partitionColumns)) {

Review Comment:
   i don't think that is needed in create commands



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to