Skip to content

Enable more default operator types #4618

@bobbai00

Description

@bobbai00

Task Summary

The agent's DEFAULT_AGENT_SETTINGS.allowedOperatorTypes in agent-service/src/types/agent.ts only exposes a small subset of operators (CSVFileScan, Sort, HashJoin, Limit, Projection, LineChart, BarChart, PythonUDFV2), and includes a stale TableLimit entry that does not correspond to any LogicalOp subtype in common/workflow-operator/src/main/scala/.../LogicalOp.scala. This restricts the agent's ability to plan typical ETL and visualization workflows (e.g. filtering, aggregating, deduplicating, plotting distributions or word clouds).

Expand the default allow-list to cover the common ETL transforms (Filter, TypeCasting, Distinct, Union, KeywordSearch, Aggregate) and the standard visualizations (PieChart, Histogram, Scatterplot, WordCloud), and drop the invalid TableLimit. All names must match the @JsonSubTypes discriminator names declared on LogicalOp.

Priority

P2 – Medium

Task Type

  • Code Implementation

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions