jihoonson commented on a change in pull request #6094: Introduce SystemSchema
tables (#5989)
URL: https://github.com/apache/incubator-druid/pull/6094#discussion_r221125137
##########
File path:
sql/src/main/java/org/apache/druid/sql/calcite/schema/DruidSchema.java
##########
@@ -455,22 +469,23 @@ private void removeSegment(final DataSegment segment)
return retVal;
}
- private void setSegmentSignature(final DataSegment segment, final
RowSignature rowSignature)
+ private void setSegmentSignature(final DataSegment segment, final
SegmentMetadataHolder segmentMetadataHolder)
{
synchronized (lock) {
- segmentSignatures.computeIfAbsent(segment.getDataSource(), x -> new
TreeMap<>(SEGMENT_ORDER))
- .put(segment, rowSignature);
+ segmentMetadataInfo.computeIfAbsent(segment.getDataSource(), x -> new
ConcurrentSkipListMap<>(SEGMENT_ORDER))
+ .put(segment, segmentMetadataHolder);
Review comment:
Please check indentation.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]