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

 ##########
 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:
   evaluateStmtProperties() is typically called by alterIndex and addColumn, 
but no harm in making it more general.

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