changedInput schema / properties / query / description
Previous value: -"SQL SELECT statement to run against the staged table. Use the table name from fema_dataframe_describe. Results are capped at the canvas row limit; append LIMIT/OFFSET to page through additional rows, or aggregate (GROUP BY, COUNT, SUM) to summarize the full set in one query. Example: \"SELECT year_of_loss, COUNT(*) AS claims, SUM(amount_paid_building) AS total_building_paid FROM df_nfip_abc123 GROUP BY year_of_loss ORDER BY year_of_loss\""New value: +"SQL SELECT statement to run against the staged table. Use the table name from fema_dataframe_describe. Results are capped at the canvas row limit and at 100,000 characters of rows; append LIMIT/OFFSET, under an ORDER BY, to page through additional rows, or aggregate (GROUP BY, COUNT, SUM) to summarize the full set in one query. Example: \"SELECT year_of_loss, COUNT(*) AS claims, SUM(amount_paid_building) AS total_building_paid FROM df_nfip_abc123 GROUP BY year_of_loss ORDER BY year_of_loss\""
changedOutput schema / properties / cap / description
Previous value: -"The canvas row limit that was applied when the result was capped."New value: +"The canvas row limit, present only when it capped the result. Absent when only the response budget cut it."
changedOutput schema / properties / error / properties / data / properties / reason / description
Previous value: -"Machine-readable failure mode. Declared by this tool: `sql_execution_error`: A SELECT fails while converting or calculating values in the staged data. `canvas_not_found`: The canvas_id does not correspond to an active canvas session. `canvas_unavailable`: DataCanvas is disabled on this deployment (CANVAS_PROVIDER_TYPE is not set to duckdb). `invalid_query`: The SQL statement is not a valid SELECT, references a non-existent table or column, or uses blocked operations. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `canvas_unavailable`: DataCanvas is disabled on this deployment (CANVAS_PROVIDER_TYPE is not set to duckdb). `canvas_not_found`: The canvas_id does not correspond to an active canvas session. `missing_table`: The SELECT names a table that is not staged on this canvas — misspelled, dropped, or expired. `invalid_sql`: A SELECT fails to prepare — an unknown column, function, or type, or an invalid expression. `non_select_statement`: The statement is not a SELECT (DDL, DML, PRAGMA, EXPLAIN, ATTACH) or cannot be parsed. `multi_statement`: The query holds more than one SQL statement. `denied_function`: The SELECT calls a blocked function — a file reader, an engine-setting reader, or query()/query_table() over anything but one literal SELECT. `plan_operator_not_allowed`: The query plan uses an operator outside the read-only allowlist, such as a table function like range() or a system catalog like information_schema. `sql_read_only`: The statement writes or names a file, such as COPY … TO or a quoted file path in FROM. `sql_execution_error`: A SELECT fails while converting or calculating values in the staged data. Other values are possible when a failure originates below the handler."
changedOutput schema / properties / error / properties / data / properties / reason / examples
Previous value: -[
- "sql_execution_error",
- "canvas_not_found",
- "canvas_unavailable",
- "invalid_query"
-]New value: +[
+ "canvas_unavailable",
+ "canvas_not_found",
+ "missing_table",
+ "invalid_sql",
+ "non_select_statement",
+ "multi_statement",
+ "denied_function",
+ "plan_operator_not_allowed",
+ "sql_read_only",
+ "sql_execution_error"
+]
changedOutput schema / properties / notice / description
Previous value: -"Continuation guidance when capped — how to page the remainder with LIMIT/OFFSET."New value: +"Continuation guidance when truncated — how far to advance OFFSET, and lower any LIMIT, under an ORDER BY, to page the remainder."
changedOutput schema / properties / row_count / description
Previous value: -"Number of rows in this response (may be capped at the canvas row limit)."New value: +"Number of rows in this response — fewer than the query returned when truncated is set."
changedOutput schema / properties / rows / description
Previous value: -"Result rows from the query. May be capped at the canvas row limit — when the truncated enrichment field is set, page the remainder with LIMIT/OFFSET (see the notice guidance)."New value: +"Result rows from the query, bounded by the canvas row limit and by 100,000 characters of rows — when the truncated enrichment field is set, page the remainder with OFFSET (see the notice guidance)."
changedOutput schema / properties / shown / description
Previous value: -"Number of rows returned in this (capped) response."New value: +"Number of rows in this truncated response — the amount to advance OFFSET by, and to lower any LIMIT by, for the next page."
changedOutput schema / properties / truncated / description
Previous value: -"True when the result was capped at the canvas row limit — more rows match than were returned."New value: +"True when more rows match than this response holds: the result was capped at the canvas row limit, or cut at the 100,000-character response budget."