This is an automated email from the ASF dual-hosted git repository.
github-actions[bot] pushed a commit to branch release/v1.1.0-incubating
in repository https://gitbox.apache.org/repos/asf/texera.git
The following commit(s) were added to refs/heads/release/v1.1.0-incubating by
this push:
new 1090b612c2 feat(agent-service): enable more default operator types
(#4619)
1090b612c2 is described below
commit 1090b612c22617b552a1be15eade12a522deb7de
Author: Jiadong Bai <[email protected]>
AuthorDate: Fri May 1 22:30:15 2026 +0000
feat(agent-service): enable more default operator types (#4619)
### What changes were proposed in this PR?
Expand `DEFAULT_AGENT_SETTINGS.allowedOperatorTypes` in
`agent-service/src/types/agent.ts` so the agent can plan typical ETL and
visualization workflows out of the box.
- Added ETL transforms: `Filter`, `TypeCasting`, `Distinct`, `Union`,
`KeywordSearch`, `Aggregate`.
- Added visualizations: `PieChart`, `Histogram`, `Scatterplot`,
`WordCloud`.
- Removed the stale `TableLimit` entry, which does not correspond to any
`LogicalOp` subtype.
All names match the `@JsonSubTypes` discriminator names declared on
`LogicalOp` in
`common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/LogicalOp.scala`.
### Any related issues, documentation, discussions?
Closes #4618.
### How was this PR tested?
Type-check only — this is a string-list config change with no behavioral
logic. Each new operator type was cross-checked against the
`@JsonSubTypes` registration in `LogicalOp.scala`.
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (claude-opus-4-7)
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
Co-authored-by: Xinyuan Lin <[email protected]>
(backported from commit ee22657ed0a9f2afad0b7feb9788b5498fd4cbc0)
---
agent-service/src/types/agent.ts | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/agent-service/src/types/agent.ts b/agent-service/src/types/agent.ts
index 6e19cb7b14..765f5a7cb4 100644
--- a/agent-service/src/types/agent.ts
+++ b/agent-service/src/types/agent.ts
@@ -88,13 +88,22 @@ export const DEFAULT_AGENT_SETTINGS: Omit<AgentSettings,
"systemPrompt"> = {
maxSteps: 100,
allowedOperatorTypes: [
"CSVFileScan",
+ "Filter",
+ "Projection",
+ "TypeCasting",
"Sort",
- "HashJoin",
"Limit",
- "Projection",
- "TableLimit",
+ "Distinct",
+ "Union",
+ "KeywordSearch",
+ "HashJoin",
+ "Aggregate",
"LineChart",
"BarChart",
+ "PieChart",
+ "Histogram",
+ "Scatterplot",
+ "WordCloud",
"PythonUDFV2",
],
};