-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify layout of grouping files (#4525)
Also, did some renaming from grouping->indexing
- Loading branch information
1 parent
242742c
commit bc26812
Showing
7 changed files
with
305 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 8 additions & 5 deletions
13
...ions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetFileHelper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
package io.deephaven.parquet.table.layout; | ||
|
||
import java.nio.file.Path; | ||
import io.deephaven.parquet.table.ParquetTableWriter; | ||
|
||
import static io.deephaven.parquet.table.ParquetTableWriter.PARQUET_FILE_EXTENSION; | ||
import java.nio.file.Path; | ||
|
||
final class ParquetFileHelper { | ||
|
||
public static boolean fileNameMatches(Path path) { | ||
return path.getFileName().toString().endsWith(PARQUET_FILE_EXTENSION); | ||
/** | ||
* Used as a filter to select relevant parquet files while reading all files in a directory. | ||
*/ | ||
static boolean fileNameMatches(final Path path) { | ||
final String fileName = path.getFileName().toString(); | ||
return fileName.endsWith(ParquetTableWriter.PARQUET_FILE_EXTENSION) && fileName.charAt(0) != '.'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.