Skip to content

Commit

Permalink
Fixed a null pointer exception in reading parquet metadata files (#5103)
Browse files Browse the repository at this point in the history
  • Loading branch information
malhotrashivam authored Feb 1, 2024
1 parent 4ec4cef commit 4573e3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ private URI getURI() {
if (uri != null) {
return uri;
}
if (columnChunk.isSetFile_path() && FILE_URI_SCHEME.equals(uri.getScheme())) {
if (columnChunk.isSetFile_path() && FILE_URI_SCHEME.equals(rootURI.getScheme())) {
return uri = Path.of(rootURI).resolve(columnChunk.getFile_path()).toUri();
} else {
// TODO(deephaven-core#5066): Add support for reading metadata files from non-file URIs
Expand Down

0 comments on commit 4573e3f

Please sign in to comment.