Drabble commented on code in PR #862:
URL:
https://github.com/apache/incubator-baremaps/pull/862#discussion_r1625057414
##########
baremaps-geoparquet/src/main/java/org/apache/baremaps/geoparquet/GeoParquetReader.java:
##########
@@ -95,13 +97,27 @@ private synchronized Map<FileStatus, FileInfo> files()
throws URISyntaxException
try {
if (files == null) {
files = new HashMap<>();
- Path globPath = new Path(uri.getPath());
- URI rootUri = getRootUri(uri);
- FileSystem fileSystem = FileSystem.get(rootUri, configuration);
-
- // Iterate over all the files in the path
- for (FileStatus file : fileSystem.globStatus(globPath)) {
- files.put(file, buildFileInfo(file));
Review Comment:
I think I was just using an old version and didn't merge correctly. I had to
do a few fixes for S3 files to work. I will try to rollback tomorrow.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]