Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-4176

TableSchemaResolver fetches/parses HoodieCommitMetadata multiple times while extracting Schema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.11.0
    • 0.11.1
    • None

    Description

      We've recently discovered that TableSchemaResolver does a lot of throw-away work during initialization and basic schema reading performed by Spark Datasource (see screenshot).

      This poses a problem for large tables where HoodieCommitMetadata is of non-trivial size (100s of Mbs).

      We'd minimize amount of throw-away work done by `TableSchemaResolver` and try to re-use read/parsed commits' metadata as much as possible.

      Attachments

        Issue Links

          Activity

            People

              alexey.kudinkin Alexey Kudinkin
              alexey.kudinkin Alexey Kudinkin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: