pitrou commented on a change in pull request #8343:
URL: https://github.com/apache/arrow/pull/8343#discussion_r500272157



##########
File path: python/pyarrow/tests/test_dataset.py
##########
@@ -2124,6 +2124,23 @@ def test_dataset_project_only_partition_columns(tempdir):
     assert all_cols.column('part').equals(part_only.column('part'))
 
 
[email protected]
[email protected]
+def test_dataset_project_null_column(tempdir):
+    import pandas as pd
+    df = pd.DataFrame({"col": np.array([None, None, None], dtype='object')})
+
+    f = tempdir / "test_dataset_project_null_column.parquet"
+    df.to_parquet(f, engine="pyarrow")
+
+    import pyarrow as pa
+    import pyarrow.dataset as ds

Review comment:
       These two imports should be unnecessary?




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to