ChinmaySKulkarni commented on a change in pull request #599: Create columns in 
SYSCAT and fields in PTable.proto for view TTL support
URL: https://github.com/apache/phoenix/pull/599#discussion_r345971059
 
 

 ##########
 File path: 
phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
 ##########
 @@ -4896,6 +4954,20 @@ else if (metaProperties.getImmutableStorageSchemeProp() 
!= table.getImmutableSto
                 metaProperties.setNonTxToTx(true);
             }
         }
+
+        if (metaProperties.getViewTTL() != null) {
+            if (table.getType() == PTableType.INDEX) {
 
 Review comment:
   Shouldn't the condition be `if(table.getType() != PTableType.VIEW)`?
   

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

Reply via email to