infer schema strategy attaches a schema to a raw before/after part
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Read the processor middleware’s infer and extend schema encoding paths, then inspect the regression test added for the related extend behavior in issue #190. Decide whether infer should fail closed or retain its current behavior with documentation, following the deprecation policy. Done means the chosen behavior is covered by a regression test, or the limitation is documented.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The default (infer) schema encode strategy in the processor middleware attaches a schema to a record whose before or after part is still non-empty raw data, without encoding or rejecting that part. A consumer that decodes the raw part with the attached schema either fails or, when fields were removed, can decode the old bytes into shifted values.
The opt-in extend strategy now fails closed in this case (#190). infer keeps its current behaviour because changing it changes the default output.
To decide: fail closed in infer too (a behaviour change for existing processors, announce and warn first per the deprecation policy), or keep infer as is and document the limitation. A fix ships with a regression test that fails without it.
- Lenguaje dominante
- Go
- Estrellas
- 1
- Forks
- 1
- Merge medio
- 11 min
- PR fusionados (30 d)
- 5
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ConduitIO/conduit-processor-sdk
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Todos los issues de ConduitIO/conduit-processor-sdk
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
containers/gvisor-tap-vsock#796 ·
Los mantenedores suelen responder en 2 días
-
external needs:triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
celestiaorg/celestia-node#5448 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
[Bug]: Azure SAS signing uses local time instead of UTC, shifting validity window on non-UTC hostsPosiblemente ocupada @huanghaoyuanhhy la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
zilliztech/milvus-backup#1418 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
projectdiscovery/nuclei#8423 ·
Los mantenedores suelen responder en 1 día