deshanxiao commented on PR #1413:
URL: https://github.com/apache/orc/pull/1413#issuecomment-1434153494

   Hi @HuwCampbell 
   
   In [  flushDictionary 
](https://github.com/apache/orc/blob/d403e11b7eab126259fb0683c0eb5c6131fd347b/java/core/src/java/org/apache/orc/impl/writer/StringBaseTreeWriter.java#L155)
   
   ``` java
       context.writeBytes(stringOutput);
       lengthOutput.write(context.getLength());
       dumpOrder[context.getOriginalPosition()] = currentId++;
   ```
   
   I saw that the `StringBaseTreeWriter` write `DICTIONARY_DATA` first and then 
write the `LENGTH`, right?


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

Reply via email to