Skip to content

Commit 41e9e59

Browse files
committed
Fix issue with get_pyarrow_type_for_geopandas
1 parent ce39903 commit 41e9e59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2525

2626
### Fixed
2727

28-
- ...
28+
- Fix issue with `get_pyarrow_type_for_geopandas`
2929

3030
## [v0.3.2] - 2024-04-12
3131

fiboa_cli/parquet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def create_parquet(data, columns, collection, output_file, config, missing_schem
5151
else:
5252
pd_type = str(data[name].dtype) # pandas data type
5353
try:
54-
pa_type = get_pyarrow_type_for_geopandas(pd_type, required) # pyarrow data type
54+
pa_type = get_pyarrow_type_for_geopandas(pd_type) # pyarrow data type
5555
if pa_type is not None:
5656
log(f"{name}: No schema defined, converting {pd_type} to nullable {pa_type}", "warning")
5757
field = get_pyarrow_field(name, pa_type = pa_type)

0 commit comments

Comments
 (0)