You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SortingColumn(column_index=0, descending=False, nulls_first=False)
...
File "pyarrow/_parquet.pyx", line 892, in pyarrow._parquet.FileMetaData.to_dict
File "pyarrow/_parquet.pyx", line 790, in pyarrow._parquet.RowGroupMetaData.to_dict
AttributeError: 'pyarrow._parquet.SortingColumn' object has no attribute 'to_dict'
Component(s)
Parquet, Python
The text was updated successfully, but these errors were encountered:
@tlm365 Can you send a reply here? I don't know why doesn't this pr be not assigned :-( Maybe you can first "take" or reply here and I'd like assign this to you
AlenkaF
changed the title
'pyarrow._parquet.SortingColumn' object has no attribute 'to_dict'
[Python] 'pyarrow._parquet.SortingColumn' object has no attribute 'to_dict'
May 20, 2024
…#41704)
### Rationale for this change
Resolves#41699 .
### What changes are included in this PR?
Add `to_dict` method and test case
### Are these changes tested?
Yes
### Are there any user-facing changes?
No
* GitHub Issue: #41699
Authored-by: Tai Le Manh <manhtai.lmt@gmail.com>
Signed-off-by: AlenkaF <frim.alenka@gmail.com>
…Column (apache#41704)
### Rationale for this change
Resolvesapache#41699 .
### What changes are included in this PR?
Add `to_dict` method and test case
### Are these changes tested?
Yes
### Are there any user-facing changes?
No
* GitHub Issue: apache#41699
Authored-by: Tai Le Manh <manhtai.lmt@gmail.com>
Signed-off-by: AlenkaF <frim.alenka@gmail.com>
Describe the bug, including details regarding any error messages, version, and platform.
When a
SortingColumn
is present, the metadata of aParquetFile
can not be serialized withto_dict()
becauseSortingColumn
is missing this method.results in :
Component(s)
Parquet, Python
The text was updated successfully, but these errors were encountered: