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


##########
phoenix-core-client/src/main/java/org/apache/phoenix/schema/MetaDataClient.java:
##########
@@ -2529,7 +2529,11 @@ private PTable createTableInternal(CreateTableStatement 
statement, byte[][] spli
       } else {
         ttlFromHierarchy = checkAndGetTTLFromHierarchy(parent, tableName);
         if (!ttlFromHierarchy.equals(TTL_EXPRESSION_NOT_DEFINED)) {
-          ttlFromHierarchy.validateTTLOnCreate(connection, statement, parent, 
tableProps);
+          if (parent.hasConditionalTTL() && !parent.isStrictTTL()) {
+            ttlFromHierarchy = TTL_EXPRESSION_NOT_DEFINED;

Review Comment:
   I thought this change was only for uncovered indexes. Isn't this change 
going to impact views and covered indexes also ? Any child view or covered 
index will not inherit from its parent having a relaxed conditional ttl . 



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