palashc commented on code in PR #1807:
URL: https://github.com/apache/phoenix/pull/1807#discussion_r1480419119
##########
phoenix-core-client/src/main/java/org/apache/phoenix/schema/MetaDataClient.java:
##########
@@ -940,8 +940,13 @@ private boolean
addColumnsAndIndexesFromAncestors(MetaDataMutationResult result,
if (!alwaysAddAncestorColumnsAndIndexes &&
!result.wasUpdated() && !parentResult.wasUpdated()) {
return false;
}
- result.setTable(ViewUtil.addDerivedColumnsAndIndexesFromParent(
- connection, table, parentTable));
+
+ PTable pTableWithDerivedColumnsAndIndexes
Review Comment:
Made this change, it was required to make sure the parent of an index table
was present in cache so that we can add the ancestor map to the index.
--
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]