We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9297732 commit 8c63f4dCopy full SHA for 8c63f4d
1 file changed
meshtastic/slog/arrow.py
@@ -46,7 +46,9 @@ def _write(self):
46
# only need to look at the first row to learn the schema
47
self.set_schema(pa.Table.from_pylist([self.new_rows[0]]).schema)
48
49
- self.writer.write_batch(pa.RecordBatch.from_pylist(self.new_rows))
+ self.writer.write_batch(
50
+ pa.RecordBatch.from_pylist(self.new_rows, schema=self.schema)
51
+ )
52
self.new_rows = []
53
54
def add_row(self, row_dict: dict):
0 commit comments