alsugiliazova opened a new issue, #1979:
URL: https://github.com/apache/iceberg-python/issues/1979
### Apache Iceberg version
None
### Please describe the bug 🐞
After upgrading to 0.9.1 from 0.9.0 I started to see this while inserting
values to decimal column:
```
File
"/home/alsu/.local/lib/python3.10/site-packages/pyiceberg/table/__init__.py",
line 1229, in append
tx.append(df=df,
snapshot_properties=snapshot_properties)
File
"/home/alsu/.local/lib/python3.10/site-packages/pyiceberg/table/__init__.py",
line 473, in append
data_files = list(
File
"/home/alsu/.local/lib/python3.10/site-packages/pyiceberg/io/pyarrow.py", line
2602, in _dataframe_to_data_files
yield from write_file(
File
"/usr/lib/python3.10/concurrent/futures/_base.py", line 621, in result_iterator
yield _result_or_cancel(fs.pop())
File
"/usr/lib/python3.10/concurrent/futures/_base.py", line 319, in
_result_or_cancel
return fut.result(timeout)
File
"/usr/lib/python3.10/concurrent/futures/_base.py", line 458, in result
return self.__get_result()
File
"/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File
"/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File
"/home/alsu/.local/lib/python3.10/site-packages/pyiceberg/io/pyarrow.py", line
2414, in write_parquet
statistics =
data_file_statistics_from_parquet_metadata(
File
"/home/alsu/.local/lib/python3.10/site-packages/pyiceberg/io/pyarrow.py", line
2338, in data_file_statistics_from_parquet_metadata
col_aggs[field_id] = StatsAggregator(
File
"/home/alsu/.local/lib/python3.10/site-packages/pyiceberg/io/pyarrow.py", line
1931, in __init__
raise ValueError(
ValueError: Unexpected physical type
FIXED_LEN_BYTE_ARRAY for decimal(9, 2), expected INT32
```
### Willingness to contribute
- [ ] I can contribute a fix for this bug independently
- [ ] I would be willing to contribute a fix for this bug with guidance from
the Iceberg community
- [x] I cannot contribute a fix for this bug at this time
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]