github-advanced-security[bot] commented on code in PR #858:
URL: 
https://github.com/apache/incubator-baremaps/pull/858#discussion_r1621472777


##########
baremaps-geoparquet/src/main/java/org/apache/baremaps/geoparquet/GeoParquetReader.java:
##########
@@ -135,6 +120,29 @@
     return files;
   }
 
+  private FileInfo buildFileInfo(FileStatus file) throws IOException {
+    long recordCount;
+    MessageType messageType;
+    Map<String, String> keyValueMetadata;
+    try (ParquetFileReader reader = ParquetFileReader.open(configuration, 
file.getPath())) {

Review Comment:
   ## Deprecated method or constructor invocation
   
   Invoking [ParquetFileReader.open](1) should be avoided because it has been 
deprecated.
   
   [Show more 
details](https://github.com/apache/incubator-baremaps/security/code-scanning/1434)



-- 
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]

Reply via email to