Skip to content

Commit

Permalink
Add small change
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailhammounou committed Mar 16, 2024
1 parent f89b550 commit 6a7d5a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/db2ixf/ixf.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def __parse_data_record(self) -> OrderedDict:
f"data type {col_type}"
raise UnknownDataTypeException(msg)

collected_data: Any = collector(
collected_data = collector(
c, self.current_data_record["IXFDCOLS"], pos
)
self.current_row[col_name] = collected_data
Expand Down Expand Up @@ -523,6 +523,7 @@ def __iter_pyarrow_record_batch(

if batch:
yield to_pyarrow_record_batch(batch, self.pyarrow_schema)
batch.clear()

def iter_pyarrow_record_batch(
self,
Expand Down

0 comments on commit 6a7d5a4

Please sign in to comment.