jorisvandenbossche commented on a change in pull request #9470:
URL: https://github.com/apache/arrow/pull/9470#discussion_r575324170



##########
File path: python/pyarrow/tests/parquet/test_dataset.py
##########
@@ -352,6 +352,25 @@ def test_filters_cutoff_exclusive_datetime(tempdir, 
use_legacy_dataset):
     assert result_df['dates'].values == expected
 
 
[email protected]
+def test_filters_inclusive_datetime(tempdir):
+    # ARROW-11480
+    path = tempdir / 'timestamps.parquet'
+
+    pd.DataFrame({
+        "dates": pd.date_range("2020-01-01", periods=10, freq="D"),
+        "id": range(10)
+    }).to_parquet(path, use_deprecated_int96_timestamps=True)
+
+    import datetime

Review comment:
       Small nit: datetime is already imported at the top, so can be removed 
here




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