myz540 commented on issue #1790:
URL: 
https://github.com/apache/iceberg-python/issues/1790#issuecomment-2719439867

   > [@myz540](https://github.com/myz540) can you double check if you're using 
the latest version?
   
   my `pyarrow==16.0.0` and `pyiceberg==0.8.1`
   
   I upgraded them to their latest versions and now have a new weird error
   
   ```
   Traceback (most recent call last):
     File "/Users/mikezhong/dev/pbmc/scripts/upload_lems.py", line 137, in 
<module>
       transaction.append(smol_table)
     File 
"/Users/mikezhong/.venv/main/lib/python3.11/site-packages/pyiceberg/table/__init__.py",
 line 473, in append
       data_files = list(
                    ^^^^^
     File 
"/Users/mikezhong/.venv/main/lib/python3.11/site-packages/pyiceberg/io/pyarrow.py",
 line 2583, in _dataframe_to_data_files
       partitions = _determine_partitions(spec=table_metadata.spec(), 
schema=table_metadata.schema(), arrow_table=df)
                    
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/Users/mikezhong/.venv/main/lib/python3.11/site-packages/pyiceberg/io/pyarrow.py",
 line 2630, in _determine_partitions
       name, 
partition.transform.pyarrow_transform(source_field.field_type)(arrow_table[source_field.name])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/Users/mikezhong/.venv/main/lib/python3.11/site-packages/pyiceberg/transforms.py",
 line 905, in pyarrow_transform
       from pyiceberg_core import transform as pyiceberg_core_transform
   ModuleNotFoundError: No module named 'pyiceberg_core'
   ```


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to