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


##########
phoenix-core-client/src/main/java/org/apache/phoenix/schema/MetaDataClient.java:
##########
@@ -5163,8 +5193,8 @@ private void addTableToCache(MetaDataMutationResult 
result, boolean alwaysHitSer
 
     private void addTableToCache(MetaDataMutationResult result, boolean 
alwaysHitServerForAncestors,
                                  long timestamp) throws SQLException {
-        addColumnsAndIndexesFromAncestors(result, null, false, 
alwaysHitServerForAncestors);
-        PTable table = result.getTable();
+        addColumnsIndexesAndLastDDLTimestampsFromAncestors(result, null, 
false, alwaysHitServerForAncestors);
+        PTable table = updateIndexesWithAncestorMap(result.getTable());

Review Comment:
   The PTable in result is now different from the table added to cache



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