Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Deduplicate the three field-id reassignment walkers

Abierto
#3,281 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 4 días

@Kaileshwar16 ya está trabajando en esto.

Desde el 30/9/2026.

  • #3308 de @Kaileshwar16 — abierto

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
databases

Línea de trabajo

Start by comparing ReassignFieldIds in crates/iceberg/src/spec/schema/id_reassigner.rs with assign_fresh_ids and assign_fresh_ids_to_type in crates/iceberg/src/transaction/update_schema.rs, then inspect spec/schema/assign_fresh_ids.rs. Run the existing schema tests, especially those covering map key/value ordering. Done means the walkers and apply_to_identifier_fields/apply_to_aliases helpers are shared without changing either reassignment order or the tested behavior.

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

Descripción

We now have three near-identical walkers that rebuild a schema's field tree while reassigning ids:

The apply_to_identifier_fields and apply_to_aliases helpers are identical between the first and third.

Suggestion: parameterise ReassignFieldIds with a strategy for picking the new id for an old id (default fresh, overridable to check a base schema by name first), and share the apply_to_* helpers.

Worth preserving: the map arms differ on purpose. ReassignFieldIds recurses the key subtree before assigning the value id, while assign_fresh_ids resolves both ids first to match Java. Tests pin both orders.

Raised in review of #3066.

Lenguaje dominante
Rust
Estrellas
1.4k
Forks
612
Merge medio
4 d 1 h
PR fusionados (30 d)
63

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 apache/iceberg-rust

Todos los issues de apache/iceberg-rust

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.