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

Postpone-bucket getWriteId misparses the write id when data-file.prefix or the commit user contains the -s- separator

Abierto Apto para principiantes
#10,265 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
78/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
java

Línea de trabajo

Comienza en PostponeBucketFileStoreWrite.getWriteId y reproduce la ruta de postpone-bucket con un data-file.prefix o un commit user que contenga -s-. Sigue el análisis del nombre de archivo alrededor del -w- marker y verifica después que el write id extraído enrute correctamente los archivos mediante getWriteId(...) % parallelism y que los nombres malformados sigan fallando como se espera.

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

Descripción

Search before asking
  • I searched in the issues and found no similar issues.
Paimon version

master (1.5-SNAPSHOT)

Compute Engine

Flink (postpone-bucket write path).

Minimal reproduce step
  1. Create a postpone-bucket table and set data-file.prefix to a value that contains the -s- separator (for example a-s-b).
  2. Write data so postpone-bucket data files are produced. Each file name is {data-file.prefix}-u-{commitUser}-s-{writeId}-w-{uuid}-{count}.
  3. Read or compact the table, which routes splits by getWriteId(fileName) % parallelism.
What doesn't meet your expectations?

PostponeBucketFileStoreWrite.getWriteId recovered the write id by splitting on the first -s- in the file name. When data-file.prefix (or a custom commit user) already contains -s-, the first -s- is not the writer's separator, so the parse either throws Data file name ... does not match the pattern or returns a wrong write id. A wrong id then routes the split to the wrong reader under getWriteId(...) % parallelism.

Anything else?

The correct anchor is the -w- writer marker that always terminates the interpolated prefix, so the write id is the segment between the last -s- before -w- and -w- itself.

Are you willing to submit a PR?
  • I'm willing to submit a PR!
Lenguaje dominante
Java
Estrellas
3.4k
Forks
1.4k
Merge medio
1 d 11 h
PR fusionados (30 d)
502

Preparar el entorno

Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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/paimon

Todos los issues de apache/paimon

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.