Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4.0
-
None
Description
Currently, the parquet metadata cache file is read eagerly during creation of the DrillTable (as part of ParquetFormatMatcher.isReadable()). This is not desirable from performance standpoint since there are scenarios where we want to do some up-front optimizations - e.g. directory-based partition pruning (see DRILL-2517) or potential limit 0 optimization etc. - and in such situations it is better to do lazy reading of the metadata cache file.
This is a placeholder to perform such delayed reading since it is needed for the aforementioned optimizations.