Re: [PR] PHOENIX-7040 (ADDENDUM): Support TTL for views using the new column TTL in SYSTEM.CATALOG [phoenix]

2024-02-19 Thread via GitHub


lokiore merged PR #1782:
URL: https://github.com/apache/phoenix/pull/1782


-- 
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: issues-unsubscr...@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] PHOENIX-7040 (ADDENDUM): Support TTL for views using the new column TTL in SYSTEM.CATALOG [phoenix]

2024-02-06 Thread via GitHub


jpisaac commented on code in PR #1782:
URL: https://github.com/apache/phoenix/pull/1782#discussion_r1480802465


##
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java:
##
@@ -1617,66 +1620,98 @@ private PTable getTableFromCells(List 
tableCellList, List> allC
 return builder.build();
 }
 
+/**
+ * Method to return TTL value defined at current level ot up the Hierarchy 
of the view.

Review Comment:
   nit: typo "or"?



##
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java:
##
@@ -1617,66 +1620,98 @@ private PTable getTableFromCells(List 
tableCellList, List> allC
 return builder.build();
 }
 
+/**
+ * Method to return TTL value defined at current level ot up the Hierarchy 
of the view.
+ * @param viewKey Key of the view for which we have to find TTL
+ * @param clientTimeStamp Client TimeStamp
+ * @return TTL value for a given view, if nothing is defined anywhere then 
return
+ * TTL_NOT_DEFINED(0).
+ * @throws IOException
+ * @throws SQLException
+ */
+

Review Comment:
   nit: scanTTLFromParent should be called getTTLFromHierarchy WDT?



-- 
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: issues-unsubscr...@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] PHOENIX-7040 (ADDENDUM): Support TTL for views using the new column TTL in SYSTEM.CATALOG [phoenix]

2024-01-04 Thread via GitHub


lokiore commented on PR #1782:
URL: https://github.com/apache/phoenix/pull/1782#issuecomment-1877735841

   FYI @jpisaac 


-- 
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: issues-unsubscr...@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org