Skip to content

Commit

Permalink
Add test case for reading S3 data (apache#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer authored Apr 21, 2021
1 parent d3950cf commit db28cb8
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit db28cb8

Please sign in to comment.