Skip to content

Commit

Permalink
fix: use int64 for number_of_units
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Nov 14, 2024
1 parent 2c7d0d7 commit 824effa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openfoodfacts_exports/exports/parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
pa.struct(
[
pa.field("material", pa.string(), nullable=True),
pa.field("number_of_units", pa.int32(), nullable=True),
pa.field("number_of_units", pa.int64(), nullable=True),
pa.field("quantity_per_unit", pa.string(), nullable=True),
pa.field("quantity_per_unit_unit", pa.string(), nullable=True),
pa.field("quantity_per_unit_value", pa.string(), nullable=True),
Expand Down

0 comments on commit 824effa

Please sign in to comment.