Skip to content

Commit

Permalink
[Update] fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU committed Jul 6, 2023
1 parent 97e622f commit 2f764cd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions python/pyarrow/_parquet.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1612,11 +1612,10 @@ cdef shared_ptr[WriterProperties] _create_writer_properties(

# page index

if isinstance(write_page_index, bool):
if write_page_index:
props.enable_write_page_index()
else:
props.disable_write_page_index()
if write_page_index:
props.enable_write_page_index()
else:
props.disable_write_page_index()

properties = props.build()

Expand Down

0 comments on commit 2f764cd

Please sign in to comment.