live wire
▸EKOS submits 70.15% on BIRD’s hidden test and 88.33% on Mini-Dev with different Claude models; both entries are pendingBIRD submission PR #270▸MotherDuck rolls out DuckDB 2.0 with async I/O and reports faster cold reads in TPC-H and TPC-DS testsMotherDuck▸ThoughtSpot Spotter starts rolling out answer explanations for token-based results, not AgentQLThoughtSpot▸Snowflake previews Z.ai GLM 5.4 in Cortex Inference, but not in Cortex AgentsSnowflake release notes▸Removing Vietnamese diacritics cut text-to-SQL accuracy by 10.3–37.0 points across four models in an author studyLe Trung et al., Vietnamese MultiSpider artifacts▸Avelis 1.7 adds AI-built dashboards and reruns pinned exploratory SQL under each viewer’s permissionsAvelis release notes▸Aurora MySQL previews cluster groups with one routing endpoint; each query still runs on one clusterAWS What's New▸Rewind-HNSW uses 86.9% less memory than full snapshots in authors’ 20-version testsShea et al., Rewind-HNSW §5.5▸Snowflake previews pausing downstream dynamic table refreshes when data quality checks failSnowflake release notes▸BigQuery previews optional GoogleSQL optimization suggestions in its interactive SQL translatorGoogle Cloud documentation▸Snowflake extends its Tableau and Power BI dashboard migration preview to Azure deploymentsSnowflake release notes▸Google Cloud makes it generally available to unpublish Iceberg data shares from SAP Business Data CloudGoogle Cloud — BigQuery and Lakehouse documentation▸AWS previews organization-wide cost questions in Ops Agent for FinOpsAWS What's New▸Looker updates require API login credentials in the request body, not the URLGoogle Cloud — Looker documentation▸EKOS submits 70.15% on BIRD’s hidden test and 88.33% on Mini-Dev with different Claude models; both entries are pendingBIRD submission PR #270▸MotherDuck rolls out DuckDB 2.0 with async I/O and reports faster cold reads in TPC-H and TPC-DS testsMotherDuck▸ThoughtSpot Spotter starts rolling out answer explanations for token-based results, not AgentQLThoughtSpot▸Snowflake previews Z.ai GLM 5.4 in Cortex Inference, but not in Cortex AgentsSnowflake release notes▸Removing Vietnamese diacritics cut text-to-SQL accuracy by 10.3–37.0 points across four models in an author studyLe Trung et al., Vietnamese MultiSpider artifacts▸Avelis 1.7 adds AI-built dashboards and reruns pinned exploratory SQL under each viewer’s permissionsAvelis release notes▸Aurora MySQL previews cluster groups with one routing endpoint; each query still runs on one clusterAWS What's New▸Rewind-HNSW uses 86.9% less memory than full snapshots in authors’ 20-version testsShea et al., Rewind-HNSW §5.5▸Snowflake previews pausing downstream dynamic table refreshes when data quality checks failSnowflake release notes▸BigQuery previews optional GoogleSQL optimization suggestions in its interactive SQL translatorGoogle Cloud documentation▸Snowflake extends its Tableau and Power BI dashboard migration preview to Azure deploymentsSnowflake release notes▸Google Cloud makes it generally available to unpublish Iceberg data shares from SAP Business Data CloudGoogle Cloud — BigQuery and Lakehouse documentation▸AWS previews organization-wide cost questions in Ops Agent for FinOpsAWS What's New▸Looker updates require API login credentials in the request body, not the URLGoogle Cloud — Looker documentation
nl2sql.ai
releaseGoogle Cloud

BigQuery’s AI.AGG can now return typed records—but a schema is not a reliability guarantee

The new output_schema argument makes semantic aggregation easier to feed into SQL pipelines, while error thresholds, multimodal limits and token caps still define the production boundary.

Typed AI.AGG output with schema, but limits and failures remain.
AI-generated illustration
By The News Desk· Oct 15, 2026the quick take — two AI hosts go live when you do

What changed

Google Cloud’s October 14 release note says the generally available AI.AGG function now supports an output_schema argument. Instead of receiving only a free-form string, a query can ask the model-backed aggregate to return a typed STRUCT whose fields are declared as a comma-separated schema. Supported field types include STRING, INT64, FLOAT64, BOOL, ARRAY and nested STRUCT; fields can also carry descriptions and NOT NULL constraints. Google Cloud release notes AI.AGG reference

That is a useful integration change for analytics pipelines. A semantic aggregation over reviews, logs or agent traces can now produce named fields that downstream SQL can address directly, rather than forcing every consumer to parse prose. Grouped queries still return one result per input group, so the structured result can sit beside ordinary dimensions in a table. AI.AGG reference

The boundary the schema does not remove

The declared type governs the shape of the result; it does not make the underlying inference deterministic or complete. Google recommends marking most fields NOT NULL, warning that otherwise the model might return null fields. Calls can also return partial results when Vertex AI requests fail. The max_error_ratio parameter controls how many row-level failures a query will tolerate and defaults to 1.0, although a run still fails if every row fails. AI.AGG reference

There are scale limits to design around as well. Output is capped at 10,000 tokens per group. Google recommends no more than 1,000 distinct groups, with workload-specific input guidance ranging from 20 million rows for text and single-image records down to 1,000 rows for video. Queries above those recommendations might fail or return only partial results. AI.AGG reference

Multimodal access has a security wrinkle: inside a VPC Service Controls perimeter, delegated ObjectRef access is blocked because it creates signed HTTP URLs. Google directs users to pass a direct Cloud Storage reference instead. AI.AGG reference

What practitioners should do

Treat output_schema as a contract for downstream processing, not as proof of semantic correctness. Use required fields where absence is unacceptable, set an explicit failure threshold rather than inheriting the permissive default, and validate business-critical values after inference. For agent-operations analysis—the documentation names agent performance as a use case—the strongest pattern is to keep raw traces and status data beside the generated structure so an attractive typed row never hides missing inputs or a partially completed run. AI.AGG reference

sources

Filed by The News Desk. Corrections: desk@nl2sql.ai · Our standards →

comments · 0

    Comments are moderated before they appear. Your email is used once to confirm it is you — never shown, never sold. Corrections and questions get an answer from the desk when we have one.