pitrou commented on issue #46814:
URL: https://github.com/apache/arrow/issues/46814#issuecomment-3345696573
@mrd0ll4r I'm not sure it's the same thing, but I can reproduce some kind of
data corruption from PyArrow:
```python
>>> from pyarrow import dataset as ds
>>> d =
ds.dataset("/home/antoine/arrow/data/issue_46814/labeler_logs_clean_parquet/")
>>> tab = d.to_table()
>>> tab.num_rows
58766107
>>> tab.validate(full=True)
>>> g = tab.group_by('uri')
>>> grouped = g.aggregate([])
>>> grouped.num_rows
48794031
>>> grouped.validate(full=True)
Traceback (most recent call last):
Cell In[17], line 1
grouped.validate(full=True)
File pyarrow/table.pxi:4253 in pyarrow.lib.Table.validate
check_status(self.table.ValidateFull())
File pyarrow/error.pxi:92 in pyarrow.lib.check_status
raise convert_status(status)
ArrowInvalid: Column 0: In chunk 1023: Invalid: Negative offsets in binary
array
/home/antoine/arrow/dev/cpp/src/arrow/array/validate.cc:168
ValidateBinaryLike(type)
/home/antoine/arrow/dev/cpp/src/arrow/table.cc:196 ValidateMeta()
```
--
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]