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


##########
phoenix-core-client/src/main/java/org/apache/phoenix/schema/MetaDataClient.java:
##########
@@ -898,9 +898,9 @@ public MetaDataMutationResult updateCache(PName tenantId, 
List<String> functionN
      * @return true if the PTable contained by result was modified and false 
otherwise
      * @throws SQLException if the physical table cannot be found
      */
-    private boolean addColumnsAndIndexesFromAncestors(MetaDataMutationResult 
result, Long resolvedTimestamp,
-                                                      boolean 
alwaysAddAncestorColumnsAndIndexes,
-                                                      boolean 
alwaysHitServerForAncestors)
+    private boolean 
addColumnsIndexesAndLastDDLTimestampsFromAncestors(MetaDataMutationResult 
result, Long resolvedTimestamp,

Review Comment:
   > I am assuming this method is called for all types of index.
   
   Yes, but I think it is called only when the index is directly being used in 
the plan. Thus, we might have to populate the map for indexes when we add an 
index to the cache in `PMetaDataImpl.addTable`



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