Description
if (useDictionaryEncoding) { rowOutput.write(dumpOrder[rows.get(i)]); } else { dictionary.getText(text, rows.get(i)); directStreamOutput.write(text.getBytes(), 0, text.getLength()); lengthOutput.write(text.getLength()); }
The code to flush first loads (copies) the data into a Text object and then writes it to the direct stream. Instead, pass the directStream to the dictionary and have it write directly to the stream instead of an intermediate Text object.
Attachments
Issue Links
- causes
-
ORC-954 Fix Javadoc generation failure
- Closed
- links to