raulcd commented on code in PR #47087:
URL: https://github.com/apache/arrow/pull/47087#discussion_r2219521416


##########
python/pyarrow/tests/parquet/test_parquet_writer.py:
##########
@@ -448,3 +448,46 @@ def 
test_parquet_content_defined_chunking_parameters(tempdir):
     # using min_chunk_size, max_chunk_size and norm_level
     cdc_options = {"min_chunk_size": 32_768, "max_chunk_size": 65_536, 
"norm_level": 1}
     pq.write_table(table, path, use_content_defined_chunking=cdc_options)
+
+
+@pytest.mark.pandas
+def test_parquet_writer_properties_access():
+    df = _test_dataframe(100)
+    table = pa.Table.from_pandas(df, preserve_index=False)

Review Comment:
   not specifically related to this PR but would be nice to have an utility 
function to create an Arrow table directly instead of having to go through 
pandas. This test doesn't really have to require pandas but the utility 
function is handy. We can create an issue to move some of those tests to use a 
new utility function and remove the `@pytest.mark.pandas` for some of those 
tests. @AlenkaF what do you think? It could be a `good-first-issue`



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to