A type for semi-structured data like JSON whose structure isn't fixed, available from Databricks Runtime 15.4. It is preferred to storing JSON as strings but can't serve as a partition column.
Read more: Microsoft Learn
In the Ultra Transcenders books
Each book explains VARIANT in context, with comparison tables and the common traps.
Terms in this definition
- Semi-structured data
Data with some organisation but where instances of one entity can differ, for example JSON documents in which each record may carry different fields.
- LIKE
Compares strings with a pattern that can contain the % and _ wildcards. Because it only understands character patterns, searching big volumes of text this way is much slower than using full-text search.
- JSON
Text-based format for structured data. ARM templates and Cosmos DB documents are written in it, and most Azure REST APIs exchange request and response bodies as application/json.
- Databricks Runtime
The software image, Apache Spark among its core parts, that Azure Databricks installs on compute. Long-term support (LTS) releases are the advised choice when job compute runs production work.
- Azure AI Search partition
Storage and I/O unit of a search service, each holding part of the indexes. Adding partitions increases storage and indexing throughput; the number of search units equals replicas multiplied by partitions.
Related terms
- ai_classify
Sorts content under labels you define, whether plain text or the VARIANT that
ai_parse_documentreturns. This task-specific AI Function can also take instructions and a description of each label. - ai_parse_document
Turns a BINARY document into VARIANT holding its structured content. This AI Function's output can then feed
ai_prep_search,ai_classifyorai_extract. - AUTO CDC
The Lakeflow pipelines API for change data capture: it merges incoming changes into a streaming table, keeping either just the latest values (SCD 1) or full history (SCD 2), and uses an ordering column to cope with records that arrive late. A snapshot variant also exists.
- COALESCE
A SQL function that picks out the first non-NULL argument. CEL validation rejects a STRING cast inside the call, so a service policy function hands it the VARIANT field and casts what comes back.
- Cross-cluster live migration
Moves running, synchronously protected AHV VMs from one cluster to another as a planned operation with no downtime. The on-demand variant, OD-CCLM, works without a protection policy.
- Direct Lake on SQL
A Direct Lake variant that relies on the SQL analytics endpoint of a single item to discover tables and check permissions. Queries switch to DirectQuery when they hit SQL views, row-level security defined on the endpoint or exceeded guardrails, subject to the DirectLakeBehavior setting.
- EDP
Enhanced Data Path, NSX's fast forwarding stack in the host switch, built to save CPU while maximising throughput and packet rate. New VCF 9.0 workload domains default to its Standard variant with dynamic CPU; the Dedicated variant reserves cores, while legacy Standard mode is deprecated.
- Evaluation dataset
A constant collection of test inputs, a query plus optional context and ground truth, fed to every model or prompt variant so their results can be compared fairly.