jihoonson commented on a change in pull request #6094: Introduce SystemSchema
tables (#5989)
URL: https://github.com/apache/incubator-druid/pull/6094#discussion_r223202782
##########
File path:
sql/src/main/java/org/apache/druid/sql/calcite/schema/DruidSchema.java
##########
@@ -539,7 +553,18 @@ private static RowSignature analysisToRowSignature(final
SegmentAnalysis analysi
rowSignatureBuilder.add(entry.getKey(), valueType);
}
-
return rowSignatureBuilder.build();
}
+
+ // note this is a mutable map accessed only by SystemSchema
Review comment:
Why does this need to be mutable? I don't see any places mutating this map.
----------------------------------------------------------------
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]