You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by gi...@apache.org on 2025/06/12 04:30:53 UTC
(datafusion) branch asf-site updated: Publish built docs triggered by 0e840415af4bbce6918daeb3dba19a84886b3ae1
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 6b2abe2458 Publish built docs triggered by 0e840415af4bbce6918daeb3dba19a84886b3ae1
6b2abe2458 is described below
commit 6b2abe245881615b532fca7246299c527dfae654
Author: github-actions[bot] <gi...@users.noreply.github.com>
AuthorDate: Thu Jun 12 04:30:48 2025 +0000
Publish built docs triggered by 0e840415af4bbce6918daeb3dba19a84886b3ae1
---
_sources/index.rst.txt | 1 +
.../custom-table-providers.md.txt | 3 ++
.../library-user-guide/table-constraints.md.txt | 42 +++++++++++++++
contributor-guide/api-health.html | 5 ++
contributor-guide/architecture.html | 5 ++
contributor-guide/communication.html | 5 ++
contributor-guide/development_environment.html | 5 ++
contributor-guide/governance.html | 5 ++
contributor-guide/gsoc_application_guidelines.html | 5 ++
contributor-guide/gsoc_project_ideas.html | 5 ++
contributor-guide/howtos.html | 5 ++
contributor-guide/index.html | 5 ++
contributor-guide/inviting.html | 5 ++
contributor-guide/roadmap.html | 5 ++
contributor-guide/specification/index.html | 5 ++
contributor-guide/specification/invariants.html | 5 ++
.../specification/output-field-name-semantic.html | 5 ++
contributor-guide/testing.html | 5 ++
download.html | 5 ++
genindex.html | 5 ++
index.html | 6 +++
library-user-guide/adding-udfs.html | 5 ++
library-user-guide/building-logical-plans.html | 5 ++
library-user-guide/catalogs.html | 5 ++
library-user-guide/custom-table-providers.html | 13 +++--
library-user-guide/extending-operators.html | 11 ++--
library-user-guide/extensions.html | 5 ++
library-user-guide/index.html | 5 ++
library-user-guide/profiling.html | 5 ++
library-user-guide/query-optimizer.html | 5 ++
.../{index.html => table-constraints.html} | 60 +++++++++++----------
library-user-guide/upgrading.html | 5 ++
library-user-guide/using-the-dataframe-api.html | 5 ++
library-user-guide/using-the-sql-api.html | 5 ++
library-user-guide/working-with-exprs.html | 5 ++
objects.inv | Bin 1871 -> 1903 bytes
search.html | 5 ++
searchindex.js | 2 +-
user-guide/cli/datasources.html | 5 ++
user-guide/cli/index.html | 5 ++
user-guide/cli/installation.html | 5 ++
user-guide/cli/overview.html | 5 ++
user-guide/cli/usage.html | 5 ++
user-guide/concepts-readings-events.html | 5 ++
user-guide/configs.html | 5 ++
user-guide/crate-configuration.html | 5 ++
user-guide/dataframe.html | 5 ++
user-guide/example-usage.html | 5 ++
user-guide/explain-usage.html | 5 ++
user-guide/expressions.html | 5 ++
user-guide/faq.html | 5 ++
user-guide/features.html | 5 ++
user-guide/introduction.html | 5 ++
user-guide/runtime_configs.html | 5 ++
user-guide/sql/aggregate_functions.html | 5 ++
user-guide/sql/data_types.html | 5 ++
user-guide/sql/ddl.html | 5 ++
user-guide/sql/dml.html | 5 ++
user-guide/sql/explain.html | 5 ++
user-guide/sql/format_options.html | 5 ++
user-guide/sql/index.html | 5 ++
user-guide/sql/information_schema.html | 5 ++
user-guide/sql/operators.html | 5 ++
user-guide/sql/prepared_statements.html | 5 ++
user-guide/sql/scalar_functions.html | 5 ++
user-guide/sql/select.html | 5 ++
user-guide/sql/special_functions.html | 5 ++
user-guide/sql/subqueries.html | 5 ++
user-guide/sql/window_functions.html | 5 ++
69 files changed, 404 insertions(+), 34 deletions(-)
diff --git a/_sources/index.rst.txt b/_sources/index.rst.txt
index e920a0f036..4b407e4e49 100644
--- a/_sources/index.rst.txt
+++ b/_sources/index.rst.txt
@@ -135,6 +135,7 @@ To get started, see
library-user-guide/catalogs
library-user-guide/adding-udfs
library-user-guide/custom-table-providers
+ library-user-guide/table-constraints
library-user-guide/extending-operators
library-user-guide/profiling
library-user-guide/query-optimizer
diff --git a/_sources/library-user-guide/custom-table-providers.md.txt b/_sources/library-user-guide/custom-table-providers.md.txt
index 849f7ae208..2da4d781e2 100644
--- a/_sources/library-user-guide/custom-table-providers.md.txt
+++ b/_sources/library-user-guide/custom-table-providers.md.txt
@@ -23,6 +23,9 @@ Like other areas of DataFusion, you extend DataFusion's functionality by impleme
This section describes how to create a [`TableProvider`] and how to configure DataFusion to use it for reading.
+For details on how table constraints such as primary keys or unique
+constraints are handled, see [Table Constraint Enforcement](table-constraints.md).
+
## Table Provider and Scan
The [`TableProvider::scan`] method reads data from the table and is likely the most important. It returns an [`ExecutionPlan`] that DataFusion will use to read the actual data during execution of the query. The [`TableProvider::insert_into`] method is used to `INSERT` data into the table.
diff --git a/_sources/library-user-guide/table-constraints.md.txt b/_sources/library-user-guide/table-constraints.md.txt
new file mode 100644
index 0000000000..dea746463d
--- /dev/null
+++ b/_sources/library-user-guide/table-constraints.md.txt
@@ -0,0 +1,42 @@
+<!---
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+# Table Constraint Enforcement
+
+Table providers can describe table constraints using the
+[`TableConstraint`] and [`Constraints`] APIs. These constraints include
+primary keys, unique keys, foreign keys and check constraints.
+
+DataFusion does **not** currently enforce these constraints at runtime.
+They are provided for informational purposes and can be used by custom
+`TableProvider` implementations or other parts of the system.
+
+- **Nullability**: The only property enforced by DataFusion is the
+ nullability of each [`Field`] in a schema. Returning data with null values
+ for Columns marked as not nullable will result in runtime errors during execution. DataFusion
+ does not check or enforce nullability when data is ingested.
+- **Primary and unique keys**: DataFusion does not verify that the data
+ satisfies primary or unique key constraints. Table providers that
+ require this behaviour must implement their own checks.
+- **Foreign keys and check constraints**: These constraints are parsed
+ but are not validated or used during query planning.
+
+[`tableconstraint`]: https://docs.rs/datafusion/latest/datafusion/sql/planner/enum.TableConstraint.html
+[`constraints`]: https://docs.rs/datafusion/latest/datafusion/common/functional_dependencies/struct.Constraints.html
+[`field`]: https://docs.rs/arrow/latest/arrow/datatype/struct.Field.html
diff --git a/contributor-guide/api-health.html b/contributor-guide/api-health.html
index 0276be49e6..15e19102f9 100644
--- a/contributor-guide/api-health.html
+++ b/contributor-guide/api-health.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/contributor-guide/architecture.html b/contributor-guide/architecture.html
index 4a96df3ace..0f5ac4506d 100644
--- a/contributor-guide/architecture.html
+++ b/contributor-guide/architecture.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/contributor-guide/communication.html b/contributor-guide/communication.html
index 841963d981..c399fdf9f5 100644
--- a/contributor-guide/communication.html
+++ b/contributor-guide/communication.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/contributor-guide/development_environment.html b/contributor-guide/development_environment.html
index af2437a8e5..0a55a08cca 100644
--- a/contributor-guide/development_environment.html
+++ b/contributor-guide/development_environment.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/contributor-guide/governance.html b/contributor-guide/governance.html
index 2852d3707c..03c3cb0f19 100644
--- a/contributor-guide/governance.html
+++ b/contributor-guide/governance.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/contributor-guide/gsoc_application_guidelines.html b/contributor-guide/gsoc_application_guidelines.html
index 8326e3ed46..768d7c5d4b 100644
--- a/contributor-guide/gsoc_application_guidelines.html
+++ b/contributor-guide/gsoc_application_guidelines.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/contributor-guide/gsoc_project_ideas.html b/contributor-guide/gsoc_project_ideas.html
index 0d27bc75e1..c61b1ce52e 100644
--- a/contributor-guide/gsoc_project_ideas.html
+++ b/contributor-guide/gsoc_project_ideas.html
@@ -366,6 +366,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/contributor-guide/howtos.html b/contributor-guide/howtos.html
index 8c21b0fa7d..1daa807f2a 100644
--- a/contributor-guide/howtos.html
+++ b/contributor-guide/howtos.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/contributor-guide/index.html b/contributor-guide/index.html
index c049caa181..ad158c876f 100644
--- a/contributor-guide/index.html
+++ b/contributor-guide/index.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/contributor-guide/inviting.html b/contributor-guide/inviting.html
index fc00cbe0e8..4f5d5e49cf 100644
--- a/contributor-guide/inviting.html
+++ b/contributor-guide/inviting.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/contributor-guide/roadmap.html b/contributor-guide/roadmap.html
index 085f084747..1949e3ee78 100644
--- a/contributor-guide/roadmap.html
+++ b/contributor-guide/roadmap.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/contributor-guide/specification/index.html b/contributor-guide/specification/index.html
index d9cebd60cb..7f03932ef3 100644
--- a/contributor-guide/specification/index.html
+++ b/contributor-guide/specification/index.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/contributor-guide/specification/invariants.html b/contributor-guide/specification/invariants.html
index adf6233f65..3bdd88d6b8 100644
--- a/contributor-guide/specification/invariants.html
+++ b/contributor-guide/specification/invariants.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/contributor-guide/specification/output-field-name-semantic.html b/contributor-guide/specification/output-field-name-semantic.html
index 9a97aeafec..547018ef0d 100644
--- a/contributor-guide/specification/output-field-name-semantic.html
+++ b/contributor-guide/specification/output-field-name-semantic.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/contributor-guide/testing.html b/contributor-guide/testing.html
index e4553eeebb..8fc87ec056 100644
--- a/contributor-guide/testing.html
+++ b/contributor-guide/testing.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/download.html b/download.html
index 3468bc161a..6b10b0ca95 100644
--- a/download.html
+++ b/download.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/genindex.html b/genindex.html
index f3c24a2fdd..7d0d3d2f26 100644
--- a/genindex.html
+++ b/genindex.html
@@ -364,6 +364,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/index.html b/index.html
index 487e8e6039..e27e20dc0d 100644
--- a/index.html
+++ b/index.html
@@ -366,6 +366,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
@@ -648,6 +653,7 @@ See the <a class="reference external" href="https://datafusion.apache.org/contri
<li class="toctree-l1"><a class="reference internal" href="library-user-guide/catalogs.html">Catalogs, Schemas, and Tables</a></li>
<li class="toctree-l1"><a class="reference internal" href="library-user-guide/adding-udfs.html">Adding User Defined Functions: Scalar/Window/Aggregate/Table Functions</a></li>
<li class="toctree-l1"><a class="reference internal" href="library-user-guide/custom-table-providers.html">Custom Table Provider</a></li>
+<li class="toctree-l1"><a class="reference internal" href="library-user-guide/table-constraints.html">Table Constraint Enforcement</a></li>
<li class="toctree-l1"><a class="reference internal" href="library-user-guide/extending-operators.html">Extending DataFusion’s operators: custom LogicalPlan and Execution Plans</a></li>
<li class="toctree-l1"><a class="reference internal" href="library-user-guide/profiling.html">Profiling Cookbook</a></li>
<li class="toctree-l1"><a class="reference internal" href="library-user-guide/query-optimizer.html">DataFusion Query Optimizer</a></li>
diff --git a/library-user-guide/adding-udfs.html b/library-user-guide/adding-udfs.html
index b35e53b933..671f499fdf 100644
--- a/library-user-guide/adding-udfs.html
+++ b/library-user-guide/adding-udfs.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/library-user-guide/building-logical-plans.html b/library-user-guide/building-logical-plans.html
index 9c8415dd33..365856d16f 100644
--- a/library-user-guide/building-logical-plans.html
+++ b/library-user-guide/building-logical-plans.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/library-user-guide/catalogs.html b/library-user-guide/catalogs.html
index 4fa1329e6a..b9f870aa76 100644
--- a/library-user-guide/catalogs.html
+++ b/library-user-guide/catalogs.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/library-user-guide/custom-table-providers.html b/library-user-guide/custom-table-providers.html
index e2541e1973..ce9c03a3a3 100644
--- a/library-user-guide/custom-table-providers.html
+++ b/library-user-guide/custom-table-providers.html
@@ -33,7 +33,7 @@
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
- <link rel="next" title="Extending DataFusion’s operators: custom LogicalPlan and Execution Plans" href="extending-operators.html" />
+ <link rel="next" title="Table Constraint Enforcement" href="table-constraints.html" />
<link rel="prev" title="Adding User Defined Functions: Scalar/Window/Aggregate/Table Functions" href="adding-udfs.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="docsearch:language" content="en">
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
@@ -640,6 +645,8 @@
<h1>Custom Table Provider<a class="headerlink" href="#custom-table-provider" title="Link to this heading">¶</a></h1>
<p>Like other areas of DataFusion, you extend DataFusion’s functionality by implementing a trait. The <a class="reference external" href="https://docs.rs/datafusion/latest/datafusion/datasource/trait.TableProvider.html"><code class="docutils literal notranslate"><span class="pre">TableProvider</span></code></a> and associated traits allow you to implement a custom table provider, i.e. use DataFusion’s other functionality with your custom data source.</p>
<p>This section describes how to create a <a class="reference external" href="https://docs.rs/datafusion/latest/datafusion/datasource/trait.TableProvider.html"><code class="docutils literal notranslate"><span class="pre">TableProvider</span></code></a> and how to configure DataFusion to use it for reading.</p>
+<p>For details on how table constraints such as primary keys or unique
+constraints are handled, see <a class="reference internal" href="table-constraints.html"><span class="std std-doc">Table Constraint Enforcement</span></a>.</p>
<section id="table-provider-and-scan">
<h2>Table Provider and Scan<a class="headerlink" href="#table-provider-and-scan" title="Link to this heading">¶</a></h2>
<p>The <a class="reference external" href="https://docs.rs/datafusion/latest/datafusion/datasource/trait.TableProvider.html#tymethod.scan"><code class="docutils literal notranslate"><span class="pre">TableProvider::scan</span></code></a> method reads data from the table and is likely the most important. It returns an <a class="reference external" href="https://docs.rs/datafusion/latest/datafusion/physical_plan/trait.ExecutionPlan.html"><code class="docutils literal notranslate"><span cla [...]
@@ -909,10 +916,10 @@
<p class="prev-next-title">Adding User Defined Functions: Scalar/Window/Aggregate/Table Functions</p>
</div>
</a>
- <a class='right-next' id="next-link" href="extending-operators.html" title="next page">
+ <a class='right-next' id="next-link" href="table-constraints.html" title="next page">
<div class="prev-next-info">
<p class="prev-next-subtitle">next</p>
- <p class="prev-next-title">Extending DataFusion’s operators: custom LogicalPlan and Execution Plans</p>
+ <p class="prev-next-title">Table Constraint Enforcement</p>
</div>
<i class="fas fa-angle-right"></i>
</a>
diff --git a/library-user-guide/extending-operators.html b/library-user-guide/extending-operators.html
index 71f5e9d525..4e83bf368f 100644
--- a/library-user-guide/extending-operators.html
+++ b/library-user-guide/extending-operators.html
@@ -34,7 +34,7 @@
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Profiling Cookbook" href="profiling.html" />
- <link rel="prev" title="Custom Table Provider" href="custom-table-providers.html" />
+ <link rel="prev" title="Table Constraint Enforcement" href="table-constraints.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="docsearch:language" content="en">
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1 current active">
<a class="current reference internal" href="#">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
@@ -632,11 +637,11 @@
<!-- Previous / next buttons -->
<div class='prev-next-area'>
- <a class='left-prev' id="prev-link" href="custom-table-providers.html" title="previous page">
+ <a class='left-prev' id="prev-link" href="table-constraints.html" title="previous page">
<i class="fas fa-angle-left"></i>
<div class="prev-next-info">
<p class="prev-next-subtitle">previous</p>
- <p class="prev-next-title">Custom Table Provider</p>
+ <p class="prev-next-title">Table Constraint Enforcement</p>
</div>
</a>
<a class='right-next' id="next-link" href="profiling.html" title="next page">
diff --git a/library-user-guide/extensions.html b/library-user-guide/extensions.html
index c75360c1bb..833aad6cf0 100644
--- a/library-user-guide/extensions.html
+++ b/library-user-guide/extensions.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/library-user-guide/index.html b/library-user-guide/index.html
index 35232ce10f..39d4307cb2 100644
--- a/library-user-guide/index.html
+++ b/library-user-guide/index.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/library-user-guide/profiling.html b/library-user-guide/profiling.html
index 777bc0f0a7..42427c8aee 100644
--- a/library-user-guide/profiling.html
+++ b/library-user-guide/profiling.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/library-user-guide/query-optimizer.html b/library-user-guide/query-optimizer.html
index 61c1a4bf03..c63a1138d1 100644
--- a/library-user-guide/query-optimizer.html
+++ b/library-user-guide/query-optimizer.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/library-user-guide/index.html b/library-user-guide/table-constraints.html
similarity index 85%
copy from library-user-guide/index.html
copy to library-user-guide/table-constraints.html
index 35232ce10f..be15b61d4d 100644
--- a/library-user-guide/index.html
+++ b/library-user-guide/table-constraints.html
@@ -5,7 +5,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>Introduction — Apache DataFusion documentation</title>
+ <title>Table Constraint Enforcement — Apache DataFusion documentation</title>
<link href="../_static/styles/theme.css?digest=1999514e3f237ded88cf" rel="stylesheet">
<link href="../_static/styles/pydata-sphinx-theme.css?digest=1999514e3f237ded88cf" rel="stylesheet">
@@ -33,8 +33,8 @@
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
- <link rel="next" title="Extensions List" href="extensions.html" />
- <link rel="prev" title="Frequently Asked Questions" href="../user-guide/faq.html" />
+ <link rel="next" title="Extending DataFusion’s operators: custom LogicalPlan and Execution Plans" href="extending-operators.html" />
+ <link rel="prev" title="Custom Table Provider" href="custom-table-providers.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="docsearch:language" content="en">
@@ -316,8 +316,8 @@
</span>
</p>
<ul class="current nav bd-sidenav">
- <li class="toctree-l1 current active">
- <a class="current reference internal" href="#">
+ <li class="toctree-l1">
+ <a class="reference internal" href="index.html">
Introduction
</a>
</li>
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1 current active">
+ <a class="current reference internal" href="#">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
@@ -531,7 +536,7 @@
<div class="tocsection editthispage">
- <a href="https://github.com/apache/arrow-datafusion/edit/main/docs/source/library-user-guide/index.md">
+ <a href="https://github.com/apache/arrow-datafusion/edit/main/docs/source/library-user-guide/table-constraints.md">
<i class="fas fa-pencil-alt"></i> Edit this page
</a>
</div>
@@ -568,23 +573,24 @@
specific language governing permissions and limitations
under the License.
-->
-<section id="introduction">
-<h1>Introduction<a class="headerlink" href="#introduction" title="Link to this heading">¶</a></h1>
-<p>The library user guide explains how to use the DataFusion library as a
-dependency in your Rust project and customize its behavior using its extension APIs.</p>
-<p>Please check out the <a class="reference internal" href="../user-guide/example-usage.html"><span class="std std-doc">user guide</span></a> for getting started using
-DataFusion’s SQL and DataFrame APIs, or the <a class="reference internal" href="../contributor-guide/index.html"><span class="std std-doc">contributor guide</span></a>
-for details on how to contribute to DataFusion.</p>
-<p>If you haven’t reviewed the <a class="reference external" href="https://docs.rs/datafusion/latest/datafusion/#architecture">architecture section in the docs</a>, it’s a
-useful place to get the lay of the land before starting down a specific path.</p>
-<p>DataFusion is designed to be extensible at all points, including</p>
-<ul class="contains-task-list simple">
-<li class="task-list-item"><p><input class="task-list-item-checkbox" checked="checked" disabled="disabled" type="checkbox"> User Defined Functions (UDFs)</p></li>
-<li class="task-list-item"><p><input class="task-list-item-checkbox" checked="checked" disabled="disabled" type="checkbox"> User Defined Aggregate Functions (UDAFs)</p></li>
-<li class="task-list-item"><p><input class="task-list-item-checkbox" checked="checked" disabled="disabled" type="checkbox"> User Defined Table Source (<code class="docutils literal notranslate"><span class="pre">TableProvider</span></code>) for tables</p></li>
-<li class="task-list-item"><p><input class="task-list-item-checkbox" checked="checked" disabled="disabled" type="checkbox"> User Defined <code class="docutils literal notranslate"><span class="pre">Optimizer</span></code> passes (plan rewrites)</p></li>
-<li class="task-list-item"><p><input class="task-list-item-checkbox" checked="checked" disabled="disabled" type="checkbox"> User Defined <code class="docutils literal notranslate"><span class="pre">LogicalPlan</span></code> nodes</p></li>
-<li class="task-list-item"><p><input class="task-list-item-checkbox" checked="checked" disabled="disabled" type="checkbox"> User Defined <code class="docutils literal notranslate"><span class="pre">ExecutionPlan</span></code> nodes</p></li>
+<section id="table-constraint-enforcement">
+<h1>Table Constraint Enforcement<a class="headerlink" href="#table-constraint-enforcement" title="Link to this heading">¶</a></h1>
+<p>Table providers can describe table constraints using the
+<a class="reference external" href="https://docs.rs/datafusion/latest/datafusion/sql/planner/enum.TableConstraint.html"><code class="docutils literal notranslate"><span class="pre">TableConstraint</span></code></a> and <a class="reference external" href="https://docs.rs/datafusion/latest/datafusion/common/functional_dependencies/struct.Constraints.html"><code class="docutils literal notranslate"><span class="pre">Constraints</span></code></a> APIs. These constraints include
+primary keys, unique keys, foreign keys and check constraints.</p>
+<p>DataFusion does <strong>not</strong> currently enforce these constraints at runtime.
+They are provided for informational purposes and can be used by custom
+<code class="docutils literal notranslate"><span class="pre">TableProvider</span></code> implementations or other parts of the system.</p>
+<ul class="simple">
+<li><p><strong>Nullability</strong>: The only property enforced by DataFusion is the
+nullability of each <a class="reference external" href="https://docs.rs/arrow/latest/arrow/datatype/struct.Field.html"><code class="docutils literal notranslate"><span class="pre">Field</span></code></a> in a schema. Returning data with null values
+for Columns marked as not nullable will result in runtime errors during execution. DataFusion
+does not check or enforce nullability when data is ingested.</p></li>
+<li><p><strong>Primary and unique keys</strong>: DataFusion does not verify that the data
+satisfies primary or unique key constraints. Table providers that
+require this behaviour must implement their own checks.</p></li>
+<li><p><strong>Foreign keys and check constraints</strong>: These constraints are parsed
+but are not validated or used during query planning.</p></li>
</ul>
</section>
@@ -594,17 +600,17 @@ useful place to get the lay of the land before starting down a specific path.</p
<!-- Previous / next buttons -->
<div class='prev-next-area'>
- <a class='left-prev' id="prev-link" href="../user-guide/faq.html" title="previous page">
+ <a class='left-prev' id="prev-link" href="custom-table-providers.html" title="previous page">
<i class="fas fa-angle-left"></i>
<div class="prev-next-info">
<p class="prev-next-subtitle">previous</p>
- <p class="prev-next-title">Frequently Asked Questions</p>
+ <p class="prev-next-title">Custom Table Provider</p>
</div>
</a>
- <a class='right-next' id="next-link" href="extensions.html" title="next page">
+ <a class='right-next' id="next-link" href="extending-operators.html" title="next page">
<div class="prev-next-info">
<p class="prev-next-subtitle">next</p>
- <p class="prev-next-title">Extensions List</p>
+ <p class="prev-next-title">Extending DataFusion’s operators: custom LogicalPlan and Execution Plans</p>
</div>
<i class="fas fa-angle-right"></i>
</a>
diff --git a/library-user-guide/upgrading.html b/library-user-guide/upgrading.html
index ad0b774c0e..d0eed8115e 100644
--- a/library-user-guide/upgrading.html
+++ b/library-user-guide/upgrading.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/library-user-guide/using-the-dataframe-api.html b/library-user-guide/using-the-dataframe-api.html
index ce02077b05..2e18b994cb 100644
--- a/library-user-guide/using-the-dataframe-api.html
+++ b/library-user-guide/using-the-dataframe-api.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/library-user-guide/using-the-sql-api.html b/library-user-guide/using-the-sql-api.html
index 9e61ff40c7..6539e05c05 100644
--- a/library-user-guide/using-the-sql-api.html
+++ b/library-user-guide/using-the-sql-api.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/library-user-guide/working-with-exprs.html b/library-user-guide/working-with-exprs.html
index 48625922f7..bf752c9c02 100644
--- a/library-user-guide/working-with-exprs.html
+++ b/library-user-guide/working-with-exprs.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/objects.inv b/objects.inv
index 4ee4657a6c..4d5b49c3ef 100644
Binary files a/objects.inv and b/objects.inv differ
diff --git a/search.html b/search.html
index 7b5a104137..98dc447e20 100644
--- a/search.html
+++ b/search.html
@@ -371,6 +371,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/searchindex.js b/searchindex.js
index 0ef662758d..358941a6b3 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles":{"!=":[[54,"op-neq"]],"!~":[[54,"op-re-not-match"]],"!~*":[[54,"op-re-not-match-i"]],"!~~":[[54,"id19"]],"!~~*":[[54,"id20"]],"#":[[54,"op-bit-xor"]],"%":[[54,"op-modulo"]],"&":[[54,"op-bit-and"]],"(relation, name) tuples in logical fields and logical columns are unique":[[12,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[54,"op-multiply"]],"+":[[54,"op-plus"]],"-":[[54,"op-minus"]],"/":[[54,"op-divide"]],"2022 Q2":[[10,"q2"]] [...]
\ No newline at end of file
+Search.setIndex({"alltitles":{"!=":[[55,"op-neq"]],"!~":[[55,"op-re-not-match"]],"!~*":[[55,"op-re-not-match-i"]],"!~~":[[55,"id19"]],"!~~*":[[55,"id20"]],"#":[[55,"op-bit-xor"]],"%":[[55,"op-modulo"]],"&":[[55,"op-bit-and"]],"(relation, name) tuples in logical fields and logical columns are unique":[[12,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[55,"op-multiply"]],"+":[[55,"op-plus"]],"-":[[55,"op-minus"]],"/":[[55,"op-divide"]],"2022 Q2":[[10,"q2"]] [...]
\ No newline at end of file
diff --git a/user-guide/cli/datasources.html b/user-guide/cli/datasources.html
index a9ea511ff3..4ca7c09b5c 100644
--- a/user-guide/cli/datasources.html
+++ b/user-guide/cli/datasources.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/cli/index.html b/user-guide/cli/index.html
index 7cd2f76bd7..0516e8d848 100644
--- a/user-guide/cli/index.html
+++ b/user-guide/cli/index.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/cli/installation.html b/user-guide/cli/installation.html
index 911cf289cb..a37e690220 100644
--- a/user-guide/cli/installation.html
+++ b/user-guide/cli/installation.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/cli/overview.html b/user-guide/cli/overview.html
index dfb1923333..72d037e155 100644
--- a/user-guide/cli/overview.html
+++ b/user-guide/cli/overview.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/cli/usage.html b/user-guide/cli/usage.html
index f5eb6dc97c..158962e0ce 100644
--- a/user-guide/cli/usage.html
+++ b/user-guide/cli/usage.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/concepts-readings-events.html b/user-guide/concepts-readings-events.html
index 92617fdbb3..e2f9c48405 100644
--- a/user-guide/concepts-readings-events.html
+++ b/user-guide/concepts-readings-events.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/configs.html b/user-guide/configs.html
index 4eaa0c2021..4f229df02b 100644
--- a/user-guide/configs.html
+++ b/user-guide/configs.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/crate-configuration.html b/user-guide/crate-configuration.html
index eec02a2586..af4c04ea78 100644
--- a/user-guide/crate-configuration.html
+++ b/user-guide/crate-configuration.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/dataframe.html b/user-guide/dataframe.html
index 15ef778c21..c999d95dcf 100644
--- a/user-guide/dataframe.html
+++ b/user-guide/dataframe.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/example-usage.html b/user-guide/example-usage.html
index d7aa46d918..be583cce1c 100644
--- a/user-guide/example-usage.html
+++ b/user-guide/example-usage.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/explain-usage.html b/user-guide/explain-usage.html
index 3a326fcdb0..db5e01fe93 100644
--- a/user-guide/explain-usage.html
+++ b/user-guide/explain-usage.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/expressions.html b/user-guide/expressions.html
index 93302948c7..f19c7dbfba 100644
--- a/user-guide/expressions.html
+++ b/user-guide/expressions.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/faq.html b/user-guide/faq.html
index f1c7c9ac14..56551ea533 100644
--- a/user-guide/faq.html
+++ b/user-guide/faq.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/features.html b/user-guide/features.html
index 9c06d50ba2..bd1d418353 100644
--- a/user-guide/features.html
+++ b/user-guide/features.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/introduction.html b/user-guide/introduction.html
index e59e4ebe61..6190662803 100644
--- a/user-guide/introduction.html
+++ b/user-guide/introduction.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/runtime_configs.html b/user-guide/runtime_configs.html
index 162e22e884..31696c0f5f 100644
--- a/user-guide/runtime_configs.html
+++ b/user-guide/runtime_configs.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/sql/aggregate_functions.html b/user-guide/sql/aggregate_functions.html
index c14d0720d2..b8d884989b 100644
--- a/user-guide/sql/aggregate_functions.html
+++ b/user-guide/sql/aggregate_functions.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/sql/data_types.html b/user-guide/sql/data_types.html
index 73570059bb..8164373b42 100644
--- a/user-guide/sql/data_types.html
+++ b/user-guide/sql/data_types.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/sql/ddl.html b/user-guide/sql/ddl.html
index ff98f46987..34df78e411 100644
--- a/user-guide/sql/ddl.html
+++ b/user-guide/sql/ddl.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/sql/dml.html b/user-guide/sql/dml.html
index 010a9e138b..e6acd1a7fc 100644
--- a/user-guide/sql/dml.html
+++ b/user-guide/sql/dml.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/sql/explain.html b/user-guide/sql/explain.html
index 4a6d3bc50e..9c79e2a049 100644
--- a/user-guide/sql/explain.html
+++ b/user-guide/sql/explain.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/sql/format_options.html b/user-guide/sql/format_options.html
index db53639584..0716f055c5 100644
--- a/user-guide/sql/format_options.html
+++ b/user-guide/sql/format_options.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/sql/index.html b/user-guide/sql/index.html
index 98554c0813..91875d3a3d 100644
--- a/user-guide/sql/index.html
+++ b/user-guide/sql/index.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/sql/information_schema.html b/user-guide/sql/information_schema.html
index f9c7c77f4d..00a7b15d5a 100644
--- a/user-guide/sql/information_schema.html
+++ b/user-guide/sql/information_schema.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/sql/operators.html b/user-guide/sql/operators.html
index 537bd0e440..e3704e8d56 100644
--- a/user-guide/sql/operators.html
+++ b/user-guide/sql/operators.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/sql/prepared_statements.html b/user-guide/sql/prepared_statements.html
index 5a0a1b69e5..44a4af74d2 100644
--- a/user-guide/sql/prepared_statements.html
+++ b/user-guide/sql/prepared_statements.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/sql/scalar_functions.html b/user-guide/sql/scalar_functions.html
index de06d9446f..dc1b8fe0cc 100644
--- a/user-guide/sql/scalar_functions.html
+++ b/user-guide/sql/scalar_functions.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/sql/select.html b/user-guide/sql/select.html
index 64f70a491c..89f03c502f 100644
--- a/user-guide/sql/select.html
+++ b/user-guide/sql/select.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/sql/special_functions.html b/user-guide/sql/special_functions.html
index d9a28c9111..219b512bbd 100644
--- a/user-guide/sql/special_functions.html
+++ b/user-guide/sql/special_functions.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/sql/subqueries.html b/user-guide/sql/subqueries.html
index a3e415a193..e81fbec634 100644
--- a/user-guide/sql/subqueries.html
+++ b/user-guide/sql/subqueries.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
diff --git a/user-guide/sql/window_functions.html b/user-guide/sql/window_functions.html
index e52bc6b75c..40642a041c 100644
--- a/user-guide/sql/window_functions.html
+++ b/user-guide/sql/window_functions.html
@@ -367,6 +367,11 @@
Custom Table Provider
</a>
</li>
+ <li class="toctree-l1">
+ <a class="reference internal" href="../../library-user-guide/table-constraints.html">
+ Table Constraint Enforcement
+ </a>
+ </li>
<li class="toctree-l1">
<a class="reference internal" href="../../library-user-guide/extending-operators.html">
Extending DataFusion’s operators: custom LogicalPlan and Execution Plans
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org