feature: carry clustering_id and metadata through Transaction V2 fragment and index actions

Abierto
#10,472 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
42/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
data

Línea de trabajo

The issue names AddFragment and AddIndexSegment; start with their Transaction V2 definitions and the manifest-lowering code that reads Fragment and IndexMetadata. Carry clustering_id and metadata into both actions, lower them into the manifest, and extend the existing action-to-manifest plus proto encode/decode round-trip tests. Done means a round-trip preserves both fields for fragments and index segments.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

feature

Main added clustering_id and metadata to both Fragment and IndexMetadata. The Transaction V2 actions don't carry them yet: AddFragment (feat(transaction): implement the Transaction V2 action vocabulary) and AddIndexSegment (feat(transaction): implement the index management actions) always commit clustering_id: None and empty metadata. So a fragment or index segment committed through an action set loses whatever the writer set. The object-metadata writer flag is still derived from the index list, so segments that are carried over keep their fence.

Add the two fields to both actions, lower them into the manifest, and cover them with round-trip tests (action → manifest, and proto encode/decode).

Deferred from the lance-format/lance#8644–lance-format/lance#8646 rebase so the stack doesn't grow with every field main adds concurrently.

🤖 Generated with Claude Code

Lenguaje dominante
Rust
Estrellas
7.3k
Forks
929
Merge medio
2 d 20 h
PR fusionados (30 d)
575

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de lance-format/lance

Todos los issues de lance-format/lance

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.