Skip to content

Commit

Permalink
update format
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU committed May 24, 2024
1 parent 499f230 commit 48d9cfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyarrow/_parquet.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2189,7 +2189,7 @@ cdef class ParquetWriter(_Weakrefable):
with nogil:
check_status(self.writer.get()
.WriteTable(deref(ctable), c_row_group_size))

def add_key_value_metadata(self, key_value_metadata):
cdef:
shared_ptr[const CKeyValueMetadata] c_metadata
Expand Down
1 change: 1 addition & 0 deletions python/pyarrow/tests/parquet/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -932,6 +932,7 @@ def test_deprecated_use_legacy_dataset(tempdir):
with pytest.warns(FutureWarning, match=msg):
pq.ParquetDataset(path, use_legacy_dataset=False)


def test_append_key_value_metadata(tempdir):
table = pa.Table.from_arrays([pa.array([], type='int32')], ['f0'])
path = tempdir / 'metadata.parquet'
Expand Down

0 comments on commit 48d9cfb

Please sign in to comment.