raulcd commented on code in PR #46426:
URL: https://github.com/apache/arrow/pull/46426#discussion_r2086745327
##########
python/pyarrow/parquet/core.py:
##########
@@ -1020,7 +1019,7 @@ def __init__(self, where, schema, filesystem=None,
sink = where
self._metadata_collector = options.pop('metadata_collector', None)
engine_version = 'V2'
- self.writer = _parquet.ParquetWriter(
+ self.writer = ParquetWriter(
Review Comment:
Thanks @pitrou ! We have two definitions of `ParquetWriter` and wrongly
missed that.
This still doesn't really solve the problem I am facing because if I avoid
importing from `pyarrow.parquet` or `pyarrow.parquet.core` and directly import
`pyarrow._parquet` I get the same error:
```
>>> import pyarrow._parquet
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pyarrow/_parquet.pyx", line 1, in init pyarrow._parquet
# Licensed to the Apache Software Foundation (ASF) under one
ModuleNotFoundError: No module named 'pyarrow.includes.libparquet'
```
--
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]