tkhurana commented on code in PR #1807: URL: https://github.com/apache/phoenix/pull/1807#discussion_r1482124012
########## phoenix-core-client/src/main/java/org/apache/phoenix/schema/MetaDataClient.java: ########## @@ -716,9 +716,10 @@ public MetaDataMutationResult updateCache(PName origTenantId, String schemaName, // In this case, we update the parent table which may in turn pull // in indexes to add to this table. long resolvedTime = TransactionUtil.getResolvedTime(connection, result); - if (addColumnsAndIndexesFromAncestors(result, resolvedTimestamp, + if (addColumnsIndexesAndLastDDLTimestampsFromAncestors(result, resolvedTimestamp, true, false)) { - connection.addTable(result.getTable(), resolvedTime); + connection.addTable(updateIndexesWithAncestorMap(result.getTable()), Review Comment: @palashc You need to call result.setTable also here -- 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