惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
D
DataBreaches.Net
Microsoft Security Blog
Microsoft Security Blog
V
Visual Studio Blog
GbyAI
GbyAI
美团技术团队
云风的 BLOG
云风的 BLOG
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
博客园 - 叶小钗
Engineering at Meta
Engineering at Meta
博客园 - 三生石上(FineUI控件)
N
Netflix TechBlog - Medium
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
G
Google Developers Blog
博客园 - 【当耐特】
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
宝玉的分享
宝玉的分享
阮一峰的网络日志
阮一峰的网络日志
T
The Blog of Author Tim Ferriss
Y
Y Combinator Blog
U
Unit 42
P
Proofpoint News Feed
V
V2EX

Databricks

Using AI_Functions in Your Data Warehouse: Top Use Cases How Scottish Water Made Its Capital Investment Data Conversational With Databricks Genie What are AI Hallucinations? Smart Routing in Unity AI Gateway: Match frontier quality with 30%+ lower cost per task Databricks Network Configuration delivery to Tens of Millions of Serverless VMs How Amtrak is building the data backbone for its largest transformation in over 50 years How a major freight railroad scaled pipeline creation with Genie Code The Future of Data Analytics: Why AI is rewriting the Analyst’s Job Description Taking AUTO CDC to the next level: Solving the hardest real-world use cases Open-sourcing Metals v2: Databricks’ Java and Scala language server for multi‑million line codebases Modern Risk Demands a Real-Time Foundation: The CRO’s Mandate Electric joins Databricks to bring WASM Postgres to AI agent sandboxes How to ground Genie Agents in both structured data and documents without losing governance Innocent until combined: Blocking the lethal trifecta with Omnigent Contextual Policies Introducing FILE type: a native column type for multimodal data Managing AI Coding Costs at Scale What is an AI Assistant? What are Agentic Workflows? What is Tool Calling? Kimi K3 from Moonshot AI is now available on Databricks through Unity AI Gateway Introducing OfficeQA Pro V2: A New Benchmark for Enterprise Grounded-Reasoning BigQuery to Databricks: A Strategic Framework for Modern Migration Unity AI Gateway is Generally Available Granular Usage Attribution for dbt Pipelines with Query Tags - Cloned Databricks joins the Open Secure AI Alliance to advance AI safety and security The New Monday Morning Report: How Generative AI can deliver the insights your executives need. Databricks Completes Acquisition of Panther: Accelerating the Security Lakehouse Era Backstage with Lakebase, part 3 Foundations for an AI-forward healthcare organization Agentic media buying cannot scale without the right foundation. See how buyers and sellers get there on Databricks.
Ingest semi-structured data faster and more efficiently w...
Jonathan Brito, Gene Pang, Harsh Motwani · 2026-08-03 · via Databricks

Using Predictive Optimization, Databricks enables users to ingest semi-structured data flexibly while still maintaining structured-like query performance for 30x faster reads

by Jonathan Brito, Gene Pang and Harsh Motwani

For years, ingesting semi-structured data like JSON, XML, or CSV meant a difficult tradeoff. Data teams could build ETL pipelines to schematize data for fast queries and sacrifice flexibility, or store data as strings to stay flexible and pay the cost in slow query performance. To solve this tradeoff, we collaborated with the Delta and Spark communities to introduce the Variant data type and brought it to the Parquet and Iceberg communities to unify the lakehouse as a single, open standard for semi-structured data.

We are excited to announce that Variant is now Generally Available in Databricks. This launch includes Variant Shredding, also Generally Available, a performance optimization that uses Predictive Optimization to automatically improve query performance on Variant data. With Variant, teams can flexibly ingest semi-structured data without compromising downstream query performance.

Flexible ingestion at scale

Over 5K teams are writing Variant using Databricks. These teams most commonly use Variant to ingest events from streaming sources like Kinesis or Event Hub, JSON payloads from APIs, and schemaless data from databases like PostgreSQL and MongoDB.

Variant is particularly useful to handle schema changes from ingestion sources. For example, an upstream application may change its API types. This leaves downstream teams scrambling to update relevant pipelines, perform backfills of existing data, and handle a cutover. Even worse, most enterprises have separate data platforms and application teams, making these schema changes unpredictable. With Variant, users can ingest all of their semi-structured data flexibly into their tables.

image3.png

Variant removes the upfront cost of working with semi-structured data. Building pipelines to schematize data takes time, requiring data engineers to justify their time investment. Variant flips the paradigm – teams can effortlessly land data first, and then figure out its utility for the rest of the business.

Faster, smarter queries with Predictive Optimization

Databricks users execute 500M+ Variant queries per month across 160+ TB of Variant data. Databricks makes reading Variant as fast as reading schematized data on managed tables. Using Shredding, Variant stores common fields as columns in the underlying Parquet files. Predictive Optimization trains on a user's unique workload and query patterns, and using machine learning, identifies the most critical shredded fields and collects statistics on them to improve file skipping. As a result, Databricks scans only the files and columns required for a query, avoiding unnecessary work and boosting performance.

Variant shredding delivers nearly 4x faster reads than unshredded Variant — and 30x faster reads than storing JSON as a string:

image2.png

With Variant, Databricks is unlocking lightning fast performance at scale:

We need to query security logs that are not just simple flat records, but complex JSON structures that are difficult to search efficiently. Databricks' Variant support, combined with shredding, enables high-performance querying of deeply nested attributes — even at petabyte scale 

Panther

— Russell Leighton, Chief Architect

Using Variant in Databricks

With Databricks, you can use Variant across your entire data stack.

Our users commonly use two tools to ingest semi-structured data as Variant:

  1. Auto Loader, a source to incrementally process semi-structured files from object storage
  1. Zerobus, a fully managed ingestion service to write directly into tables without using a message bus

Both ingestion approaches write data into either Delta or Iceberg, allowing any client to interoperate with data in the lakehouse. To simplify setup, use Genie Code in the Lakeflow Pipelines Editor to easily generate Auto Loader ingestion pipelines using natural language.

Delta or Iceberg

Teams can then directly consume Variant data in Lakehouse. Since data is intelligently shredded during the ingestion process, dashboards and reporting can query the data directly as fast as structured data.

In the near future, we plan to expand Variant support even further to include Liquid Clustering by Variant fields, expanded SQL functions, and further feature integrations.

Get started with Variant today

With Variant, you no longer have to make a tradeoff between flexibility and performance when using semi-structured data. Databricks uses Predictive Optimization, which tracks workload and query patterns, to automatically write Variant data for the best performance across products.

Getting started with Variant is easy – try it here.