palashc commented on code in PR #2357:
URL: https://github.com/apache/phoenix/pull/2357#discussion_r2743130885


##########
phoenix-core-client/src/main/java/org/apache/phoenix/schema/MetaDataClient.java:
##########
@@ -6413,7 +6417,11 @@ private boolean evaluateStmtProperties(MetaProperties 
metaProperties,
       }
       if (metaProperties.getTTL() != table.getTTLExpression()) {
         TTLExpression newTTL = metaProperties.getTTL();
-        newTTL.validateTTLOnAlter(connection, table);
+        boolean isStrictTTL =
+          metaProperties.isStrictTTL() != null ? metaProperties.isStrictTTL : 
table.isStrictTTL();

Review Comment:
   Yeah, if we are not altering strict TTL in the Alter statement then we 
should fallback to table's strict ttl value, right? 



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

Reply via email to