Saved Query Created
Recorded when a Data Analyst saves a composed SQL statement with a name and dataset reference.
Event
Description
This event is emitted when a user saves a new reusable query. The query captures the SQL text, target dataset, and user-provided name.
Event payload includes workspaceId identifying the containing workspace.
Business Rules
- Query name must be non-empty and unique per user
- SQL text must be non-empty
- Dataset reference must be a valid URI format
Given-When-Then
Given a composed SQL statement and target dataset exist, When the Data Analyst saves the query with a name, Then Saved Query Created is recorded.