apache / apache/gravitino

[Improvement] Add switch to load the latest schema for a external Lance table

Open
#9,786 0 comments 0 reactions 0 assignees View on GitHub
improvement
Dominant language
Java
Stars
3.2k
Forks
935
Avg merge
1d 16h
Merged PRs (30d)
298

Description

### What would you like to be improved?

For an `external` Lance table, Users can operate the location directly, such as write data, schema change. Possibly out-of-date information will be retrieved when calling `loadTable` in the Lance REST service or the Gravitino API. So I propose to add a switch to fetch the latest schema information from the Lance storage when loading the table, in this case, users can stil fetch the latest metadata information.

### How should we improve?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing loadTable in the Lance REST service and the Gravitino API for external Lance tables. Determine where a switch can request the latest schema from Lance storage, then verify that loading after a direct schema change returns the current metadata.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.