alamb commented on code in PR #9196:
URL: https://github.com/apache/arrow-rs/pull/9196#discussion_r2701258856
##########
arrow-ipc/src/writer.rs:
##########
@@ -1192,9 +1203,11 @@ impl<W: Write> FileWriter<W> {
let mut fbb = FlatBufferBuilder::new();
let dictionaries = fbb.create_vector(&self.dictionary_blocks);
let record_batches = fbb.create_vector(&self.record_blocks);
- let mut dictionary_tracker = DictionaryTracker::new(true);
+
+ // dictionaries are already written, so we can reset dictionary
tracker to reuse for schema
+ self.dictionary_tracker.clear();
Review Comment:
👍
--
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]