clintropolis commented on code in PR #13803:
URL: https://github.com/apache/druid/pull/13803#discussion_r1141643536
##########
processing/src/main/java/org/apache/druid/segment/nested/GlobalDictionaryEncodedFieldColumnWriter.java:
##########
@@ -231,9 +252,16 @@ public void writeTo(int finalRowCount, FileSmoosher
smoosher) throws IOException
@Override
public long getSerializedSize() throws IOException
{
+ final long arraySize;
+ if (arrayElements.size() > 0) {
+ arraySize = arrayElementDictionaryWriter.getSerializedSize() +
arrayElementIndexWriter.getSerializedSize();
+ } else {
+ arraySize = 0;
+ }
Review Comment:
yeah i've got a whole pile of stats i'd like to track but haven't got to
yet, will add this one to the list.
--
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]