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


##########
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:
   Yeah let me fix this



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