Proposed format change: Add files to IndexMetadata
#5456
wjones127
started this conversation in
Lance Table Format
Replies: 1 comment
-
|
This seems like a reasonable idea to me. I suppose the primary downside is a very minor increase in the manifest size? Since index files are typically not per-fragment I think the increase would be fairly negligible. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Background
Currently, the table format doesn't know about any specific files that are part of an index. An index is given a directory, with it's UUID as the name, and it is expected to put all files in there.
It's up to the plugin to define how to open that index. To cleanup the index, we just list the directory and delete all objects within.
Proposal
We can add a message to the IndexMetadata:
This gives us the exact size of the files within the index, which provides two benefits:
Beta Was this translation helpful? Give feedback.
All reactions