[Feature] Render a flat RowTypeInfo output schema as JSON Schema
Los mantenedores suelen responder en 2 días
@sangkyoonnam ya está trabajando en esto.
Desde el 16/10/2026.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start at BaseChatModelConnection.chat in the Java connections, where the Javadoc describes skipping a RowTypeInfo schema, and compare the Python path that takes a pydantic model. Trace where the prompt uses the type's toString() or str() form, since that is the part to replace with a JSON Schema object. Done means a flat RowTypeInfo renders as a schema with all fields required and additionalProperties false in both languages, and the guide and Javadoc match. Nested or non-basic types must keep today's behavior.
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 nothing similar.
Description
@wenjin272 suggested this on #1129.
A RowTypeInfo output schema never gets native structured output today:
- The native connections accept only a POJO class (Java) or a pydantic model (Python), so they skip a
RowTypeInfo. - The prompt path describes the schema with the type's string form (
toString()in Java,str()in Python), not JSON Schema. - The Java
BaseChatModelConnection.chatJavadoc calls the skip a permanent fallback.
Proposal: render a flat RowTypeInfo (basic field types only) as a JSON Schema object, in both languages:
- every field required
additionalProperties: false
Use it in two steps:
- In the prompt, in place of the string form.
- As the native schema, so
AUTOandNATIVEwork for aRowTypeInfo. The connections currently take a class, so this step needs them to accept a schema document as well.
A nested or non-basic RowTypeInfo keeps today's behavior. The guide and the Javadoc above are updated to match.
Are you willing to submit a PR?
- I'm willing to submit a PR!
- Lenguaje dominante
- Java
- Estrellas
- 497
- Forks
- 193
- Merge medio
- 2 d 21 h
- PR fusionados (30 d)
- 68
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la 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 apache/flink-agents
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
apache/flink-agents#1480 ·
Los mantenedores suelen responder en 2 días
-
[Tech Debt] Python cross-language e2e tests hardcode 0.4-SNAPSHOT tests jar and silently skipAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
apache/flink-agents#1476 ·
Los mantenedores suelen responder en 2 días
-
[Bug][runtime] Trace Log loggers fail on a string trace-log.pretty-print valuePosiblemente ocupada @Zhuoxi2000 la tomó hace 3 días. AbiertoaffectVersion/0.4.0 bug fixVersion/0.4.1 fixVersion/1.0.0 priority/major
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
apache/flink-agents#1463 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 1-2 días Aptitud para principiantes 45/100
apache/flink-agents#1482 ·
Los mantenedores suelen responder en 2 días
-
[java][python][Azure OpenAI] Align token limit handling with max_completion_tokensPosiblemente ocupada @samarthputhraya la tomó hoy. AbiertoaffectVersion/0.4.0 bug priority/major
apache/flink-agents#1478 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 2 días
Todos los issues de apache/flink-agents
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
federicoiosue/Omni-Notes#1044 ·
-
Industrial Center Text TypoAbiertoBug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Terraform releases proxy leaves a temp folder behind on every cache refreshPosiblemente ocupada @dhananjay6561 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
terrakube-io/terrakube#4069 · 1 comentario ·
Los mantenedores suelen responder en 1 día