Jackie-Jiang commented on a change in pull request #4774: Refactor virtualColumn
URL: https://github.com/apache/incubator-pinot/pull/4774#discussion_r349265067
##########
File path:
pinot-core/src/main/java/org/apache/pinot/core/indexsegment/immutable/ImmutableSegmentLoader.java
##########
@@ -119,16 +118,14 @@ public static ImmutableSegment load(File indexDir,
IndexLoadingConfig indexLoadi
}
// Ensure that the schema has the virtual columns added
- VirtualColumnProviderFactory.addBuiltInVirtualColumnsToSchema(schema);
+
VirtualColumnProviderFactory.addBuiltInVirtualColumnsToSegmentSchema(schema,
NetUtil.getHostnameOrAddress(), segmentName);
Review comment:
(nit) line too long
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]