← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

BigQuery AI.AGG() Reaches General Availability with Custom Structured Output Support

🔄 Updated 4h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • BigQuery AI.AGG() is now generally available.
  • Synthesizes unstructured text and multimodal data in SQL.
  • New custom structured output support added.
  • Uses Gemini models for aggregation.
  • Supports automated data pipelines and BI dashboards.

AI.AGG() General Availability

The AI.AGG() function in BigQuery has reached general availability (GA). This function allows data teams to synthesize millions of rows of unstructured text and multimodal data directly within SQL queries. It uses Gemini models to perform aggregations without requiring custom application pipelines or exceeding model context window limits.

Custom Structured Output

A key feature released alongside GA is custom structured output support. Previously, AI.AGG() returned paragraph summaries. With the new output_schema parameter, BigQuery automatically formats the model's response to match a user-defined structure, returning fields such as text, numbers, booleans, or lists. This change addresses the need for structured data in automated data pipelines, SQL joins, and business intelligence dashboards.

Impact on Workflows

Structured results from AI.AGG() enable new workflows for analytics and engineering teams. Examples include automated bug and ticket deduplication, which can identify duplicate clusters and severity levels from incoming reports. Another application is dashboard-ready feedback analysis, where customer reviews or survey recordings can be aggregated to extract themes, mention counts, and sentiment labels for direct integration into dashboards.

Cost Management

The GA release, combined with BigQuery's new token-based cost management controls, allows for the creation of predictable, production-ready semantic aggregation pipelines directly from SQL. This provides more control over operational costs when processing large datasets with AI.AGG().

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~4 min · 3 stories · Dec 01

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Google's BigQuery AI.AGG() function is now generally available, allowing users to synthesize unstructured text and multimodal data directly in SQL using Gemini models. The GA release introduces custom structured output support, enabling the function to return formatted fields instead of free-form text. This update facilitates building predictable, production-ready semantic aggregation pipelines and supports automated data pipeline integration.