proxima-platform icon indicating copy to clipboard operation
proxima-platform copied to clipboard

Enhancement: Bulk FileFormat should knows requested attributes during read path

Open LesTR opened this issue 4 years ago • 0 comments

Currently we have this signature in FileFormat interface

Reader openReader(Path path, EntityDescriptor entity) throws IOException;

Which reads all attributes stored in path and then it is filtered by BlogLogReader just for requested.

This solution can be suboptimal for some FileFormats (eq parquet), where we can use for example push down filters and read just block which contains requested attributes.

We should probably pass list of requested attributes directly into FileFormat which allows to read file more effectively.

LesTR avatar Feb 19 '21 08:02 LesTR