Jump to content

Open Lakehouse Wiki:Glossary: Difference between revisions

From Open Lakehouse Wiki
Sync from open-lakehouse/wiki@9783fe6
 
Sync from open-lakehouse/wiki@f2492a3
 
Line 6: Line 6:
; [[Agentic lakehouse]]
; [[Agentic lakehouse]]
: An agentic lakehouse is an [[open lakehouse]] built so that AI agents can find, query and change data under controls that the platform enforces.
: An agentic lakehouse is an [[open lakehouse]] built so that AI agents can find, query and change data under controls that the platform enforces.
; [[Apache Mesos support in Spark]]
: Apache Mesos support in Spark was the integration that let [[Apache Spark]] use Apache Mesos as its cluster manager: a Spark application pointed at a <code>mesos://</code> master URL received resources from Mesos and ran its [[executor]]s as Mesos tasks.
</div>
== B ==
<div class="olw-glossary">
; [[Business Source License]]
: The Business Source License (BSL, also written BUSL) is a source-available software license, published by MariaDB, under which the source code can be read, changed and redistributed, but production use is allowed only as far as the licensor's Additional Use Grant permits, until each version converts to an open source license on its Change Date. The license text itself says it "is not an Open Source license". In data infrastructure the BSL is best known from vendors that moved projects off open source licenses to stop competitors from selling hosted versions; the move of HashiCorp's Terraform in 2023 led to the OpenTofu fork.
</div>
</div>
== C ==
== C ==
Line 32: Line 39:
; [[GraphX]]
; [[GraphX]]
: GraphX is the graph processing library of [[Apache Spark]]: it extends Spark's resilient distributed dataset (RDD) with a property graph, a directed multigraph with user-defined properties on each vertex and edge, and provides graph operators, a Pregel API and a library of graph algorithms.
: GraphX is the graph processing library of [[Apache Spark]]: it extends Spark's resilient distributed dataset (RDD) with a property graph, a directed multigraph with user-defined properties on each vertex and edge, and provides graph operators, a Pregel API and a library of graph algorithms.
</div>
== H ==
<div class="olw-glossary">
; [[Hive Metastore]]
: The Hive Metastore (HMS) is the metadata service of [[Apache Hive]]: it stores the names, schemas, partitions and storage locations of tables in a relational database and serves them to engines through a Thrift API. Engines other than Hive, such as [[Apache Spark]], Impala and [[Trino]], use the same service, which made it the shared table catalog of the Hadoop-era data lake.
; [[Hive on Spark]]
: Hive on Spark was an execution engine option in [[Apache Hive]] that ran HiveQL queries as [[Apache Spark]] jobs instead of MapReduce or Apache Tez jobs; users turned it on with <code>set hive.execution.engine=spark;</code>.
</div>
</div>
== I ==
== I ==
Line 37: Line 51:
; [[Iceberg File Format API]]
; [[Iceberg File Format API]]
: The Iceberg File Format API is a set of Java interfaces in [[Apache Iceberg]] that puts every data file format behind one common reader and writer contract, so that engines read and write Iceberg data files through a registry instead of format-specific code.
: The Iceberg File Format API is a set of Java interfaces in [[Apache Iceberg]] that puts every data file format behind one common reader and writer contract, so that engines read and write Iceberg data files through a registry instead of format-specific code.
; [[Iceberg position delete]]
: In [[Apache Iceberg]], a position delete marks one row as deleted by naming the data file that holds it and the row's position in that file, counting from zero.
; [[Iceberg REST catalog]]
; [[Iceberg REST catalog]]
: The Iceberg REST catalog is an OpenAPI specification, maintained in the [[Apache Iceberg]] project, that defines an HTTP interface between Iceberg clients and a catalog service.
: The Iceberg REST catalog is an OpenAPI specification, maintained in the [[Apache Iceberg]] project, that defines an HTTP interface between Iceberg clients and a catalog service.
; [[INT96 timestamp]]
: An INT96 timestamp is a timestamp stored in the 12-byte <code>INT96</code> physical type of [[Apache Parquet]]: 8 bytes of nanoseconds within the day followed by 4 bytes of day number.
</div>
</div>
== L ==
== L ==
Line 47: Line 65:
== M ==
== M ==
<div class="olw-glossary">
<div class="olw-glossary">
; [[MapGroupsWithState and flatMapGroupsWithState|mapGroupsWithState and flatMapGroupsWithState]]
: In [[Structured Streaming]], mapGroupsWithState and flatMapGroupsWithState are the original operators for arbitrary stateful processing: they call a user function for each grouping key with that key's new values and a <code>GroupState</code> object that holds the key's state between micro-batches.
; [[Medallion architecture]]
; [[Medallion architecture]]
: A medallion architecture is a data design pattern that organizes the tables of a lakehouse into layers of increasing quality, usually called bronze, silver and gold.
: A medallion architecture is a data design pattern that organizes the tables of a lakehouse into layers of increasing quality, usually called bronze, silver and gold.
; [[MLlib]]
: MLlib is the machine learning library of [[Apache Spark]].
</div>
</div>
== O ==
== O ==
Line 63: Line 85:
; [[Predicate pushdown]]
; [[Predicate pushdown]]
: Predicate pushdown is a query optimization in which an engine sends the filter conditions of a query (the predicates in a <code>WHERE</code> clause) down to the layer that reads the data, so that rows, files or whole partitions that cannot match are never read.
: Predicate pushdown is a query optimization in which an engine sends the filter conditions of a query (the predicates in a <code>WHERE</code> clause) down to the layer that reads the data, so that rows, files or whole partitions that cannot match are never read.
; [[Project Tungsten]]
: Project Tungsten is the name of an [[Apache Spark]] engineering initiative, started in 2015, to make Spark's execution more efficient in CPU and memory by managing memory explicitly, storing rows in a compact binary format, using CPU caches better and generating code at run time.
</div>
== R ==
<div class="olw-glossary">
; [[RDD]]
: In [[Apache Spark]], a resilient distributed dataset (RDD) is an immutable collection of elements split into partitions across the nodes of a cluster, which can be processed in parallel and is rebuilt from its lineage when a partition is lost.
</div>
</div>
== S ==
== S ==
<div class="olw-glossary">
<div class="olw-glossary">
; [[Scala 2.12 and 2.13 in Spark]]
: Scala 2.12 and 2.13 in Spark refers to the two Scala versions that [[Apache Spark]] was built for during the Spark 3 series, and to the requirement that Scala and Java applications, libraries and connectors use the same Scala version as the Spark build they run on.
; [[Shuffle]]
; [[Shuffle]]
: A shuffle is the step in a distributed query engine that redistributes data across the cluster so that it is grouped differently across [[partition]]s, for example so that all rows with the same key end up in the same task.
: A shuffle is the step in a distributed query engine that redistributes data across the cluster so that it is grouped differently across [[partition]]s, for example so that all rows with the same key end up in the same task.
Line 72: Line 103:
; [[Spark Streaming (DStreams)]]
; [[Spark Streaming (DStreams)]]
: Spark Streaming, also called the DStream API, is the original stream processing library of [[Apache Spark]], in which a live data stream is divided into small batches and represented as a discretized stream (DStream): a continuous series of RDDs, each holding the data received in one time interval.
: Spark Streaming, also called the DStream API, is the original stream processing library of [[Apache Spark]], in which a live data stream is divided into small batches and represented as a discretized stream (DStream): a continuous series of RDDs, each holding the data received in one time interval.
; [[Spark.mllib (RDD-based API)|spark.mllib (RDD-based API)]]
: spark.mllib is the original, [[RDD]]-based API of [[MLlib]], the machine learning library of [[Apache Spark]], found in the <code>org.apache.spark.mllib</code> package in Scala and Java and <code>pyspark.mllib</code> in Python.
; [[SparkR]]
: SparkR is the R package that ships with [[Apache Spark]] and lets R programs use Spark: it provides a distributed data frame, the <code>SparkDataFrame</code>, with selection, filtering and aggregation, and access to Spark's machine learning library.
; [[Stream processing]]
; [[Stream processing]]
: Stream processing is the continuous computation of results over data that has no defined end, in which an engine processes records as they arrive and keeps its output up to date instead of waiting for a complete dataset.
: Stream processing is the continuous computation of results over data that has no defined end, in which an engine processes records as they arrive and keeps its output up to date instead of waiting for a complete dataset.
; [[Streaming lakehouse]]
; [[Streaming lakehouse]]
: A streaming lakehouse is a data architecture in which streaming jobs write directly into tables in an [[open table format]], so that the same tables serve both streaming readers, which consume new changes incrementally, and batch readers, which query a consistent snapshot.
: A streaming lakehouse is a data architecture in which streaming jobs write directly into tables in an [[open table format]], so that the same tables serve both streaming readers, which consume new changes incrementally, and batch readers, which query a consistent snapshot.
</div>
== T ==
<div class="olw-glossary">
; [[TransformWithState|transformWithState]]
: In [[Structured Streaming]], transformWithState is the operator for arbitrary stateful processing: user code, written as a stateful processor class, receives the rows for each grouping key, keeps any number of typed state variables for that key across micro-batches, registers timers and emits zero or more output rows.
; [[Trigger (Structured Streaming)]]
: In [[Structured Streaming]], a trigger is the setting on a streaming query that decides when the query processes data and which execution mode runs it: micro-batches as fast as possible, micro-batches on a fixed interval, all available data and then stop, or one of the low-latency modes.
</div>
</div>
== V ==
== V ==

Latest revision as of 00:34, 23 November 2026

Short definitions of the terms used across the open lakehouse. Each term links to its full article, which has sources, examples and, where it applies, whether the subject is deprecated. This page is generated from the articles' first sentences by scripts/build-glossary.py; edit the article, not this page.


A

Agentic lakehouse
An agentic lakehouse is an open lakehouse built so that AI agents can find, query and change data under controls that the platform enforces.
Apache Mesos support in Spark
Apache Mesos support in Spark was the integration that let Apache Spark use Apache Mesos as its cluster manager: a Spark application pointed at a mesos:// master URL received resources from Mesos and ran its executors as Mesos tasks.

B

Business Source License
The Business Source License (BSL, also written BUSL) is a source-available software license, published by MariaDB, under which the source code can be read, changed and redistributed, but production use is allowed only as far as the licensor's Additional Use Grant permits, until each version converts to an open source license on its Change Date. The license text itself says it "is not an Open Source license". In data infrastructure the BSL is best known from vendors that moved projects off open source licenses to stop competitors from selling hosted versions; the move of HashiCorp's Terraform in 2023 led to the OpenTofu fork.

C

Copy-on-write and merge-on-read
Copy-on-write and merge-on-read are the two strategies an open table format can use to apply row-level updates and deletes to data stored in immutable files.

D

Data catalog
A data catalog, in a lakehouse, is the service that names tables and other data assets, records where each table's current metadata lives, coordinates commits, and decides who may read or write each asset.
Deletion vector
A deletion vector (DV) is a compact bitmap, stored outside a data file, that marks which rows of that data file are deleted.

E

Exactly-once semantics
In stream processing, exactly-once semantics is the guarantee that each input record affects the result exactly once, with nothing lost and nothing duplicated, even when parts of the system fail and work is retried.
Executor
In Apache Spark, an executor is a process launched for one application on a worker node; it runs the application's tasks and keeps data in memory or on disk between them.

G

GraphFrames
GraphFrames is an open source graph processing package for Apache Spark that represents a graph as a pair of Spark DataFrames, one of vertices and one of edges, and provides graph algorithms, the Pregel and AggregateMessages APIs, and a motif-finding query language on top of them.
GraphX
GraphX is the graph processing library of Apache Spark: it extends Spark's resilient distributed dataset (RDD) with a property graph, a directed multigraph with user-defined properties on each vertex and edge, and provides graph operators, a Pregel API and a library of graph algorithms.

H

Hive Metastore
The Hive Metastore (HMS) is the metadata service of Apache Hive: it stores the names, schemas, partitions and storage locations of tables in a relational database and serves them to engines through a Thrift API. Engines other than Hive, such as Apache Spark, Impala and Trino, use the same service, which made it the shared table catalog of the Hadoop-era data lake.
Hive on Spark
Hive on Spark was an execution engine option in Apache Hive that ran HiveQL queries as Apache Spark jobs instead of MapReduce or Apache Tez jobs; users turned it on with set hive.execution.engine=spark;.

I

Iceberg File Format API
The Iceberg File Format API is a set of Java interfaces in Apache Iceberg that puts every data file format behind one common reader and writer contract, so that engines read and write Iceberg data files through a registry instead of format-specific code.
Iceberg position delete
In Apache Iceberg, a position delete marks one row as deleted by naming the data file that holds it and the row's position in that file, counting from zero.
Iceberg REST catalog
The Iceberg REST catalog is an OpenAPI specification, maintained in the Apache Iceberg project, that defines an HTTP interface between Iceberg clients and a catalog service.
INT96 timestamp
An INT96 timestamp is a timestamp stored in the 12-byte INT96 physical type of Apache Parquet: 8 bytes of nanoseconds within the day followed by 4 bytes of day number.

L

Logical type
A logical type is an annotation that tells a reader how to interpret a stored value, layered on top of a small set of physical (storage) types.

M

mapGroupsWithState and flatMapGroupsWithState
In Structured Streaming, mapGroupsWithState and flatMapGroupsWithState are the original operators for arbitrary stateful processing: they call a user function for each grouping key with that key's new values and a GroupState object that holds the key's state between micro-batches.
Medallion architecture
A medallion architecture is a data design pattern that organizes the tables of a lakehouse into layers of increasing quality, usually called bronze, silver and gold.
MLlib
MLlib is the machine learning library of Apache Spark.

O

Open lakehouse
An open lakehouse is a data platform architecture in which tables are stored as open file formats on low-cost object storage, managed by an open table format, registered in an open data catalog, and processed by any compatible engine.
Open table format
An open table format is a publicly specified way of organizing data files and metadata on file or object storage so that a collection of files behaves as a single database table, with atomic commits, consistent snapshots and schema management.

P

Partition
A partition is a subset of a dataset that a system stores or processes as one unit.
Predicate pushdown
Predicate pushdown is a query optimization in which an engine sends the filter conditions of a query (the predicates in a WHERE clause) down to the layer that reads the data, so that rows, files or whole partitions that cannot match are never read.
Project Tungsten
Project Tungsten is the name of an Apache Spark engineering initiative, started in 2015, to make Spark's execution more efficient in CPU and memory by managing memory explicitly, storing rows in a compact binary format, using CPU caches better and generating code at run time.

R

RDD
In Apache Spark, a resilient distributed dataset (RDD) is an immutable collection of elements split into partitions across the nodes of a cluster, which can be processed in parallel and is rebuilt from its lineage when a partition is lost.

S

Scala 2.12 and 2.13 in Spark
Scala 2.12 and 2.13 in Spark refers to the two Scala versions that Apache Spark was built for during the Spark 3 series, and to the requirement that Scala and Java applications, libraries and connectors use the same Scala version as the Spark build they run on.
Shuffle
A shuffle is the step in a distributed query engine that redistributes data across the cluster so that it is grouped differently across partitions, for example so that all rows with the same key end up in the same task.
Small files problem
The small files problem is the slowdown and extra cost that occur when a table's data is spread across many files that are much smaller than the size the storage and query engines work best with.
Spark Streaming (DStreams)
Spark Streaming, also called the DStream API, is the original stream processing library of Apache Spark, in which a live data stream is divided into small batches and represented as a discretized stream (DStream): a continuous series of RDDs, each holding the data received in one time interval.
spark.mllib (RDD-based API)
spark.mllib is the original, RDD-based API of MLlib, the machine learning library of Apache Spark, found in the org.apache.spark.mllib package in Scala and Java and pyspark.mllib in Python.
SparkR
SparkR is the R package that ships with Apache Spark and lets R programs use Spark: it provides a distributed data frame, the SparkDataFrame, with selection, filtering and aggregation, and access to Spark's machine learning library.
Stream processing
Stream processing is the continuous computation of results over data that has no defined end, in which an engine processes records as they arrive and keeps its output up to date instead of waiting for a complete dataset.
Streaming lakehouse
A streaming lakehouse is a data architecture in which streaming jobs write directly into tables in an open table format, so that the same tables serve both streaming readers, which consume new changes incrementally, and batch readers, which query a consistent snapshot.

T

transformWithState
In Structured Streaming, transformWithState is the operator for arbitrary stateful processing: user code, written as a stateful processor class, receives the rows for each grouping key, keeps any number of typed state variables for that key across micro-batches, registers timers and emits zero or more output rows.
Trigger (Structured Streaming)
In Structured Streaming, a trigger is the setting on a streaming query that decides when the query processes data and which execution mode runs it: micro-batches as fast as possible, micro-batches on a fixed interval, all available data and then stop, or one of the low-latency modes.

V

Variant type
A variant (SQL type VARIANT) is a data type for semi-structured data such as JSON, in which each value carries its own structure in a compact binary encoding, so that rows in the same column can have different shapes and nested fields can be read by path without a fixed schema.

W

Watermark
In stream processing, a watermark is a moving timestamp that tells the engine how far event time has progressed in a stream, so that it can treat earlier event times as complete, emit final results for them and discard the state it kept for them.