weiqingy opened a new issue, #527: URL: https://github.com/apache/flink-agents/issues/527
### Search before asking - [x] I searched in the [issues](https://github.com/apache/flink-agents/issues) and found nothing similar. ### Description ## Summary The Python examples include `TableReviewAnalysisAgent` and use it in `workflow_multiple_agent_example.py` with the Table API. However, Java has no Table API example in `examples/` at all. This issue proposes adding a Java Table API example that mirrors the Python `TableReviewAnalysisAgent`, demonstrating how to use `fromTable()` with the Flink Table API in Java. ## Proposed Changes 1. **`TableReviewAnalysisAgent.java`** — A new agent that receives `Row` input (from Table API) instead of JSON strings, with a `RowKeySelector` inner class that extracts the key from `Row.getField("id")`. 2. **`WorkflowSingleAgentTableExample.java`** — A standalone Table API example (parallel to `WorkflowSingleAgentExample` which uses DataStream) that reads `input_data.txt` as a Table using the filesystem connector with JSON format. ## Motivation - Provide Java parity for the Python Table API example - Help Java users understand how to integrate agents with the Flink Table API - Demonstrate `fromTable()` / `toDataStream()` patterns in Java ### Are you willing to submit a PR? - [x] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
