Jackie-Jiang commented on code in PR #15690:
URL: https://github.com/apache/pinot/pull/15690#discussion_r2071973613
##########
pinot-server/src/main/java/org/apache/pinot/server/starter/helix/HelixInstanceDataManager.java:
##########
@@ -297,6 +298,7 @@ private TableDataManager createTableDataManager(String
tableNameWithType) {
}
Schema schema = ZKMetadataProvider.getTableSchema(_propertyStore,
tableNameWithType);
Preconditions.checkState(schema != null, "Failed to find schema for table:
%s", tableNameWithType);
+ TimestampIndexUtils.applyTimestampIndex(tableConfig, schema);
Review Comment:
Yes. We need to apply timestamp index config rewrite so that the cached
table config and schema are always consistent. The same logic is applied when
creating `IndexLoadingConfig`
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]