paul-rogers commented on a change in pull request #2026: DRILL-7330: Implement metadata usage for all format plugins URL: https://github.com/apache/drill/pull/2026#discussion_r394692519
########## File path: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/scan/file/FileMetadata.java ########## @@ -31,9 +32,15 @@ private final Path filePath; private final String[] dirPath; + private final FileSystem fs; public FileMetadata(Path filePath, Path selectionRoot) { + this(filePath, selectionRoot, null); + } + + public FileMetadata(Path filePath, Path selectionRoot, FileSystem fs) { Review comment: Can we add a comment to relate these? The `filePath` must be fully qualified for the file system `fs`. The `selectionRoot`, if provided, must be a prefix of `filePath`. `filePath` should not include the file system prefix. (I *think* those are the relationships, but your understanding is fresh, is this correct?) ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services