diff --git a/java/dataset/src/test/java/org/apache/arrow/dataset/jni/NativeDatasetTest.java b/java/dataset/src/test/java/org/apache/arrow/dataset/jni/NativeDatasetTest.java index eacbc01d4a323..63349d7d61f05 100644 --- a/java/dataset/src/test/java/org/apache/arrow/dataset/jni/NativeDatasetTest.java +++ b/java/dataset/src/test/java/org/apache/arrow/dataset/jni/NativeDatasetTest.java @@ -114,6 +114,15 @@ public void testLocalFs() { testDatasetFactoryEndToEnd(discovery, 1, 10, 1000); } + @Test + public void testS3fs() { + String path = "s3://intel-bigdata/2020/06"; + DatasetFactory discovery = new SingleFileDatasetFactory( + new RootAllocator(Long.MAX_VALUE), NativeMemoryPool.getDefault(), FileFormat.PARQUET, + path); + testDatasetFactoryEndToEnd(discovery, 1, 10, 1000); + } + @Test public void testSplitFile() { String path = sampleParquetLocal();