Yohahaha commented on PR #11233:
URL: 
https://github.com/apache/incubator-gluten/pull/11233#issuecomment-3663998974

   ```
   def validateMetadata(): Option[String] = {
         if (format != ParquetReadFormat || rootPaths.isEmpty) {
           // Only Parquet is needed for metadata validation so far.
           return None
         }
         val fileLimit = GlutenConfig.get.parquetMetadataFallbackFileLimit
           .max(GlutenConfig.get.parquetEncryptionValidationFileLimit)
         val parquetOptions = new 
ParquetOptions(CaseInsensitiveMap(properties), SQLConf.get)
         val parquetMetadataValidationResult =
           ParquetMetadataUtils.validateMetadata(
             format,
             rootPaths,
             hadoopConf,
             parquetOptions,
             fileLimit)
         parquetMetadataValidationResult.map(
           reason => s"Detected unsupported metadata in parquet files: $reason")
       }
   ```
   
   The issue still exists, the rootPaths maybe huge in large partition table, 
too many list call happens..


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to