Skip to content

File group reader loads the timeline on executors for tables before version 8 #20074

Description

@yihua

The file group reader and the log and buffer code it reaches take a HoodieTableMetaClient but use only the table config, the base path, a storage factory and, in two places, the timeline. Those two places (the committed-instant check on log blocks of tables before version 8, and the schema-history lookup for schema-on-read) load the timeline on the executor, so every task repeats that .hoodie I/O and tasks of one query can see different timelines.

Proposal: pass the reader a small table state with the table config, the base path, and the committed instants and schema history captured on the driver where the timeline is already loaded.

part of #20064

PR: #20078

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:performancePerformance optimizationsarea:readerReader core functionalitypriority:highSignificant impact; potential bugstype:improvementImprovements to existing functionality

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions