Jackie-Jiang commented on code in PR #8894:
URL: https://github.com/apache/pinot/pull/8894#discussion_r898606590


##########
pinot-core/src/main/java/org/apache/pinot/core/common/datatable/DataTableBuilder.java:
##########
@@ -99,29 +97,32 @@ public class DataTableBuilder {
       new DataOutputStream(_variableSizeDataByteArrayOutputStream);
 
   private int _numRows;
+  private int _numDictionaryEntries;

Review Comment:
   This count is not accurate. It doesn't count the same value from different 
column



##########
pinot-core/src/main/java/org/apache/pinot/core/common/datatable/DataTableBuilder.java:
##########
@@ -99,29 +97,32 @@ public class DataTableBuilder {
       new DataOutputStream(_variableSizeDataByteArrayOutputStream);
 
   private int _numRows;
+  private int _numDictionaryEntries;

Review Comment:
   For V4, let's directly update a single `Map<String, Integer>` dictionary and 
a String[] reverse dictionary



-- 
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]

Reply via email to