[Feature] Render a flat RowTypeInfo output schema as JSON Schema
I maintainer di solito rispondono entro 2 giorni
@sangkyoonnam ci sta già lavorando.
Dal 16/10/2026.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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!
- Lingua principale
- Java
- Stelle
- 497
- Fork
- 193
- Merge medio
- 2g 21h
- PR unite (30g)
- 68
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/flink-agents
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
apache/flink-agents#1480 ·
I maintainer di solito rispondono entro 2 giorni
-
[Tech Debt] Python cross-language e2e tests hardcode 0.4-SNAPSHOT tests jar and silently skipAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
apache/flink-agents#1476 ·
I maintainer di solito rispondono entro 2 giorni
-
[Bug][runtime] Trace Log loggers fail on a string trace-log.pretty-print valueForse già presa @Zhuoxi2000 l’ha presa 3 giorni fa. ApertaaffectVersion/0.4.0 bug fixVersion/0.4.1 fixVersion/1.0.0 priority/major
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apache/flink-agents#1463 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 4/5 1-2 giorni Idoneità per principianti 45/100
apache/flink-agents#1482 ·
I maintainer di solito rispondono entro 2 giorni
-
[java][python][Azure OpenAI] Align token limit handling with max_completion_tokensForse già presa @samarthputhraya l’ha presa oggi. ApertaaffectVersion/0.4.0 bug priority/major
apache/flink-agents#1478 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di apache/flink-agents
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
federicoiosue/Omni-Notes#1044 ·
-
Industrial Center Text TypoApertaBug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Terraform releases proxy leaves a temp folder behind on every cache refreshForse già presa @dhananjay6561 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
terrakube-io/terrakube#4069 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno