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 2026/02/11 13:04:41 UTC

(datafusion-python) branch asf-staging updated: Publish built docs triggered by 3f89704f9d8885521a2d9f2f4c8e78d4a67e9b2a

This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/datafusion-python.git


The following commit(s) were added to refs/heads/asf-staging by this push:
     new f8cd9667 Publish built docs triggered by 3f89704f9d8885521a2d9f2f4c8e78d4a67e9b2a
f8cd9667 is described below

commit f8cd9667ad11f6b814d557606c632c6043b25bce
Author: github-actions[bot] <gi...@users.noreply.github.com>
AuthorDate: Wed Feb 11 13:04:36 2026 +0000

    Publish built docs triggered by 3f89704f9d8885521a2d9f2f4c8e78d4a67e9b2a
---
 _sources/autoapi/datafusion/catalog/index.rst.txt  |  133 +-
 _sources/autoapi/datafusion/context/index.rst.txt  |  119 +-
 .../autoapi/datafusion/dataframe/index.rst.txt     |  545 +++--
 .../datafusion/dataframe_formatter/index.rst.txt   |  102 +-
 _sources/autoapi/datafusion/expr/index.rst.txt     |   62 +-
 .../autoapi/datafusion/functions/index.rst.txt     |  203 +-
 _sources/autoapi/datafusion/index.rst.txt          |  949 ++++-----
 _sources/autoapi/datafusion/io/index.rst.txt       |    4 +-
 _sources/autoapi/datafusion/options/index.rst.txt  |  242 +++
 .../autoapi/datafusion/record_batch/index.rst.txt  |   25 +-
 .../autoapi/datafusion/user_defined/index.rst.txt  |   86 +-
 _sources/contributor-guide/ffi.rst.txt             |   65 +-
 _sources/contributor-guide/introduction.rst.txt    |    4 +
 _sources/index.rst.txt                             |    1 +
 .../common-operations/expressions.rst.txt          |    7 +
 .../user-guide/common-operations/joins.rst.txt     |   34 +-
 .../common-operations/udf-and-udfa.rst.txt         |   11 +
 .../user-guide/common-operations/windows.rst.txt   |   44 +-
 _sources/user-guide/configuration.rst.txt          |    2 +
 _sources/user-guide/data-sources.rst.txt           |   43 +-
 _sources/user-guide/dataframe/index.rst.txt        |  166 +-
 _sources/user-guide/dataframe/rendering.rst.txt    |    8 +-
 _sources/user-guide/io/arrow.rst.txt               |   10 +-
 _sources/user-guide/io/csv.rst.txt                 |   22 +
 _sources/user-guide/io/table_provider.rst.txt      |   20 +-
 _sources/user-guide/sql.rst.txt                    |   91 +-
 _sources/user-guide/upgrade-guides.rst.txt         |   96 +
 autoapi/datafusion/catalog/index.html              |  291 ++-
 autoapi/datafusion/context/index.html              |  202 +-
 autoapi/datafusion/dataframe/index.html            | 1108 +++++-----
 autoapi/datafusion/dataframe_formatter/index.html  |  174 +-
 autoapi/datafusion/expr/index.html                 |  210 +-
 autoapi/datafusion/functions/index.html            |  141 +-
 autoapi/datafusion/html_formatter/index.html       |   10 +
 autoapi/datafusion/index.html                      | 2230 ++++++++------------
 autoapi/datafusion/input/base/index.html           |   10 +
 autoapi/datafusion/input/index.html                |   10 +
 autoapi/datafusion/input/location/index.html       |   10 +
 autoapi/datafusion/io/index.html                   |   14 +-
 autoapi/datafusion/object_store/index.html         |   16 +-
 autoapi/datafusion/options/index.html              | 1039 +++++++++
 autoapi/datafusion/plan/index.html                 |   16 +-
 autoapi/datafusion/record_batch/index.html         |   46 +-
 autoapi/datafusion/substrait/index.html            |   10 +
 autoapi/datafusion/unparser/index.html             |   10 +
 autoapi/datafusion/user_defined/index.html         |  135 +-
 autoapi/index.html                                 |   11 +
 contributor-guide/ffi.html                         |   68 +-
 contributor-guide/introduction.html                |   19 +-
 genindex.html                                      |  680 +++---
 index.html                                         |   10 +
 objects.inv                                        |  Bin 8733 -> 9219 bytes
 py-modindex.html                                   |   15 +
 search.html                                        |   10 +
 searchindex.js                                     |    2 +-
 user-guide/basics.html                             |   10 +
 user-guide/common-operations/aggregations.html     |   34 +-
 user-guide/common-operations/basic-info.html       |   44 +-
 user-guide/common-operations/expressions.html      |  109 +-
 user-guide/common-operations/functions.html        |   58 +-
 user-guide/common-operations/index.html            |   11 +
 user-guide/common-operations/joins.html            |   61 +
 .../common-operations/select-and-filter.html       |   10 +
 user-guide/common-operations/udf-and-udfa.html     |   19 +
 user-guide/common-operations/views.html            |   10 +
 user-guide/common-operations/windows.html          |   54 +-
 user-guide/configuration.html                      |   12 +-
 user-guide/data-sources.html                       |   52 +-
 user-guide/dataframe/index.html                    |  168 +-
 user-guide/dataframe/rendering.html                |   18 +-
 user-guide/introduction.html                       |   12 +-
 user-guide/io/arrow.html                           |   28 +-
 user-guide/io/avro.html                            |   10 +
 user-guide/io/csv.html                             |   29 +
 user-guide/io/index.html                           |   10 +
 user-guide/io/json.html                            |   10 +
 user-guide/io/parquet.html                         |   10 +
 user-guide/io/table_provider.html                  |   32 +-
 user-guide/sql.html                                |  150 +-
 user-guide/{sql.html => upgrade-guides.html}       |  121 +-
 80 files changed, 7023 insertions(+), 3650 deletions(-)

diff --git a/_sources/autoapi/datafusion/catalog/index.rst.txt b/_sources/autoapi/datafusion/catalog/index.rst.txt
index 9364aae2..f2c9776f 100644
--- a/_sources/autoapi/datafusion/catalog/index.rst.txt
+++ b/_sources/autoapi/datafusion/catalog/index.rst.txt
@@ -15,7 +15,9 @@ Classes
 .. autoapisummary::
 
    datafusion.catalog.Catalog
+   datafusion.catalog.CatalogList
    datafusion.catalog.CatalogProvider
+   datafusion.catalog.CatalogProviderList
    datafusion.catalog.Schema
    datafusion.catalog.SchemaProvider
    datafusion.catalog.Table
@@ -49,7 +51,7 @@ Module Contents
 
 
 
-   .. py:method:: memory_catalog() -> Catalog
+   .. py:method:: memory_catalog(ctx: datafusion.SessionContext | None = None) -> Catalog
       :staticmethod:
 
 
@@ -63,7 +65,7 @@ Module Contents
 
 
 
-   .. py:method:: register_schema(name, schema) -> Schema | None
+   .. py:method:: register_schema(name: str, schema: Schema | SchemaProvider | SchemaProviderExportable) -> Schema | None
 
       Register a schema with this catalog.
 
@@ -84,6 +86,54 @@ Module Contents
    .. py:attribute:: catalog
 
 
+.. py:class:: CatalogList(catalog_list: datafusion._internal.catalog.RawCatalogList)
+
+   DataFusion data catalog list.
+
+   This constructor is not typically called by the end user.
+
+
+   .. py:method:: __repr__() -> str
+
+      Print a string representation of the catalog list.
+
+
+
+   .. py:method:: catalog(name: str = 'datafusion') -> Catalog
+
+      Returns the catalog with the given ``name`` from this catalog.
+
+
+
+   .. py:method:: catalog_names() -> set[str]
+
+      Returns the list of schemas in this catalog.
+
+
+
+   .. py:method:: memory_catalog(ctx: datafusion.SessionContext | None = None) -> CatalogList
+      :staticmethod:
+
+
+      Create an in-memory catalog provider list.
+
+
+
+   .. py:method:: names() -> set[str]
+
+      This is an alias for `catalog_names`.
+
+
+
+   .. py:method:: register_catalog(name: str, catalog: Catalog | CatalogProvider | CatalogProviderExportable) -> Catalog | None
+
+      Register a catalog with this catalog list.
+
+
+
+   .. py:attribute:: catalog_list
+
+
 .. py:class:: CatalogProvider
 
    Bases: :py:obj:`abc.ABC`
@@ -129,6 +179,39 @@ Module Contents
 
 
 
+.. py:class:: CatalogProviderList
+
+   Bases: :py:obj:`abc.ABC`
+
+
+   Abstract class for defining a Python based Catalog Provider List.
+
+
+   .. py:method:: catalog(name: str) -> CatalogProviderExportable | CatalogProvider | Catalog | None
+      :abstractmethod:
+
+
+      Retrieve a specific catalog from this catalog list.
+
+
+
+   .. py:method:: catalog_names() -> set[str]
+      :abstractmethod:
+
+
+      Set of the names of all catalogs in this catalog list.
+
+
+
+   .. py:method:: register_catalog(name: str, catalog: CatalogProviderExportable | CatalogProvider | Catalog) -> None
+
+      Add a catalog to this catalog list.
+
+      This method is optional. If your catalog provides a fixed list of catalogs, you
+      do not need to implement this method.
+
+
+
 .. py:class:: Schema(schema: datafusion._internal.catalog.RawSchema)
 
    DataFusion Schema.
@@ -148,7 +231,7 @@ Module Contents
 
 
 
-   .. py:method:: memory_schema() -> Schema
+   .. py:method:: memory_schema(ctx: datafusion.SessionContext | None = None) -> Schema
       :staticmethod:
 
 
@@ -162,9 +245,9 @@ Module Contents
 
 
 
-   .. py:method:: register_table(name, table) -> None
+   .. py:method:: register_table(name: str, table: Table | datafusion.context.TableProviderExportable | datafusion.DataFrame | pyarrow.dataset.Dataset) -> None
 
-      Register a table provider in this schema.
+      Register a table in this schema.
 
 
 
@@ -174,6 +257,12 @@ Module Contents
 
 
 
+   .. py:method:: table_exist(name: str) -> bool
+
+      Determines if a table exists in this schema.
+
+
+
    .. py:method:: table_names() -> set[str]
 
       Returns the list of all tables in this schema.
@@ -191,7 +280,7 @@ Module Contents
    Abstract class for defining a Python based Schema Provider.
 
 
-   .. py:method:: deregister_table(name, cascade: bool) -> None
+   .. py:method:: deregister_table(name: str, cascade: bool) -> None
 
       Remove a table from this schema.
 
@@ -208,9 +297,9 @@ Module Contents
 
 
 
-   .. py:method:: register_table(name: str, table: Table) -> None
+   .. py:method:: register_table(name: str, table: Table | datafusion.context.TableProviderExportable | Any) -> None
 
-      Add a table from this schema.
+      Add a table to this schema.
 
       This method is optional. If your schema provides a fixed list of tables, you do
       not need to implement this method.
@@ -241,11 +330,20 @@ Module Contents
 
 
 
-.. py:class:: Table(table: datafusion._internal.catalog.RawTable)
+.. py:class:: Table(table: Table | datafusion.context.TableProviderExportable | datafusion.DataFrame | pyarrow.dataset.Dataset, ctx: datafusion.SessionContext | None = None)
 
-   DataFusion table.
+   A DataFusion table.
 
-   This constructor is not typically called by the end user.
+   Internally we currently support the following types of tables:
+
+   - Tables created using built-in DataFusion methods, such as
+     reading from CSV or Parquet
+   - pyarrow datasets
+   - DataFusion DataFrames, which will be converted into a view
+   - Externally provided tables implemented with the FFI PyCapsule
+     interface (advanced)
+
+   Constructor.
 
 
    .. py:method:: __repr__() -> str
@@ -258,10 +356,18 @@ Module Contents
       :staticmethod:
 
 
-      Turn a pyarrow Dataset into a Table.
+      Turn a :mod:`pyarrow.dataset` ``Dataset`` into a :class:`Table`.
+
+
+
+   .. py:attribute:: __slots__
+      :value: ('_inner',)
 
 
 
+   .. py:attribute:: _inner
+
+
    .. py:property:: kind
       :type: str
 
@@ -276,6 +382,3 @@ Module Contents
       Returns the schema associated with this table.
 
 
-   .. py:attribute:: table
-
-
diff --git a/_sources/autoapi/datafusion/context/index.rst.txt b/_sources/autoapi/datafusion/context/index.rst.txt
index 672346d6..f010a010 100644
--- a/_sources/autoapi/datafusion/context/index.rst.txt
+++ b/_sources/autoapi/datafusion/context/index.rst.txt
@@ -16,7 +16,6 @@ Classes
 
    datafusion.context.ArrowArrayExportable
    datafusion.context.ArrowStreamExportable
-   datafusion.context.CatalogProviderExportable
    datafusion.context.RuntimeConfig
    datafusion.context.RuntimeEnvBuilder
    datafusion.context.SQLOptions
@@ -54,19 +53,6 @@ Module Contents
    .. py:method:: __arrow_c_stream__(requested_schema: object | None = None) -> object
 
 
-.. py:class:: CatalogProviderExportable
-
-   Bases: :py:obj:`Protocol`
-
-
-   Type hint for object that has __datafusion_catalog_provider__ PyCapsule.
-
-   https://docs.rs/datafusion/latest/datafusion/catalog/trait.CatalogProvider.html
-
-
-   .. py:method:: __datafusion_catalog_provider__() -> object
-
-
 .. py:class:: RuntimeConfig
 
    Bases: :py:obj:`RuntimeEnvBuilder`
@@ -425,12 +411,36 @@ Module Contents
        df = ctx.read_csv("data.csv")
 
 
+   .. py:method:: __datafusion_logical_extension_codec__() -> Any
+
+      Access the PyCapsule FFI_LogicalExtensionCodec.
+
+
+
+   .. py:method:: __datafusion_task_context_provider__() -> Any
+
+      Access the PyCapsule FFI_TaskContextProvider.
+
+
+
    .. py:method:: __repr__() -> str
 
       Print a string representation of the Session Context.
 
 
 
+   .. py:method:: _convert_file_sort_order(file_sort_order: collections.abc.Sequence[collections.abc.Sequence[datafusion.expr.SortKey]] | None) -> list[list[datafusion._internal.expr.SortExpr]] | None
+      :staticmethod:
+
+
+      Convert nested ``SortKey`` sequences into raw sort expressions.
+
+      Each ``SortKey`` can be a column name string, an ``Expr``, or a
+      ``SortExpr`` and will be converted using
+      :func:`datafusion.expr.sort_list_to_raw_sort_list`.
+
+
+
    .. py:method:: _convert_table_partition_cols(table_partition_cols: list[tuple[str, str | pyarrow.DataType]]) -> list[tuple[str, pyarrow.DataType]]
       :staticmethod:
 
@@ -588,7 +598,7 @@ Module Contents
 
 
 
-   .. py:method:: read_csv(path: str | pathlib.Path | list[str] | list[pathlib.Path], schema: pyarrow.Schema | None = None, has_header: bool = True, delimiter: str = ',', schema_infer_max_records: int = 1000, file_extension: str = '.csv', table_partition_cols: list[tuple[str, str | pyarrow.DataType]] | None = None, file_compression_type: str | None = None) -> datafusion.dataframe.DataFrame
+   .. py:method:: read_csv(path: str | pathlib.Path | list[str] | list[pathlib.Path], schema: pyarrow.Schema | None = None, has_header: bool = True, delimiter: str = ',', schema_infer_max_records: int = DEFAULT_MAX_INFER_SCHEMA, file_extension: str = '.csv', table_partition_cols: list[tuple[str, str | pyarrow.DataType]] | None = None, file_compression_type: str | None = None, options: datafusion.options.CsvReadOptions | None = None) -> datafusion.dataframe.DataFrame
 
       Read a CSV data source.
 
@@ -605,6 +615,8 @@ Module Contents
                              selected for data input.
       :param table_partition_cols: Partition columns.
       :param file_compression_type: File compression type.
+      :param options: Set advanced options for CSV reading. This cannot be
+                      combined with any of the other options in this method.
 
       :returns: DataFrame representation of the read CSV files
 
@@ -627,7 +639,7 @@ Module Contents
 
 
 
-   .. py:method:: read_parquet(path: str | pathlib.Path, table_partition_cols: list[tuple[str, str | pyarrow.DataType]] | None = None, parquet_pruning: bool = True, file_extension: str = '.parquet', skip_metadata: bool = True, schema: pyarrow.Schema | None = None, file_sort_order: list[list[datafusion.expr.Expr | datafusion.expr.SortExpr]] | None = None) -> datafusion.dataframe.DataFrame
+   .. py:method:: read_parquet(path: str | pathlib.Path, table_partition_cols: list[tuple[str, str | pyarrow.DataType]] | None = None, parquet_pruning: bool = True, file_extension: str = '.parquet', skip_metadata: bool = True, schema: pyarrow.Schema | None = None, file_sort_order: collections.abc.Sequence[collections.abc.Sequence[datafusion.expr.SortKey]] | None = None) -> datafusion.dataframe.DataFrame
 
       Read a Parquet source into a :py:class:`~datafusion.dataframe.Dataframe`.
 
@@ -643,20 +655,18 @@ Module Contents
       :param schema: An optional schema representing the parquet files. If None,
                      the parquet reader will try to infer it based on data in the
                      file.
-      :param file_sort_order: Sort order for the file.
+      :param file_sort_order: Sort order for the file. Each sort key can be
+                              specified as a column name (``str``), an expression
+                              (``Expr``), or a ``SortExpr``.
 
       :returns: DataFrame representation of the read Parquet files
 
 
 
-   .. py:method:: read_table(table: datafusion.catalog.Table) -> datafusion.dataframe.DataFrame
+   .. py:method:: read_table(table: datafusion.catalog.Table | TableProviderExportable | datafusion.dataframe.DataFrame | pyarrow.dataset.Dataset) -> datafusion.dataframe.DataFrame
 
       Creates a :py:class:`~datafusion.dataframe.DataFrame` from a table.
 
-      For a :py:class:`~datafusion.catalog.Table` such as a
-      :py:class:`~datafusion.catalog.ListingTable`, create a
-      :py:class:`~datafusion.dataframe.DataFrame`.
-
 
 
    .. py:method:: register_avro(name: str, path: str | pathlib.Path, schema: pyarrow.Schema | None = None, file_extension: str = '.avro', table_partition_cols: list[tuple[str, str | pyarrow.DataType]] | None = None) -> None
@@ -674,13 +684,19 @@ Module Contents
 
 
 
-   .. py:method:: register_catalog_provider(name: str, provider: CatalogProviderExportable | datafusion.catalog.CatalogProvider | datafusion.catalog.Catalog) -> None
+   .. py:method:: register_catalog_provider(name: str, provider: datafusion.catalog.CatalogProviderExportable | datafusion.catalog.CatalogProvider | datafusion.catalog.Catalog) -> None
 
       Register a catalog provider.
 
 
 
-   .. py:method:: register_csv(name: str, path: str | pathlib.Path | list[str | pathlib.Path], schema: pyarrow.Schema | None = None, has_header: bool = True, delimiter: str = ',', schema_infer_max_records: int = 1000, file_extension: str = '.csv', file_compression_type: str | None = None) -> None
+   .. py:method:: register_catalog_provider_list(provider: datafusion.catalog.CatalogProviderListExportable | datafusion.catalog.CatalogProviderList | datafusion.catalog.CatalogList) -> None
+
+      Register a catalog provider list.
+
+
+
+   .. py:method:: register_csv(name: str, path: str | pathlib.Path | list[str | pathlib.Path], schema: pyarrow.Schema | None = None, has_header: bool = True, delimiter: str = ',', schema_infer_max_records: int = DEFAULT_MAX_INFER_SCHEMA, file_extension: str = '.csv', file_compression_type: str | None = None, options: datafusion.options.CsvReadOptions | None = None) -> None
 
       Register a CSV file as a table.
 
@@ -699,6 +715,8 @@ Module Contents
       :param file_extension: File extension; only files with this extension are
                              selected for data input.
       :param file_compression_type: File compression type.
+      :param options: Set advanced options for CSV reading. This cannot be
+                      combined with any of the other options in this method.
 
 
 
@@ -730,7 +748,7 @@ Module Contents
 
 
 
-   .. py:method:: register_listing_table(name: str, path: str | pathlib.Path, table_partition_cols: list[tuple[str, str | pyarrow.DataType]] | None = None, file_extension: str = '.parquet', schema: pyarrow.Schema | None = None, file_sort_order: list[list[datafusion.expr.Expr | datafusion.expr.SortExpr]] | None = None) -> None
+   .. py:method:: register_listing_table(name: str, path: str | pathlib.Path, table_partition_cols: list[tuple[str, str | pyarrow.DataType]] | None = None, file_extension: str = '.parquet', schema: pyarrow.Schema | None = None, file_sort_order: collections.abc.Sequence[collections.abc.Sequence[datafusion.expr.SortKey]] | None = None) -> None
 
       Register multiple files as a single table.
 
@@ -743,7 +761,9 @@ Module Contents
       :param table_partition_cols: Partition columns.
       :param file_extension: File extension of the provided table.
       :param schema: The data source schema.
-      :param file_sort_order: Sort order for the file.
+      :param file_sort_order: Sort order for the file. Each sort key can be
+                              specified as a column name (``str``), an expression
+                              (``Expr``), or a ``SortExpr``.
 
 
 
@@ -757,7 +777,7 @@ Module Contents
 
 
 
-   .. py:method:: register_parquet(name: str, path: str | pathlib.Path, table_partition_cols: list[tuple[str, str | pyarrow.DataType]] | None = None, parquet_pruning: bool = True, file_extension: str = '.parquet', skip_metadata: bool = True, schema: pyarrow.Schema | None = None, file_sort_order: list[list[datafusion.expr.SortExpr]] | None = None) -> None
+   .. py:method:: register_parquet(name: str, path: str | pathlib.Path, table_partition_cols: list[tuple[str, str | pyarrow.DataType]] | None = None, parquet_pruning: bool = True, file_extension: str = '.parquet', skip_metadata: bool = True, schema: pyarrow.Schema | None = None, file_sort_order: collections.abc.Sequence[collections.abc.Sequence[datafusion.expr.SortKey]] | None = None) -> None
 
       Register a Parquet file as a table.
 
@@ -775,7 +795,9 @@ Module Contents
                             that may be in the file schema. This can help avoid schema
                             conflicts due to metadata.
       :param schema: The data source schema.
-      :param file_sort_order: Sort order for the file.
+      :param file_sort_order: Sort order for the file. Each sort key can be
+                              specified as a column name (``str``), an expression
+                              (``Expr``), or a ``SortExpr``.
 
 
 
@@ -791,23 +813,23 @@ Module Contents
 
 
 
-   .. py:method:: register_table(name: str, table: datafusion.catalog.Table) -> None
+   .. py:method:: register_table(name: str, table: datafusion.catalog.Table | TableProviderExportable | datafusion.dataframe.DataFrame | pyarrow.dataset.Dataset) -> None
 
-      Register a :py:class: `~datafusion.catalog.Table` as a table.
+      Register a :py:class:`~datafusion.Table` with this context.
 
-      The registered table can be referenced from SQL statement executed against.
+      The registered table can be referenced from SQL statements executed against
+      this context.
 
       :param name: Name of the resultant table.
-      :param table: DataFusion table to add to the session context.
+      :param table: Any object that can be converted into a :class:`Table`.
 
 
 
-   .. py:method:: register_table_provider(name: str, provider: TableProviderExportable) -> None
+   .. py:method:: register_table_provider(name: str, provider: datafusion.catalog.Table | TableProviderExportable | datafusion.dataframe.DataFrame | pyarrow.dataset.Dataset) -> None
 
       Register a table provider.
 
-      This table provider must have a method called ``__datafusion_table_provider__``
-      which returns a PyCapsule that exposes a ``FFI_TableProvider``.
+      Deprecated: use :meth:`register_table` instead.
 
 
 
@@ -837,7 +859,7 @@ Module Contents
 
    .. py:method:: register_view(name: str, df: datafusion.dataframe.DataFrame) -> None
 
-      Register a :py:class: `~datafusion.detaframe.DataFrame` as a view.
+      Register a :py:class:`~datafusion.dataframe.DataFrame` as a view.
 
       :param name: The name to register the view under.
       :type name: str
@@ -852,10 +874,14 @@ Module Contents
 
 
 
-   .. py:method:: sql(query: str, options: SQLOptions | None = None) -> datafusion.dataframe.DataFrame
+   .. py:method:: sql(query: str, options: SQLOptions | None = None, param_values: dict[str, Any] | None = None, **named_params: Any) -> datafusion.dataframe.DataFrame
 
       Create a :py:class:`~datafusion.DataFrame` from SQL query text.
 
+      See the online documentation for a description of how to perform
+      parameterized substitution via either the ``param_values`` option
+      or passing in ``named_params``.
+
       Note: This API implements DDL statements such as ``CREATE TABLE`` and
       ``CREATE VIEW`` and DML statements such as ``INSERT INTO`` with in-memory
       default implementation.See
@@ -863,12 +889,15 @@ Module Contents
 
       :param query: SQL query text.
       :param options: If provided, the query will be validated against these options.
+      :param param_values: Provides substitution of scalar values in the query
+                           after parsing.
+      :param named_params: Provides string or DataFrame substitution in the query string.
 
       :returns: DataFrame representation of the SQL query.
 
 
 
-   .. py:method:: sql_with_options(query: str, options: SQLOptions) -> datafusion.dataframe.DataFrame
+   .. py:method:: sql_with_options(query: str, options: SQLOptions, param_values: dict[str, Any] | None = None, **named_params: Any) -> datafusion.dataframe.DataFrame
 
       Create a :py:class:`~datafusion.dataframe.DataFrame` from SQL query text.
 
@@ -877,6 +906,9 @@ Module Contents
 
       :param query: SQL query text.
       :param options: SQL options.
+      :param param_values: Provides substitution of scalar values in the query
+                           after parsing.
+      :param named_params: Provides string or DataFrame substitution in the query string.
 
       :returns: DataFrame representation of the SQL query.
 
@@ -894,6 +926,15 @@ Module Contents
 
 
 
+   .. py:method:: with_logical_extension_codec(codec: Any) -> SessionContext
+
+      Create a new session context with specified codec.
+
+      This only supports codecs that have been implemented using the
+      FFI interface.
+
+
+
    .. py:attribute:: ctx
 
 
@@ -907,6 +948,6 @@ Module Contents
    https://datafusion.apache.org/python/user-guide/io/table_provider.html
 
 
-   .. py:method:: __datafusion_table_provider__() -> object
+   .. py:method:: __datafusion_table_provider__(session: Any) -> object
 
 
diff --git a/_sources/autoapi/datafusion/dataframe/index.rst.txt b/_sources/autoapi/datafusion/dataframe/index.rst.txt
index 9e924388..0ac97106 100644
--- a/_sources/autoapi/datafusion/dataframe/index.rst.txt
+++ b/_sources/autoapi/datafusion/dataframe/index.rst.txt
@@ -18,6 +18,8 @@ Classes
 
    datafusion.dataframe.Compression
    datafusion.dataframe.DataFrame
+   datafusion.dataframe.DataFrameWriteOptions
+   datafusion.dataframe.InsertOp
    datafusion.dataframe.ParquetColumnOptions
    datafusion.dataframe.ParquetWriterOptions
 
@@ -25,7 +27,7 @@ Classes
 Module Contents
 ---------------
 
-.. py:class:: Compression(*args, **kwds)
+.. py:class:: Compression
 
    Bases: :py:obj:`enum.Enum`
 
@@ -47,7 +49,7 @@ Module Contents
 
 
 
-   .. py:method:: get_default_level() -> Optional[int]
+   .. py:method:: get_default_level() -> int | None
 
       Get the default compression level for the compression type.
 
@@ -94,6 +96,9 @@ Module Contents
 
    Two dimensional table representation of data.
 
+   DataFrame objects are iterable; iterating over a DataFrame yields
+   :class:`datafusion.RecordBatch` instances lazily.
+
    See :ref:`user_guide_concepts` in the online documentation for more information.
 
    This constructor is not to be used by the end user.
@@ -102,24 +107,52 @@ Module Contents
    create a :py:class:`DataFrame`.
 
 
+   .. py:method:: __aiter__() -> collections.abc.AsyncIterator[datafusion.record_batch.RecordBatch]
+
+      Return an async iterator over this DataFrame's record batches.
+
+      We're using __aiter__ because we support Python < 3.10 where aiter() is not
+      available.
+
+
+
    .. py:method:: __arrow_c_stream__(requested_schema: object | None = None) -> object
 
-      Export an Arrow PyCapsule Stream.
+      Export the DataFrame as an Arrow C Stream.
+
+      The DataFrame is executed using DataFusion's streaming APIs and exposed via
+      Arrow's C Stream interface. Record batches are produced incrementally, so the
+      full result set is never materialized in memory.
+
+      When ``requested_schema`` is provided, DataFusion applies only simple
+      projections such as selecting a subset of existing columns or reordering
+      them. Column renaming, computed expressions, or type coercion are not
+      supported through this interface.
 
-      This will execute and collect the DataFrame. We will attempt to respect the
-      requested schema, but only trivial transformations will be applied such as only
-      returning the fields listed in the requested schema if their data types match
-      those in the DataFrame.
+      :param requested_schema: Either a :py:class:`pyarrow.Schema` or an Arrow C
+                               Schema capsule (``PyCapsule``) produced by
+                               ``schema._export_to_c_capsule()``. The DataFrame will attempt to
+                               align its output with the fields and order specified by this schema.
 
-      :param requested_schema: Attempt to provide the DataFrame using this schema.
+      :returns: Arrow ``PyCapsule`` object representing an ``ArrowArrayStream``.
 
-      :returns: Arrow PyCapsule object.
+      For practical usage patterns, see the Apache Arrow streaming
+      documentation: https://arrow.apache.org/docs/python/ipc.html#streaming.
+
+      For details on DataFusion's Arrow integration and DataFrame streaming,
+      see the user guide (user-guide/io/arrow and user-guide/dataframe/index).
+
+      .. rubric:: Notes
+
+      The Arrow C Data Interface PyCapsule details are documented by Apache
+      Arrow and can be found at:
+      https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html
 
 
 
    .. py:method:: __getitem__(key: str | list[str]) -> DataFrame
 
-      Return a new :py:class`DataFrame` with the specified column or columns.
+      Return a new :py:class:`DataFrame` with the specified column or columns.
 
       :param key: Column name or list of column names to select.
 
@@ -127,6 +160,12 @@ Module Contents
 
 
 
+   .. py:method:: __iter__() -> collections.abc.Iterator[datafusion.record_batch.RecordBatch]
+
+      Return an iterator over this DataFrame's record batches.
+
+
+
    .. py:method:: __repr__() -> str
 
       Return a string representation of the DataFrame.
@@ -138,12 +177,12 @@ Module Contents
    .. py:method:: _repr_html_() -> str
 
 
-   .. py:method:: aggregate(group_by: list[datafusion.expr.Expr] | datafusion.expr.Expr, aggs: list[datafusion.expr.Expr] | datafusion.expr.Expr) -> DataFrame
+   .. py:method:: aggregate(group_by: collections.abc.Sequence[datafusion.expr.Expr | str] | datafusion.expr.Expr | str, aggs: collections.abc.Sequence[datafusion.expr.Expr] | datafusion.expr.Expr) -> DataFrame
 
       Aggregates the rows of the current DataFrame.
 
-      :param group_by: List of expressions to group by.
-      :param aggs: List of expressions to aggregate.
+      :param group_by: Sequence of expressions or column names to group by.
+      :param aggs: Sequence of expressions to aggregate.
 
       :returns: DataFrame after aggregation.
 
@@ -179,6 +218,12 @@ Module Contents
 
 
 
+   .. py:method:: collect_column(column_name: str) -> pyarrow.Array | pyarrow.ChunkedArray
+
+      Executes this :py:class:`DataFrame` for a single column.
+
+
+
    .. py:method:: collect_partitioned() -> list[list[pyarrow.RecordBatch]]
 
       Execute this DataFrame and collect all partitioned results.
@@ -240,10 +285,20 @@ Module Contents
 
       Drop arbitrary amount of columns.
 
-      :param columns: Column names to drop from the dataframe.
+      Column names are case-sensitive and do not require double quotes like
+      other operations such as `select`. Leading and trailing double quotes
+      are allowed and will be automatically stripped if present.
+
+      :param columns: Column names to drop from the dataframe. Both ``column_name``
+                      and ``"column_name"`` are accepted.
 
       :returns: DataFrame with those columns removed in the projection.
 
+      Example Usage::
+
+          df.drop('ID_For_Students')      # Works
+          df.drop('"ID_For_Students"')    # Also works (quotes stripped)
+
 
 
    .. py:method:: except_all(other: DataFrame) -> DataFrame
@@ -316,16 +371,25 @@ Module Contents
 
 
 
-   .. py:method:: filter(*predicates: datafusion.expr.Expr) -> DataFrame
+   .. py:method:: filter(*predicates: datafusion.expr.Expr | str) -> DataFrame
 
       Return a DataFrame for which ``predicate`` evaluates to ``True``.
 
       Rows for which ``predicate`` evaluates to ``False`` or ``None`` are filtered
-      out.  If more than one predicate is provided, these predicates will be
-      combined as a logical AND. If more complex logic is required, see the
-      logical operations in :py:mod:`~datafusion.functions`.
+      out. If more than one predicate is provided, these predicates will be
+      combined as a logical AND. Each ``predicate`` can be an
+      :class:`~datafusion.expr.Expr` created using helper functions such as
+      :func:`datafusion.col` or :func:`datafusion.lit`, or a SQL expression string
+      that will be parsed against the DataFrame schema. If more complex logic is
+      required, see the logical operations in :py:mod:`~datafusion.functions`.
+
+      Example::
 
-      :param predicates: Predicate expression(s) to filter the DataFrame.
+          from datafusion import col, lit
+          df.filter(col("a") > lit(1))
+          df.filter("a > 1")
+
+      :param predicates: Predicate expression(s) or SQL strings to filter the DataFrame.
 
       :returns: DataFrame after filtering.
 
@@ -353,15 +417,25 @@ Module Contents
 
 
 
-   .. py:method:: into_view() -> pyarrow.Table
+   .. py:method:: into_view(temporary: bool = False) -> datafusion.catalog.Table
+
+      Convert ``DataFrame`` into a :class:`~datafusion.Table`.
+
+      .. rubric:: Examples
 
-      Convert DataFrame as a ViewTable which can be used in register_table.
+      >>> from datafusion import SessionContext
+      >>> ctx = SessionContext()
+      >>> df = ctx.sql("SELECT 1 AS value")
+      >>> view = df.into_view()
+      >>> ctx.register_table("values_view", view)
+      >>> df.collect()  # The DataFrame is still usable
+      >>> ctx.sql("SELECT value FROM values_view").collect()
 
 
 
-   .. py:method:: join(right: DataFrame, on: str | Sequence[str], how: Literal['inner', 'left', 'right', 'full', 'semi', 'anti'] = 'inner', *, left_on: None = None, right_on: None = None, join_keys: None = None) -> DataFrame
-                  join(right: DataFrame, on: None = None, how: Literal['inner', 'left', 'right', 'full', 'semi', 'anti'] = 'inner', *, left_on: str | Sequence[str], right_on: str | Sequence[str], join_keys: tuple[list[str], list[str]] | None = None) -> DataFrame
-                  join(right: DataFrame, on: None = None, how: Literal['inner', 'left', 'right', 'full', 'semi', 'anti'] = 'inner', *, join_keys: tuple[list[str], list[str]], left_on: None = None, right_on: None = None) -> DataFrame
+   .. py:method:: join(right: DataFrame, on: str | collections.abc.Sequence[str], how: Literal['inner', 'left', 'right', 'full', 'semi', 'anti'] = 'inner', *, left_on: None = None, right_on: None = None, join_keys: None = None, coalesce_duplicate_keys: bool = True) -> DataFrame
+                  join(right: DataFrame, on: None = None, how: Literal['inner', 'left', 'right', 'full', 'semi', 'anti'] = 'inner', *, left_on: str | collections.abc.Sequence[str], right_on: str | collections.abc.Sequence[str], join_keys: tuple[list[str], list[str]] | None = None, coalesce_duplicate_keys: bool = True) -> DataFrame
+                  join(right: DataFrame, on: None = None, how: Literal['inner', 'left', 'right', 'full', 'semi', 'anti'] = 'inner', *, join_keys: tuple[list[str], list[str]], left_on: None = None, right_on: None = None, coalesce_duplicate_keys: bool = True) -> DataFrame
 
       Join this :py:class:`DataFrame` with another :py:class:`DataFrame`.
 
@@ -373,6 +447,9 @@ Module Contents
                   "right", "full", "semi", "anti".
       :param left_on: Join column of the left dataframe.
       :param right_on: Join column of the right dataframe.
+      :param coalesce_duplicate_keys: When True, coalesce the columns
+                                      from the right DataFrame and left DataFrame
+                                      that have identical names in the ``on`` fields.
       :param join_keys: Tuple of two lists of column names to join on. [Deprecated]
 
       :returns: DataFrame after join.
@@ -383,8 +460,14 @@ Module Contents
 
       Join two :py:class:`DataFrame` using the specified expressions.
 
-      On expressions are used to support in-equality predicates. Equality
-      predicates are correctly optimized
+      Join predicates must be :class:`~datafusion.expr.Expr` objects, typically
+      built with :func:`datafusion.col`. On expressions are used to support
+      in-equality predicates. Equality predicates are correctly optimized.
+
+      Example::
+
+          from datafusion import col
+          df.join_on(other_df, col("id") == col("other_id"))
 
       :param right: Other DataFrame to join with.
       :param on_exprs: single or multiple (in)-equality predicates.
@@ -422,6 +505,27 @@ Module Contents
 
 
 
+   .. py:method:: parse_sql_expr(expr: str) -> datafusion.expr.Expr
+
+      Creates logical expression from a SQL query text.
+
+      The expression is created and processed against the current schema.
+
+      Example::
+
+          from datafusion import col, lit
+          df.parse_sql_expr("a > 1")
+
+          should produce:
+
+          col("a") > lit(1)
+
+      :param expr: Expression string to be converted to datafusion expression
+
+      :returns: Logical expression .
+
+
+
    .. py:method:: repartition(num: int) -> DataFrame
 
       Repartition a DataFrame into ``num`` partitions.
@@ -434,11 +538,12 @@ Module Contents
 
 
 
-   .. py:method:: repartition_by_hash(*exprs: datafusion.expr.Expr, num: int) -> DataFrame
+   .. py:method:: repartition_by_hash(*exprs: datafusion.expr.Expr | str, num: int) -> DataFrame
 
       Repartition a DataFrame using a hash partitioning scheme.
 
-      :param exprs: Expressions to evaluate and perform hashing on.
+      :param exprs: Expressions or a SQL expression string to evaluate
+                    and perform hashing on.
       :param num: Number of partitions to repartition the DataFrame into.
 
       :returns: Repartitioned DataFrame.
@@ -484,6 +589,17 @@ Module Contents
 
 
 
+   .. py:method:: select_exprs(*args: str) -> DataFrame
+
+      Project arbitrary list of expression strings into a new DataFrame.
+
+      This method will parse string expressions into logical plan expressions.
+      The output DataFrame has one column for each expression.
+
+      :returns: DataFrame only containing the specified columns.
+
+
+
    .. py:method:: show(num: int = 20) -> None
 
       Execute the DataFrame and print the result to the console.
@@ -492,14 +608,14 @@ Module Contents
 
 
 
-   .. py:method:: sort(*exprs: datafusion.expr.Expr | datafusion.expr.SortExpr) -> DataFrame
+   .. py:method:: sort(*exprs: datafusion.expr.SortKey) -> DataFrame
 
-      Sort the DataFrame by the specified sorting expressions.
+      Sort the DataFrame by the specified sorting expressions or column names.
 
       Note that any expression can be turned into a sort expression by
-      calling its` ``sort`` method.
+      calling its ``sort`` method.
 
-      :param exprs: Sort expressions, applied in order.
+      :param exprs: Sort expressions or column names, applied in order.
 
       :returns: DataFrame after sorting.
 
@@ -558,7 +674,7 @@ Module Contents
 
 
 
-   .. py:method:: transform(func: Callable[Ellipsis, DataFrame], *args: Any) -> DataFrame
+   .. py:method:: transform(func: collections.abc.Callable[Ellipsis, DataFrame], *args: Any) -> DataFrame
 
       Apply a function to the current DataFrame which returns another DataFrame.
 
@@ -618,10 +734,19 @@ Module Contents
 
 
 
-   .. py:method:: with_column(name: str, expr: datafusion.expr.Expr) -> DataFrame
+   .. py:method:: with_column(name: str, expr: datafusion.expr.Expr | str) -> DataFrame
 
       Add an additional column to the DataFrame.
 
+      The ``expr`` must be an :class:`~datafusion.expr.Expr` constructed with
+      :func:`datafusion.col` or :func:`datafusion.lit`, or a SQL expression
+      string that will be parsed against the DataFrame schema.
+
+      Example::
+
+          from datafusion import col, lit
+          df.with_column("b", col("a") + lit(1))
+
       :param name: Name of the column to add.
       :param expr: Expression to compute the column.
 
@@ -645,69 +770,90 @@ Module Contents
 
 
 
-   .. py:method:: with_columns(*exprs: datafusion.expr.Expr | Iterable[datafusion.expr.Expr], **named_exprs: datafusion.expr.Expr) -> DataFrame
+   .. py:method:: with_columns(*exprs: datafusion.expr.Expr | str | collections.abc.Iterable[datafusion.expr.Expr | str], **named_exprs: datafusion.expr.Expr | str) -> DataFrame
 
       Add columns to the DataFrame.
 
-      By passing expressions, iteratables of expressions, or named expressions. To
-      pass named expressions use the form name=Expr.
+      By passing expressions, iterables of expressions, string SQL expressions,
+      or named expressions.
+      All expressions must be :class:`~datafusion.expr.Expr` objects created via
+      :func:`datafusion.col` or :func:`datafusion.lit`, or SQL expression strings.
+      To pass named expressions use the form ``name=Expr``.
 
-      Example usage: The following will add 4 columns labeled a, b, c, and d::
+      Example usage: The following will add 4 columns labeled ``a``, ``b``, ``c``,
+      and ``d``::
 
+          from datafusion import col, lit
           df = df.with_columns(
-              lit(0).alias('a'),
-              [lit(1).alias('b'), lit(2).alias('c')],
+              col("x").alias("a"),
+              [lit(1).alias("b"), col("y").alias("c")],
               d=lit(3)
-              )
+          )
+
+          Equivalent example using just SQL strings:
 
-      :param exprs: Either a single expression or an iterable of expressions to add.
+          df = df.with_columns(
+              "x as a",
+              ["1 as b", "y as c"],
+              d="3"
+          )
+
+      :param exprs: Either a single expression, an iterable of expressions to add or
+                    SQL expression strings.
       :param named_exprs: Named expressions in the form of ``name=expr``
 
       :returns: DataFrame with the new columns added.
 
 
 
-   .. py:method:: write_csv(path: str | pathlib.Path, with_header: bool = False) -> None
+   .. py:method:: write_csv(path: str | pathlib.Path, with_header: bool = False, write_options: DataFrameWriteOptions | None = None) -> None
 
       Execute the :py:class:`DataFrame`  and write the results to a CSV file.
 
       :param path: Path of the CSV file to write.
       :param with_header: If true, output the CSV header row.
+      :param write_options: Options that impact how the DataFrame is written.
 
 
 
-   .. py:method:: write_json(path: str | pathlib.Path) -> None
+   .. py:method:: write_json(path: str | pathlib.Path, write_options: DataFrameWriteOptions | None = None) -> None
 
       Execute the :py:class:`DataFrame` and write the results to a JSON file.
 
       :param path: Path of the JSON file to write.
+      :param write_options: Options that impact how the DataFrame is written.
 
 
 
-   .. py:method:: write_parquet(path: str | pathlib.Path, compression: str, compression_level: int | None = None) -> None
-                  write_parquet(path: str | pathlib.Path, compression: Compression = Compression.ZSTD, compression_level: int | None = None) -> None
-                  write_parquet(path: str | pathlib.Path, compression: ParquetWriterOptions, compression_level: None = None) -> None
+   .. py:method:: write_parquet(path: str | pathlib.Path, compression: str, compression_level: int | None = None, write_options: DataFrameWriteOptions | None = None) -> None
+                  write_parquet(path: str | pathlib.Path, compression: Compression = Compression.ZSTD, compression_level: int | None = None, write_options: DataFrameWriteOptions | None = None) -> None
+                  write_parquet(path: str | pathlib.Path, compression: ParquetWriterOptions, compression_level: None = None, write_options: DataFrameWriteOptions | None = None) -> None
 
       Execute the :py:class:`DataFrame` and write the results to a Parquet file.
 
+      Available compression types are:
+
+      - "uncompressed": No compression.
+      - "snappy": Snappy compression.
+      - "gzip": Gzip compression.
+      - "brotli": Brotli compression.
+      - "lz4": LZ4 compression.
+      - "lz4_raw": LZ4_RAW compression.
+      - "zstd": Zstandard compression.
+
+      LZO compression is not yet implemented in arrow-rs and is therefore
+      excluded.
+
       :param path: Path of the Parquet file to write.
       :param compression: Compression type to use. Default is "ZSTD".
-                          Available compression types are:
-                          - "uncompressed": No compression.
-                          - "snappy": Snappy compression.
-                          - "gzip": Gzip compression.
-                          - "brotli": Brotli compression.
-                          - "lz4": LZ4 compression.
-                          - "lz4_raw": LZ4_RAW compression.
-                          - "zstd": Zstandard compression.
-      :param Note: LZO is not yet implemented in arrow-rs and is therefore excluded.
       :param compression_level: Compression level to use. For ZSTD, the
                                 recommended range is 1 to 22, with the default being 4. Higher levels
                                 provide better compression but slower speed.
+      :param write_options: Options that impact how the DataFrame is written.
 
 
 
-   .. py:method:: write_parquet_with_options(path: str | pathlib.Path, options: ParquetWriterOptions) -> None
+   .. py:method:: write_parquet_with_options(path: str | pathlib.Path, options: ParquetWriterOptions, write_options: DataFrameWriteOptions | None = None) -> None
 
       Execute the :py:class:`DataFrame` and write the results to a Parquet file.
 
@@ -715,62 +861,95 @@ Module Contents
 
       :param path: Path of the Parquet file to write.
       :param options: Sets the writer parquet options (see `ParquetWriterOptions`).
+      :param write_options: Options that impact how the DataFrame is written.
+
+
+
+   .. py:method:: write_table(table_name: str, write_options: DataFrameWriteOptions | None = None) -> None
+
+      Execute the :py:class:`DataFrame` and write the results to a table.
+
+      The table must be registered with the session to perform this operation.
+      Not all table providers support writing operations. See the individual
+      implementations for details.
 
 
 
    .. py:attribute:: df
 
 
-.. py:class:: ParquetColumnOptions(encoding: Optional[str] = None, dictionary_enabled: Optional[bool] = None, compression: Optional[str] = None, statistics_enabled: Optional[str] = None, bloom_filter_enabled: Optional[bool] = None, bloom_filter_fpp: Optional[float] = None, bloom_filter_ndv: Optional[int] = None)
+.. py:class:: DataFrameWriteOptions(insert_operation: InsertOp | None = None, single_file_output: bool = False, partition_by: str | collections.abc.Sequence[str] | None = None, sort_by: datafusion.expr.Expr | datafusion.expr.SortExpr | collections.abc.Sequence[datafusion.expr.Expr] | collections.abc.Sequence[datafusion.expr.SortExpr] | None = None)
 
-   Parquet options for individual columns.
+   Writer options for DataFrame.
+
+   There is no guarantee the table provider supports all writer options.
+   See the individual implementation and documentation for details.
+
+   Instantiate writer options for DataFrame.
+
+
+   .. py:attribute:: _raw_write_options
 
-   Contains the available options that can be applied for an individual Parquet column,
-   replacing the global options in `ParquetWriterOptions`.
 
-   .. attribute:: encoding
+.. py:class:: InsertOp
 
-      Sets encoding for the column path. Valid values are: `plain`,
-      `plain_dictionary`, `rle`, `bit_packed`, `delta_binary_packed`,
-      `delta_length_byte_array`, `delta_byte_array`, `rle_dictionary`, and
-      `byte_stream_split`. These values are not case-sensitive. If `None`, uses
-      the default parquet options
+   Bases: :py:obj:`enum.Enum`
+
+
+   Insert operation mode.
+
+   These modes are used by the table writing feature to define how record
+   batches should be written to a table.
 
-   .. attribute:: dictionary_enabled
 
-      Sets if dictionary encoding is enabled for the column path.
-      If `None`, uses the default parquet options
+   .. py:attribute:: APPEND
 
-   .. attribute:: compression
+      Appends new rows to the existing table without modifying any existing rows.
 
-      Sets default parquet compression codec for the column path. Valid
-      values are `uncompressed`, `snappy`, `gzip(level)`, `lzo`, `brotli(level)`,
-      `lz4`, `zstd(level)`, and `lz4_raw`. These values are not case-sensitive. If
-      `None`, uses the default parquet options.
 
-   .. attribute:: statistics_enabled
+   .. py:attribute:: OVERWRITE
 
-      Sets if statistics are enabled for the column Valid values
-      are: `none`, `chunk`, and `page` These values are not case sensitive. If
-      `None`, uses the default parquet options.
+      Overwrites all existing rows in the table with the new rows.
 
-   .. attribute:: bloom_filter_enabled
 
-      Sets if bloom filter is enabled for the column path. If
-      `None`, uses the default parquet options.
+   .. py:attribute:: REPLACE
 
-   .. attribute:: bloom_filter_fpp
+      Replace existing rows that collide with the inserted rows.
 
-      Sets bloom filter false positive probability for the column
-      path. If `None`, uses the default parquet options.
+      Replacement is typically based on a unique key or primary key.
 
-   .. attribute:: bloom_filter_ndv
 
-      Sets bloom filter number of distinct values. If `None`, uses
-      the default parquet options.
+.. py:class:: ParquetColumnOptions(encoding: str | None = None, dictionary_enabled: bool | None = None, compression: str | None = None, statistics_enabled: str | None = None, bloom_filter_enabled: bool | None = None, bloom_filter_fpp: float | None = None, bloom_filter_ndv: int | None = None)
+
+   Parquet options for individual columns.
+
+   Contains the available options that can be applied for an individual Parquet column,
+   replacing the global options in ``ParquetWriterOptions``.
 
    Initialize the ParquetColumnOptions.
 
+   :param encoding: Sets encoding for the column path. Valid values are: ``plain``,
+                    ``plain_dictionary``, ``rle``, ``bit_packed``, ``delta_binary_packed``,
+                    ``delta_length_byte_array``, ``delta_byte_array``, ``rle_dictionary``,
+                    and ``byte_stream_split``. These values are not case-sensitive. If
+                    ``None``, uses the default parquet options
+   :param dictionary_enabled: Sets if dictionary encoding is enabled for the column
+                              path. If `None`, uses the default parquet options
+   :param compression: Sets default parquet compression codec for the column path.
+                       Valid values are ``uncompressed``, ``snappy``, ``gzip(level)``, ``lzo``,
+                       ``brotli(level)``, ``lz4``, ``zstd(level)``, and ``lz4_raw``. These
+                       values are not case-sensitive. If ``None``, uses the default parquet
+                       options.
+   :param statistics_enabled: Sets if statistics are enabled for the column Valid
+                              values are: ``none``, ``chunk``, and ``page`` These values are not case
+                              sensitive. If ``None``, uses the default parquet options.
+   :param bloom_filter_enabled: Sets if bloom filter is enabled for the column path.
+                                If ``None``, uses the default parquet options.
+   :param bloom_filter_fpp: Sets bloom filter false positive probability for the
+                            column path. If ``None``, uses the default parquet options.
+   :param bloom_filter_ndv: Sets bloom filter number of distinct values. If ``None``,
+                            uses the default parquet options.
+
 
    .. py:attribute:: bloom_filter_enabled
       :value: None
@@ -807,137 +986,79 @@ Module Contents
 
 
 
-.. py:class:: ParquetWriterOptions(data_pagesize_limit: int = 1024 * 1024, write_batch_size: int = 1024, writer_version: str = '1.0', skip_arrow_metadata: bool = False, compression: Optional[str] = 'zstd(3)', compression_level: Optional[int] = None, dictionary_enabled: Optional[bool] = True, dictionary_page_size_limit: int = 1024 * 1024, statistics_enabled: Optional[str] = 'page', max_row_group_size: int = 1024 * 1024, created_by: str = 'datafusion-python', column_index_truncate_length:  [...]
+.. py:class:: ParquetWriterOptions(data_pagesize_limit: int = 1024 * 1024, write_batch_size: int = 1024, writer_version: str = '1.0', skip_arrow_metadata: bool = False, compression: str | None = 'zstd(3)', compression_level: int | None = None, dictionary_enabled: bool | None = True, dictionary_page_size_limit: int = 1024 * 1024, statistics_enabled: str | None = 'page', max_row_group_size: int = 1024 * 1024, created_by: str = 'datafusion-python', column_index_truncate_length: int | None = [...]
 
    Advanced parquet writer options.
 
    Allows settings the writer options that apply to the entire file. Some options can
-   also be set on a column by column basis, with the field `column_specific_options`
-   (see `ParquetColumnOptions`).
-
-   .. attribute:: data_pagesize_limit
-
-      Sets best effort maximum size of data page in bytes.
-
-   .. attribute:: write_batch_size
-
-      Sets write_batch_size in bytes.
-
-   .. attribute:: writer_version
-
-      Sets parquet writer version. Valid values are `1.0` and
-      `2.0`.
-
-   .. attribute:: skip_arrow_metadata
-
-      Skip encoding the embedded arrow metadata in the
-      KV_meta.
-
-   .. attribute:: compression
-
-      Compression type to use. Default is "zstd(3)".
-      Available compression types are
-      - "uncompressed": No compression.
-      - "snappy": Snappy compression.
-      - "gzip(n)": Gzip compression with level n.
-      - "brotli(n)": Brotli compression with level n.
-      - "lz4": LZ4 compression.
-      - "lz4_raw": LZ4_RAW compression.
-      - "zstd(n)": Zstandard compression with level n.
-
-   .. attribute:: dictionary_enabled
-
-      Sets if dictionary encoding is enabled. If None, uses
-      the default parquet writer setting.
-
-   .. attribute:: dictionary_page_size_limit
-
-      Sets best effort maximum dictionary page size,
-      in bytes.
-
-   .. attribute:: statistics_enabled
-
-      Sets if statistics are enabled for any column Valid
-      values are `none`, `chunk`, and `page`. If None, uses the default
-      parquet writer setting.
-
-   .. attribute:: max_row_group_size
-
-      Target maximum number of rows in each row group
-      (defaults to 1M rows). Writing larger row groups requires more memory to
-      write, but can get better compression and be faster to read.
-
-   .. attribute:: created_by
-
-      Sets "created by" property.
-
-   .. attribute:: column_index_truncate_length
-
-      Sets column index truncate length.
-
-   .. attribute:: statistics_truncate_length
-
-      Sets statistics truncate length. If None, uses
-      the default parquet writer setting.
-
-   .. attribute:: data_page_row_count_limit
-
-      Sets best effort maximum number of rows in a data
-      page.
-
-   .. attribute:: encoding
-
-      Sets default encoding for any column. Valid values are `plain`,
-      `plain_dictionary`, `rle`, `bit_packed`, `delta_binary_packed`,
-      `delta_length_byte_array`, `delta_byte_array`, `rle_dictionary`, and
-      `byte_stream_split`. If None, uses the default parquet writer setting.
-
-   .. attribute:: bloom_filter_on_write
-
-      Write bloom filters for all columns when creating
-      parquet files.
-
-   .. attribute:: bloom_filter_fpp
-
-      Sets bloom filter false positive probability. If None,
-      uses the default parquet writer setting
-
-   .. attribute:: bloom_filter_ndv
-
-      Sets bloom filter number of distinct values. If None, uses
-      the default parquet writer setting.
-
-   .. attribute:: allow_single_file_parallelism
-
-      Controls whether DataFusion will attempt to
-      speed up writing parquet files by serializing them in parallel. Each
-      column in each row group in each output file are serialized in parallel
-      leveraging a maximum possible core count of n_files * n_row_groups *
-      n_columns.
-
-   .. attribute:: maximum_parallel_row_group_writers
-
-      By default parallel parquet writer is
-      tuned for minimum memory usage in a streaming execution plan. You may
-      see a performance benefit when writing large parquet files by increasing
-      `maximum_parallel_row_group_writers` and
-      `maximum_buffered_record_batches_per_stream` if your system has idle
-      cores and can tolerate additional memory usage. Boosting these values is
-      likely worthwhile when writing out already in-memory data, such as from
-      a cached data frame.
-
-   .. attribute:: maximum_buffered_record_batches_per_stream
-
-      See
-      `maximum_parallel_row_group_writers`.
-
-   .. attribute:: column_specific_options
-
-      Overrides options for specific columns. If a column
-      is not a part of this dictionary, it will use the parameters provided here.
+   also be set on a column by column basis, with the field ``column_specific_options``
+   (see ``ParquetColumnOptions``).
 
    Initialize the ParquetWriterOptions.
 
+   :param data_pagesize_limit: Sets best effort maximum size of data page in bytes.
+   :param write_batch_size: Sets write_batch_size in bytes.
+   :param writer_version: Sets parquet writer version. Valid values are ``1.0`` and
+                          ``2.0``.
+   :param skip_arrow_metadata: Skip encoding the embedded arrow metadata in the
+                               KV_meta.
+   :param compression: Compression type to use. Default is ``zstd(3)``.
+                       Available compression types are
+
+                       - ``uncompressed``: No compression.
+                       - ``snappy``: Snappy compression.
+                       - ``gzip(n)``: Gzip compression with level n.
+                       - ``brotli(n)``: Brotli compression with level n.
+                       - ``lz4``: LZ4 compression.
+                       - ``lz4_raw``: LZ4_RAW compression.
+                       - ``zstd(n)``: Zstandard compression with level n.
+   :param compression_level: Compression level to set.
+   :param dictionary_enabled: Sets if dictionary encoding is enabled. If ``None``,
+                              uses the default parquet writer setting.
+   :param dictionary_page_size_limit: Sets best effort maximum dictionary page size,
+                                      in bytes.
+   :param statistics_enabled: Sets if statistics are enabled for any column Valid
+                              values are ``none``, ``chunk``, and ``page``. If ``None``, uses the
+                              default parquet writer setting.
+   :param max_row_group_size: Target maximum number of rows in each row group
+                              (defaults to 1M rows). Writing larger row groups requires more memory
+                              to write, but can get better compression and be faster to read.
+   :param created_by: Sets "created by" property.
+   :param column_index_truncate_length: Sets column index truncate length.
+   :param statistics_truncate_length: Sets statistics truncate length. If ``None``,
+                                      uses the default parquet writer setting.
+   :param data_page_row_count_limit: Sets best effort maximum number of rows in a data
+                                     page.
+   :param encoding: Sets default encoding for any column. Valid values are ``plain``,
+                    ``plain_dictionary``, ``rle``, ``bit_packed``, ``delta_binary_packed``,
+                    ``delta_length_byte_array``, ``delta_byte_array``, ``rle_dictionary``,
+                    and ``byte_stream_split``. If ``None``, uses the default parquet writer
+                    setting.
+   :param bloom_filter_on_write: Write bloom filters for all columns when creating
+                                 parquet files.
+   :param bloom_filter_fpp: Sets bloom filter false positive probability. If ``None``,
+                            uses the default parquet writer setting
+   :param bloom_filter_ndv: Sets bloom filter number of distinct values. If ``None``,
+                            uses the default parquet writer setting.
+   :param allow_single_file_parallelism: Controls whether DataFusion will attempt to
+                                         speed up writing parquet files by serializing them in parallel. Each
+                                         column in each row group in each output file are serialized in parallel
+                                         leveraging a maximum possible core count of
+                                         ``n_files * n_row_groups * n_columns``.
+   :param maximum_parallel_row_group_writers: By default parallel parquet writer is
+                                              tuned for minimum memory usage in a streaming execution plan. You may
+                                              see a performance benefit when writing large parquet files by increasing
+                                              ``maximum_parallel_row_group_writers`` and
+                                              ``maximum_buffered_record_batches_per_stream`` if your system has idle
+                                              cores and can tolerate additional memory usage. Boosting these values is
+                                              likely worthwhile when writing out already in-memory data, such as from
+                                              a cached data frame.
+   :param maximum_buffered_record_batches_per_stream: See
+                                                      ``maximum_parallel_row_group_writers``.
+   :param column_specific_options: Overrides options for specific columns. If a column
+                                   is not a part of this dictionary, it will use the parameters provided
+                                   here.
+
 
    .. py:attribute:: allow_single_file_parallelism
       :value: True
diff --git a/_sources/autoapi/datafusion/dataframe_formatter/index.rst.txt b/_sources/autoapi/datafusion/dataframe_formatter/index.rst.txt
index ad3e62b5..243627a9 100644
--- a/_sources/autoapi/datafusion/dataframe_formatter/index.rst.txt
+++ b/_sources/autoapi/datafusion/dataframe_formatter/index.rst.txt
@@ -28,6 +28,7 @@ Functions
 
    datafusion.dataframe_formatter._refresh_formatter_reference
    datafusion.dataframe_formatter._validate_bool
+   datafusion.dataframe_formatter._validate_formatter_parameters
    datafusion.dataframe_formatter._validate_positive_int
    datafusion.dataframe_formatter.configure_formatter
    datafusion.dataframe_formatter.get_formatter
@@ -52,7 +53,7 @@ Module Contents
 
 
 
-.. py:class:: DataFrameHtmlFormatter(max_cell_length: int = 25, max_width: int = 1000, max_height: int = 300, max_memory_bytes: int = 2 * 1024 * 1024, min_rows_display: int = 20, repr_rows: int = 10, enable_cell_expansion: bool = True, custom_css: Optional[str] = None, show_truncation_message: bool = True, style_provider: Optional[StyleProvider] = None, use_shared_styles: bool = True)
+.. py:class:: DataFrameHtmlFormatter(max_cell_length: int = 25, max_width: int = 1000, max_height: int = 300, max_memory_bytes: int = 2 * 1024 * 1024, min_rows: int = 10, max_rows: int | None = None, repr_rows: int | None = None, enable_cell_expansion: bool = True, custom_css: str | None = None, show_truncation_message: bool = True, style_provider: StyleProvider | None = None, use_shared_styles: bool = True)
 
    Configurable HTML formatter for DataFusion DataFrames.
 
@@ -68,8 +69,9 @@ Module Contents
    :param max_width: Maximum width of the HTML table in pixels
    :param max_height: Maximum height of the HTML table in pixels
    :param max_memory_bytes: Maximum memory in bytes for rendered data (default: 2MB)
-   :param min_rows_display: Minimum number of rows to display
-   :param repr_rows: Default number of rows to display in repr output
+   :param min_rows: Minimum number of rows to display (must be <= max_rows)
+   :param max_rows: Maximum number of rows to display in repr output
+   :param repr_rows: Deprecated alias for max_rows
    :param enable_cell_expansion: Whether to add expand/collapse buttons for long cell
                                  values
    :param custom_css: Additional CSS to include in the HTML output
@@ -81,36 +83,30 @@ Module Contents
    Initialize the HTML formatter.
 
    :param max_cell_length: Maximum length of cell content before truncation.
-   :type max_cell_length: int, default 25
    :param max_width: Maximum width of the displayed table in pixels.
-   :type max_width: int, default 1000
    :param max_height: Maximum height of the displayed table in pixels.
-   :type max_height: int, default 300
-   :param max_memory_bytes: Maximum memory in bytes for rendered data.
-   :type max_memory_bytes: int, default 2097152 (2MB)
-   :param min_rows_display: Minimum number of rows to display.
-   :type min_rows_display: int, default 20
-   :param repr_rows: Default number of rows to display in repr output.
-   :type repr_rows: int, default 10
+   :param max_memory_bytes: Maximum memory in bytes for rendered data. Helps prevent performance
+                            issues with large datasets.
+   :param min_rows: Minimum number of rows to display even if memory limit is reached.
+                    Must not exceed ``max_rows``.
+   :param max_rows: Maximum number of rows to display. Takes precedence over memory limits
+                    when fewer rows are requested.
+   :param repr_rows: Deprecated alias for ``max_rows``. Use ``max_rows`` instead.
    :param enable_cell_expansion: Whether to allow cells to expand when clicked.
-   :type enable_cell_expansion: bool, default True
    :param custom_css: Custom CSS to apply to the HTML table.
-   :type custom_css: str, optional
    :param show_truncation_message: Whether to show a message indicating that content has been truncated.
-   :type show_truncation_message: bool, default True
    :param style_provider: Provider of CSS styles for the HTML table. If None, DefaultStyleProvider
                           is used.
-   :type style_provider: StyleProvider, optional
-   :param use_shared_styles: Whether to use shared styles across multiple tables.
-   :type use_shared_styles: bool, default True
+   :param use_shared_styles: Whether to use shared styles across multiple tables. This improves
+                             performance when displaying many DataFrames in a single notebook.
    :param Raises:
    :param ------:
    :param ValueError: If max_cell_length, max_width, max_height, max_memory_bytes,
-                      min_rows_display, or repr_rows is not a positive integer.
+                      min_rows or max_rows is not a positive integer, or if min_rows
+                      exceeds max_rows.
    :param TypeError: If enable_cell_expansion, show_truncation_message, or use_shared_styles is
-                     not a boolean,
-                     or if custom_css is provided but is not a string,
-                     or if style_provider is provided but does not implement the StyleProvider
+                     not a boolean, or if custom_css is provided but is not a string, or if
+                     style_provider is provided but does not implement the StyleProvider
                      protocol.
 
 
@@ -237,7 +233,7 @@ Module Contents
 
 
 
-   .. py:method:: set_custom_cell_builder(builder: Callable[[Any, int, int, str], str]) -> None
+   .. py:method:: set_custom_cell_builder(builder: collections.abc.Callable[[Any, int, int, str], str]) -> None
 
       Set a custom cell builder function.
 
@@ -245,7 +241,7 @@ Module Contents
 
 
 
-   .. py:method:: set_custom_header_builder(builder: Callable[[Any], str]) -> None
+   .. py:method:: set_custom_header_builder(builder: collections.abc.Callable[[Any], str]) -> None
 
       Set a custom header builder function.
 
@@ -254,13 +250,18 @@ Module Contents
 
 
    .. py:attribute:: _custom_cell_builder
-      :type:  Optional[Callable[[Any, int, int, str], str]]
+      :type:  collections.abc.Callable[[Any, int, int, str], str] | None
       :value: None
 
 
 
    .. py:attribute:: _custom_header_builder
-      :type:  Optional[Callable[[Any], str]]
+      :type:  collections.abc.Callable[[Any], str] | None
+      :value: None
+
+
+
+   .. py:attribute:: _max_rows
       :value: None
 
 
@@ -294,19 +295,36 @@ Module Contents
 
 
 
+   .. py:property:: max_rows
+      :type: int
+
+
+      Get the maximum number of rows to display.
+
+      :returns: The maximum number of rows to display in repr output
+
+
    .. py:attribute:: max_width
       :value: 1000
 
 
 
-   .. py:attribute:: min_rows_display
-      :value: 20
+   .. py:attribute:: min_rows
+      :value: 10
+
 
 
+   .. py:property:: repr_rows
+      :type: int
 
-   .. py:attribute:: repr_rows
-      :value: 10
 
+      Get the maximum number of rows (deprecated name).
+
+      .. deprecated::
+          Use :attr:`max_rows` instead. This property is provided for
+          backward compatibility.
+
+      :returns: The maximum number of rows to display
 
 
    .. py:attribute:: show_truncation_message
@@ -410,6 +428,30 @@ Module Contents
    :raises TypeError: If the value is not a boolean
 
 
+.. py:function:: _validate_formatter_parameters(max_cell_length: int, max_width: int, max_height: int, max_memory_bytes: int, min_rows: int, max_rows: int | None, repr_rows: int | None, enable_cell_expansion: bool, show_truncation_message: bool, use_shared_styles: bool, custom_css: str | None, style_provider: Any) -> int
+
+   Validate all formatter parameters and return resolved max_rows value.
+
+   :param max_cell_length: Maximum cell length value to validate
+   :param max_width: Maximum width value to validate
+   :param max_height: Maximum height value to validate
+   :param max_memory_bytes: Maximum memory bytes value to validate
+   :param min_rows: Minimum rows to display value to validate
+   :param max_rows: Maximum rows value to validate (None means use default)
+   :param repr_rows: Deprecated repr_rows value to validate
+   :param enable_cell_expansion: Boolean expansion flag to validate
+   :param show_truncation_message: Boolean message flag to validate
+   :param use_shared_styles: Boolean styles flag to validate
+   :param custom_css: Custom CSS string to validate
+   :param style_provider: Style provider object to validate
+
+   :returns: The resolved max_rows value after handling repr_rows deprecation
+
+   :raises ValueError: If any numeric parameter is invalid or constraints are violated
+   :raises TypeError: If any parameter has invalid type
+   :raises DeprecationWarning: If repr_rows parameter is used
+
+
 .. py:function:: _validate_positive_int(value: Any, param_name: str) -> None
 
    Validate that a parameter is a positive integer.
diff --git a/_sources/autoapi/datafusion/expr/index.rst.txt b/_sources/autoapi/datafusion/expr/index.rst.txt
index c5a8d517..2bea04f4 100644
--- a/_sources/autoapi/datafusion/expr/index.rst.txt
+++ b/_sources/autoapi/datafusion/expr/index.rst.txt
@@ -42,6 +42,7 @@ Attributes
    datafusion.expr.DropFunction
    datafusion.expr.DropTable
    datafusion.expr.DropView
+   datafusion.expr.EXPR_TYPE_ERROR
    datafusion.expr.EmptyRelation
    datafusion.expr.Execute
    datafusion.expr.Exists
@@ -81,6 +82,7 @@ Attributes
    datafusion.expr.SetVariable
    datafusion.expr.SimilarTo
    datafusion.expr.Sort
+   datafusion.expr.SortKey
    datafusion.expr.Subquery
    datafusion.expr.SubqueryAlias
    datafusion.expr.TableScan
@@ -110,6 +112,15 @@ Classes
    datafusion.expr.WindowFrameBound
 
 
+Functions
+---------
+
+.. autoapisummary::
+
+   datafusion.expr.ensure_expr
+   datafusion.expr.ensure_expr_list
+
+
 Module Contents
 ---------------
 
@@ -122,7 +133,7 @@ Module Contents
        import datafusion.functions as f
        from datafusion import lit, col
        df.select(
-           f.case(col("column_a")
+           f.case(col("column_a"))
            .when(lit(1), lit("One"))
            .when(lit(2), lit("Two"))
            .otherwise(lit("Unknown"))
@@ -203,7 +214,12 @@ Module Contents
 
       If ``key`` is a string, returns the subfield of the struct.
       If ``key`` is an integer, retrieves the element in the array. Note that the
-      element index begins at ``0``, unlike `array_element` which begins at ``1``.
+      element index begins at ``0``, unlike
+      :py:func:`~datafusion.functions.array_element` which begins at ``1``.
+      If ``key`` is a slice, returns an array that contains a slice of the
+      original array. Similar to integer indexing, this follows Python convention
+      where the index begins at ``0`` unlike
+      :py:func:`~datafusion.functions.array_slice` which begins at ``1``.
 
 
 
@@ -323,7 +339,7 @@ Module Contents
 
 
 
-   .. py:method:: alias(name: str, metadata: Optional[dict[str, str]] = None) -> Expr
+   .. py:method:: alias(name: str, metadata: dict[str, str] | None = None) -> Expr
 
       Assign a name to the expression.
 
@@ -446,7 +462,7 @@ Module Contents
 
 
 
-   .. py:method:: cast(to: pyarrow.DataType[Any] | type[float | int | str | bool]) -> Expr
+   .. py:method:: cast(to: pyarrow.DataType[Any] | type) -> Expr
 
       Cast to a new data type.
 
@@ -774,7 +790,7 @@ Module Contents
 
    .. py:method:: python_value() -> Any
 
-      Extracts the Expr value into a PyObject.
+      Extracts the Expr value into `Any`.
 
       This is only valid for literal expressions.
 
@@ -1032,7 +1048,7 @@ Module Contents
    .. py:attribute:: raw_sort
 
 
-.. py:class:: Window(partition_by: Optional[list[Expr] | Expr] = None, window_frame: Optional[WindowFrame] = None, order_by: Optional[list[SortExpr | Expr] | Expr | SortExpr] = None, null_treatment: Optional[datafusion.common.NullTreatment] = None)
+.. py:class:: Window(partition_by: list[Expr] | Expr | None = None, window_frame: WindowFrame | None = None, order_by: list[SortExpr | Expr | str] | Expr | SortExpr | str | None = None, null_treatment: datafusion.common.NullTreatment | None = None)
 
    Define reusable window parameters.
 
@@ -1064,7 +1080,7 @@ Module Contents
 
 
 
-.. py:class:: WindowFrame(units: str, start_bound: Optional[Any], end_bound: Optional[Any])
+.. py:class:: WindowFrame(units: str, start_bound: Any | None, end_bound: Any | None)
 
    Defines a window frame for performing window operations.
 
@@ -1148,6 +1164,32 @@ Module Contents
    .. py:attribute:: frame_bound
 
 
+.. py:function:: ensure_expr(value: Expr | Any) -> datafusion._internal.expr.Expr
+
+   Return the internal expression from ``Expr`` or raise ``TypeError``.
+
+   This helper rejects plain strings and other non-:class:`Expr` values so
+   higher level APIs consistently require explicit :func:`~datafusion.col` or
+   :func:`~datafusion.lit` expressions.
+
+   :param value: Candidate expression or other object.
+
+   :returns: The internal expression representation.
+
+   :raises TypeError: If ``value`` is not an instance of :class:`Expr`.
+
+
+.. py:function:: ensure_expr_list(exprs: collections.abc.Iterable[Expr | collections.abc.Iterable[Expr]]) -> list[datafusion._internal.expr.Expr]
+
+   Flatten an iterable of expressions, validating each via ``ensure_expr``.
+
+   :param exprs: Possibly nested iterable containing expressions.
+
+   :returns: A flat list of raw expressions.
+
+   :raises TypeError: If any item is not an instance of :class:`Expr`.
+
+
 .. py:data:: Aggregate
 
 .. py:data:: AggregateFunction
@@ -1200,6 +1242,10 @@ Module Contents
 
 .. py:data:: DropView
 
+.. py:data:: EXPR_TYPE_ERROR
+   :value: 'Use col()/column() or lit()/literal() to construct expressions'
+
+
 .. py:data:: EmptyRelation
 
 .. py:data:: Execute
@@ -1278,6 +1324,8 @@ Module Contents
 
 .. py:data:: Sort
 
+.. py:data:: SortKey
+
 .. py:data:: Subquery
 
 .. py:data:: SubqueryAlias
diff --git a/_sources/autoapi/datafusion/functions/index.rst.txt b/_sources/autoapi/datafusion/functions/index.rst.txt
index 7ef6ee32..10b7f1a0 100644
--- a/_sources/autoapi/datafusion/functions/index.rst.txt
+++ b/_sources/autoapi/datafusion/functions/index.rst.txt
@@ -285,7 +285,7 @@ Module Contents
    Returns inverse hyperbolic cosine.
 
 
-.. py:function:: alias(expr: datafusion.expr.Expr, name: str, metadata: Optional[dict[str, str]] = None) -> datafusion.expr.Expr
+.. py:function:: alias(expr: datafusion.expr.Expr, name: str, metadata: dict[str, str] | None = None) -> datafusion.expr.Expr
 
    Creates an alias expression with an optional metadata dictionary.
 
@@ -296,7 +296,7 @@ Module Contents
    :returns: An expression with the given alias
 
 
-.. py:function:: approx_distinct(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: approx_distinct(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Returns the approximate number of distinct values.
 
@@ -311,7 +311,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: approx_median(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: approx_median(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Returns the approximate median value.
 
@@ -325,7 +325,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: approx_percentile_cont(expression: datafusion.expr.Expr, percentile: float, num_centroids: Optional[int] = None, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: approx_percentile_cont(sort_expression: datafusion.expr.Expr | datafusion.expr.SortExpr, percentile: float, num_centroids: int | None = None, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Returns the value that is approximately at a given percentile of ``expr``.
 
@@ -342,13 +342,13 @@ Module Contents
    If using the builder functions described in ref:`_aggregation` this function ignores
    the options ``order_by``, ``null_treatment``, and ``distinct``.
 
-   :param expression: Values for which to find the approximate percentile
+   :param sort_expression: Values for which to find the approximate percentile
    :param percentile: This must be between 0.0 and 1.0, inclusive
    :param num_centroids: Max bin size for the t-digest algorithm
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: approx_percentile_cont_with_weight(expression: datafusion.expr.Expr, weight: datafusion.expr.Expr, percentile: float, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: approx_percentile_cont_with_weight(sort_expression: datafusion.expr.Expr | datafusion.expr.SortExpr, weight: datafusion.expr.Expr, percentile: float, num_centroids: int | None = None, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Returns the value of the weighted approximate percentile.
 
@@ -358,9 +358,10 @@ Module Contents
    If using the builder functions described in ref:`_aggregation` this function ignores
    the options ``order_by``, ``null_treatment``, and ``distinct``.
 
-   :param expression: Values for which to find the approximate percentile
+   :param sort_expression: Values for which to find the approximate percentile
    :param weight: Relative weight for each of the values in ``expression``
    :param percentile: This must be between 0.0 and 1.0, inclusive
+   :param num_centroids: Max bin size for the t-digest algorithm
    :param filter: If provided, only compute against rows for which the filter is True
 
 
@@ -371,7 +372,7 @@ Module Contents
    This is an alias for :py:func:`make_array`.
 
 
-.. py:function:: array_agg(expression: datafusion.expr.Expr, distinct: bool = False, filter: Optional[datafusion.expr.Expr] = None, order_by: Optional[list[datafusion.expr.Expr | datafusion.expr.SortExpr] | datafusion.expr.Expr | datafusion.expr.SortExpr] = None) -> datafusion.expr.Expr
+.. py:function:: array_agg(expression: datafusion.expr.Expr, distinct: bool = False, filter: datafusion.expr.Expr | None = None, order_by: list[datafusion.expr.SortKey] | datafusion.expr.SortKey | None = None) -> datafusion.expr.Expr
 
    Aggregate values into an array.
 
@@ -385,7 +386,11 @@ Module Contents
    :param expression: Values to combine into an array
    :param distinct: If True, a single entry for each distinct value will be in the result
    :param filter: If provided, only compute against rows for which the filter is True
-   :param order_by: Order the resultant array values
+   :param order_by: Order the resultant array values. Accepts column names or expressions.
+
+   For example::
+
+       df.select(array_agg(col("a"), order_by="b"))
 
 
 .. py:function:: array_append(array: datafusion.expr.Expr, element: datafusion.expr.Expr) -> datafusion.expr.Expr
@@ -638,7 +643,7 @@ Module Contents
    Returns inverse hyperbolic tangent.
 
 
-.. py:function:: avg(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: avg(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Returns the average value.
 
@@ -651,7 +656,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: bit_and(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: bit_and(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the bitwise AND of the argument.
 
@@ -669,7 +674,7 @@ Module Contents
    Returns the number of bits in the string argument.
 
 
-.. py:function:: bit_or(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: bit_or(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the bitwise OR of the argument.
 
@@ -682,7 +687,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: bit_xor(expression: datafusion.expr.Expr, distinct: bool = False, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: bit_xor(expression: datafusion.expr.Expr, distinct: bool = False, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the bitwise XOR of the argument.
 
@@ -696,7 +701,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: bool_and(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: bool_and(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the boolean AND of the argument.
 
@@ -710,7 +715,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: bool_or(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: bool_or(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the boolean OR of the argument.
 
@@ -792,7 +797,7 @@ Module Contents
    ``NULL`` arguments are ignored. ``separator`` should not be ``NULL``.
 
 
-.. py:function:: corr(value_y: datafusion.expr.Expr, value_x: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: corr(value_y: datafusion.expr.Expr, value_x: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Returns the correlation coefficient between ``value1`` and ``value2``.
 
@@ -821,7 +826,7 @@ Module Contents
    Returns the cotangent of the argument.
 
 
-.. py:function:: count(expressions: datafusion.expr.Expr | list[datafusion.expr.Expr] | None = None, distinct: bool = False, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: count(expressions: datafusion.expr.Expr | list[datafusion.expr.Expr] | None = None, distinct: bool = False, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Returns the number of rows that match the given arguments.
 
@@ -835,7 +840,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: count_star(filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: count_star(filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Create a COUNT(1) aggregate expression.
 
@@ -847,14 +852,14 @@ Module Contents
    :param filter: If provided, only count rows for which the filter is True
 
 
-.. py:function:: covar(value_y: datafusion.expr.Expr, value_x: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: covar(value_y: datafusion.expr.Expr, value_x: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the sample covariance.
 
    This is an alias for :py:func:`covar_samp`.
 
 
-.. py:function:: covar_pop(value_y: datafusion.expr.Expr, value_x: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: covar_pop(value_y: datafusion.expr.Expr, value_x: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the population covariance.
 
@@ -868,7 +873,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: covar_samp(value_y: datafusion.expr.Expr, value_x: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: covar_samp(value_y: datafusion.expr.Expr, value_x: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the sample covariance.
 
@@ -882,7 +887,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: cume_dist(partition_by: Optional[list[datafusion.expr.Expr] | datafusion.expr.Expr] = None, order_by: Optional[list[datafusion.expr.Expr | datafusion.expr.SortExpr] | datafusion.expr.Expr | datafusion.expr.SortExpr] = None) -> datafusion.expr.Expr
+.. py:function:: cume_dist(partition_by: list[datafusion.expr.Expr] | datafusion.expr.Expr | None = None, order_by: list[datafusion.expr.SortKey] | datafusion.expr.SortKey | None = None) -> datafusion.expr.Expr
 
    Create a cumulative distribution window function.
 
@@ -901,7 +906,12 @@ Module Contents
        +--------+-----------+
 
    :param partition_by: Expressions to partition the window frame on.
-   :param order_by: Set ordering within the window frame.
+   :param order_by: Set ordering within the window frame. Accepts
+                    column names or expressions.
+
+   For example::
+
+       cume_dist(order_by="points")
 
 
 .. py:function:: current_date() -> datafusion.expr.Expr
@@ -953,7 +963,7 @@ Module Contents
    Converts the argument from radians to degrees.
 
 
-.. py:function:: dense_rank(partition_by: Optional[list[datafusion.expr.Expr] | datafusion.expr.Expr] = None, order_by: Optional[list[datafusion.expr.Expr | datafusion.expr.SortExpr] | datafusion.expr.Expr | datafusion.expr.SortExpr] = None) -> datafusion.expr.Expr
+.. py:function:: dense_rank(partition_by: list[datafusion.expr.Expr] | datafusion.expr.Expr | None = None, order_by: list[datafusion.expr.SortKey] | datafusion.expr.SortKey | None = None) -> datafusion.expr.Expr
 
    Create a dense_rank window function.
 
@@ -971,7 +981,12 @@ Module Contents
        +--------+------------+
 
    :param partition_by: Expressions to partition the window frame on.
-   :param order_by: Set ordering within the window frame.
+   :param order_by: Set ordering within the window frame. Accepts
+                    column names or expressions.
+
+   For example::
+
+       dense_rank(order_by="points")
 
 
 .. py:function:: digest(value: datafusion.expr.Expr, method: datafusion.expr.Expr) -> datafusion.expr.Expr
@@ -1024,7 +1039,7 @@ Module Contents
    The string list is a string composed of substrings separated by ``,`` characters.
 
 
-.. py:function:: first_value(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None, order_by: Optional[list[datafusion.expr.Expr | datafusion.expr.SortExpr] | datafusion.expr.Expr | datafusion.expr.SortExpr] = None, null_treatment: datafusion.common.NullTreatment = NullTreatment.RESPECT_NULLS) -> datafusion.expr.Expr
+.. py:function:: first_value(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None, order_by: list[datafusion.expr.SortKey] | datafusion.expr.SortKey | None = None, null_treatment: datafusion.common.NullTreatment = NullTreatment.RESPECT_NULLS) -> datafusion.expr.Expr
 
    Returns the first value in a group of values.
 
@@ -1035,9 +1050,14 @@ Module Contents
 
    :param expression: Argument to perform bitwise calculation on
    :param filter: If provided, only compute against rows for which the filter is True
-   :param order_by: Set the ordering of the expression to evaluate
+   :param order_by: Set the ordering of the expression to evaluate. Accepts
+                    column names or expressions.
    :param null_treatment: Assign whether to respect or ignore null values.
 
+   For example::
+
+       df.select(first_value(col("a"), order_by="ts"))
+
 
 .. py:function:: flatten(array: datafusion.expr.Expr) -> datafusion.expr.Expr
 
@@ -1082,7 +1102,7 @@ Module Contents
    Returns true if a given number is +0.0 or -0.0 otherwise returns false.
 
 
-.. py:function:: lag(arg: datafusion.expr.Expr, shift_offset: int = 1, default_value: Optional[Any] = None, partition_by: Optional[list[datafusion.expr.Expr] | datafusion.expr.Expr] = None, order_by: Optional[list[datafusion.expr.Expr | datafusion.expr.SortExpr] | datafusion.expr.Expr | datafusion.expr.SortExpr] = None) -> datafusion.expr.Expr
+.. py:function:: lag(arg: datafusion.expr.Expr, shift_offset: int = 1, default_value: Any | None = None, partition_by: list[datafusion.expr.Expr] | datafusion.expr.Expr | None = None, order_by: list[datafusion.expr.SortKey] | datafusion.expr.SortKey | None = None) -> datafusion.expr.Expr
 
    Create a lag window function.
 
@@ -1107,10 +1127,15 @@ Module Contents
    :param shift_offset: Number of rows before the current row.
    :param default_value: Value to return if shift_offet row does not exist.
    :param partition_by: Expressions to partition the window frame on.
-   :param order_by: Set ordering within the window frame.
+   :param order_by: Set ordering within the window frame. Accepts
+                    column names or expressions.
+
+   For example::
 
+       lag(col("b"), order_by="ts")
 
-.. py:function:: last_value(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None, order_by: Optional[list[datafusion.expr.Expr | datafusion.expr.SortExpr] | datafusion.expr.Expr | datafusion.expr.SortExpr] = None, null_treatment: datafusion.common.NullTreatment = NullTreatment.RESPECT_NULLS) -> datafusion.expr.Expr
+
+.. py:function:: last_value(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None, order_by: list[datafusion.expr.SortKey] | datafusion.expr.SortKey | None = None, null_treatment: datafusion.common.NullTreatment = NullTreatment.RESPECT_NULLS) -> datafusion.expr.Expr
 
    Returns the last value in a group of values.
 
@@ -1121,16 +1146,21 @@ Module Contents
 
    :param expression: Argument to perform bitwise calculation on
    :param filter: If provided, only compute against rows for which the filter is True
-   :param order_by: Set the ordering of the expression to evaluate
+   :param order_by: Set the ordering of the expression to evaluate. Accepts
+                    column names or expressions.
    :param null_treatment: Assign whether to respect or ignore null values.
 
+   For example::
+
+       df.select(last_value(col("a"), order_by="ts"))
+
 
 .. py:function:: lcm(x: datafusion.expr.Expr, y: datafusion.expr.Expr) -> datafusion.expr.Expr
 
    Returns the least common multiple.
 
 
-.. py:function:: lead(arg: datafusion.expr.Expr, shift_offset: int = 1, default_value: Optional[Any] = None, partition_by: Optional[list[datafusion.expr.Expr] | datafusion.expr.Expr] = None, order_by: Optional[list[datafusion.expr.Expr | datafusion.expr.SortExpr] | datafusion.expr.Expr | datafusion.expr.SortExpr] = None) -> datafusion.expr.Expr
+.. py:function:: lead(arg: datafusion.expr.Expr, shift_offset: int = 1, default_value: Any | None = None, partition_by: list[datafusion.expr.Expr] | datafusion.expr.Expr | None = None, order_by: list[datafusion.expr.SortKey] | datafusion.expr.SortKey | None = None) -> datafusion.expr.Expr
 
    Create a lead window function.
 
@@ -1158,7 +1188,12 @@ Module Contents
    :param shift_offset: Number of rows following the current row.
    :param default_value: Value to return if shift_offet row does not exist.
    :param partition_by: Expressions to partition the window frame on.
-   :param order_by: Set ordering within the window frame.
+   :param order_by: Set ordering within the window frame. Accepts
+                    column names or expressions.
+
+   For example::
+
+       lead(col("b"), order_by="ts")
 
 
 .. py:function:: left(string: datafusion.expr.Expr, n: datafusion.expr.Expr) -> datafusion.expr.Expr
@@ -1446,7 +1481,7 @@ Module Contents
    This is an alias for :py:func:`make_array`.
 
 
-.. py:function:: max(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: max(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Aggregate function that returns the maximum value of the argument.
 
@@ -1462,14 +1497,14 @@ Module Contents
    Computes an MD5 128-bit checksum for a string expression.
 
 
-.. py:function:: mean(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: mean(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Returns the average (mean) value of the argument.
 
    This is an alias for :py:func:`avg`.
 
 
-.. py:function:: median(expression: datafusion.expr.Expr, distinct: bool = False, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: median(expression: datafusion.expr.Expr, distinct: bool = False, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the median of a set of numbers.
 
@@ -1484,7 +1519,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: min(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: min(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Returns the minimum value of the argument.
 
@@ -1512,7 +1547,7 @@ Module Contents
    This will use the same value for all instances of now() in same statement.
 
 
-.. py:function:: nth_value(expression: datafusion.expr.Expr, n: int, filter: Optional[datafusion.expr.Expr] = None, order_by: Optional[list[datafusion.expr.Expr | datafusion.expr.SortExpr] | datafusion.expr.Expr | datafusion.expr.SortExpr] = None, null_treatment: datafusion.common.NullTreatment = NullTreatment.RESPECT_NULLS) -> datafusion.expr.Expr
+.. py:function:: nth_value(expression: datafusion.expr.Expr, n: int, filter: datafusion.expr.Expr | None = None, order_by: list[datafusion.expr.SortKey] | datafusion.expr.SortKey | None = None, null_treatment: datafusion.common.NullTreatment = NullTreatment.RESPECT_NULLS) -> datafusion.expr.Expr
 
    Returns the n-th value in a group of values.
 
@@ -1524,11 +1559,16 @@ Module Contents
    :param expression: Argument to perform bitwise calculation on
    :param n: Index of value to return. Starts at 1.
    :param filter: If provided, only compute against rows for which the filter is True
-   :param order_by: Set the ordering of the expression to evaluate
+   :param order_by: Set the ordering of the expression to evaluate. Accepts
+                    column names or expressions.
    :param null_treatment: Assign whether to respect or ignore null values.
 
+   For example::
 
-.. py:function:: ntile(groups: int, partition_by: Optional[list[datafusion.expr.Expr] | datafusion.expr.Expr] = None, order_by: Optional[list[datafusion.expr.Expr | datafusion.expr.SortExpr] | datafusion.expr.Expr | datafusion.expr.SortExpr] = None) -> datafusion.expr.Expr
+       df.select(nth_value(col("a"), 2, order_by="ts"))
+
+
+.. py:function:: ntile(groups: int, partition_by: list[datafusion.expr.Expr] | datafusion.expr.Expr | None = None, order_by: list[datafusion.expr.SortKey] | datafusion.expr.SortKey | None = None) -> datafusion.expr.Expr
 
    Create a n-tile window function.
 
@@ -1550,7 +1590,12 @@ Module Contents
 
    :param groups: Number of groups for the n-tile to be divided into.
    :param partition_by: Expressions to partition the window frame on.
-   :param order_by: Set ordering within the window frame.
+   :param order_by: Set ordering within the window frame. Accepts
+                    column names or expressions.
+
+   For example::
+
+       ntile(3, order_by="points")
 
 
 .. py:function:: nullif(expr1: datafusion.expr.Expr, expr2: datafusion.expr.Expr) -> datafusion.expr.Expr
@@ -1583,7 +1628,7 @@ Module Contents
    extends for ``length`` characters with new substring.
 
 
-.. py:function:: percent_rank(partition_by: Optional[list[datafusion.expr.Expr] | datafusion.expr.Expr] = None, order_by: Optional[list[datafusion.expr.Expr | datafusion.expr.SortExpr] | datafusion.expr.Expr | datafusion.expr.SortExpr] = None) -> datafusion.expr.Expr
+.. py:function:: percent_rank(partition_by: list[datafusion.expr.Expr] | datafusion.expr.Expr | None = None, order_by: list[datafusion.expr.SortKey] | datafusion.expr.SortKey | None = None) -> datafusion.expr.Expr
 
    Create a percent_rank window function.
 
@@ -1602,7 +1647,12 @@ Module Contents
        +--------+--------------+
 
    :param partition_by: Expressions to partition the window frame on.
-   :param order_by: Set ordering within the window frame.
+   :param order_by: Set ordering within the window frame. Accepts
+                    column names or expressions.
+
+   For example::
+
+       percent_rank(order_by="points")
 
 
 .. py:function:: pi() -> datafusion.expr.Expr
@@ -1637,7 +1687,7 @@ Module Contents
    Create a list of values in the range between start and stop.
 
 
-.. py:function:: rank(partition_by: Optional[list[datafusion.expr.Expr] | datafusion.expr.Expr] = None, order_by: Optional[list[datafusion.expr.Expr | datafusion.expr.SortExpr] | datafusion.expr.Expr | datafusion.expr.SortExpr] = None) -> datafusion.expr.Expr
+.. py:function:: rank(partition_by: list[datafusion.expr.Expr] | datafusion.expr.Expr | None = None, order_by: list[datafusion.expr.SortKey] | datafusion.expr.SortKey | None = None) -> datafusion.expr.Expr
 
    Create a rank window function.
 
@@ -1660,7 +1710,12 @@ Module Contents
        +--------+------+
 
    :param partition_by: Expressions to partition the window frame on.
-   :param order_by: Set ordering within the window frame.
+   :param order_by: Set ordering within the window frame. Accepts
+                    column names or expressions.
+
+   For example::
+
+       rank(order_by="points")
 
 
 .. py:function:: regexp_count(string: datafusion.expr.Expr, pattern: datafusion.expr.Expr, start: datafusion.expr.Expr, flags: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
@@ -1698,7 +1753,7 @@ Module Contents
    <https://docs.rs/regex/latest/regex/#grouping-and-flags>
 
 
-.. py:function:: regr_avgx(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: regr_avgx(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the average of the independent variable ``x``.
 
@@ -1713,7 +1768,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: regr_avgy(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: regr_avgy(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the average of the dependent variable ``y``.
 
@@ -1728,7 +1783,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: regr_count(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: regr_count(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Counts the number of rows in which both expressions are not null.
 
@@ -1743,7 +1798,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: regr_intercept(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: regr_intercept(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the intercept from the linear regression.
 
@@ -1758,7 +1813,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: regr_r2(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: regr_r2(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the R-squared value from linear regression.
 
@@ -1773,7 +1828,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: regr_slope(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: regr_slope(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the slope from linear regression.
 
@@ -1788,7 +1843,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: regr_sxx(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: regr_sxx(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the sum of squares of the independent variable ``x``.
 
@@ -1803,7 +1858,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: regr_sxy(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: regr_sxy(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the sum of products of pairs of numbers.
 
@@ -1818,7 +1873,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: regr_syy(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: regr_syy(y: datafusion.expr.Expr, x: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the sum of squares of the dependent variable ``y``.
 
@@ -1862,7 +1917,7 @@ Module Contents
    ``round(lit(125.2345), lit(-2))`` would yield a value of ``100.0``.
 
 
-.. py:function:: row_number(partition_by: Optional[list[datafusion.expr.Expr] | datafusion.expr.Expr] = None, order_by: Optional[list[datafusion.expr.Expr | datafusion.expr.SortExpr] | datafusion.expr.Expr | datafusion.expr.SortExpr] = None) -> datafusion.expr.Expr
+.. py:function:: row_number(partition_by: list[datafusion.expr.Expr] | datafusion.expr.Expr | None = None, order_by: list[datafusion.expr.SortKey] | datafusion.expr.SortKey | None = None) -> datafusion.expr.Expr
 
    Create a row number window function.
 
@@ -1880,7 +1935,12 @@ Module Contents
        +--------+------------+
 
    :param partition_by: Expressions to partition the window frame on.
-   :param order_by: Set ordering within the window frame.
+   :param order_by: Set ordering within the window frame. Accepts
+                    column names or expressions.
+
+   For example::
+
+       row_number(order_by="points")
 
 
 .. py:function:: rpad(string: datafusion.expr.Expr, count: datafusion.expr.Expr, characters: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
@@ -1949,7 +2009,7 @@ Module Contents
    Returns true if string starts with prefix.
 
 
-.. py:function:: stddev(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: stddev(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the standard deviation of the argument.
 
@@ -1960,7 +2020,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: stddev_pop(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: stddev_pop(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the population standard deviation of the argument.
 
@@ -1971,14 +2031,14 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: stddev_samp(arg: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: stddev_samp(arg: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the sample standard deviation of the argument.
 
    This is an alias for :py:func:`stddev`.
 
 
-.. py:function:: string_agg(expression: datafusion.expr.Expr, delimiter: str, filter: Optional[datafusion.expr.Expr] = None, order_by: Optional[list[datafusion.expr.Expr | datafusion.expr.SortExpr] | datafusion.expr.Expr | datafusion.expr.SortExpr] = None) -> datafusion.expr.Expr
+.. py:function:: string_agg(expression: datafusion.expr.Expr, delimiter: str, filter: datafusion.expr.Expr | None = None, order_by: list[datafusion.expr.SortKey] | datafusion.expr.SortKey | None = None) -> datafusion.expr.Expr
 
    Concatenates the input strings.
 
@@ -1992,7 +2052,12 @@ Module Contents
    :param expression: Argument to perform bitwise calculation on
    :param delimiter: Text to place between each value of expression
    :param filter: If provided, only compute against rows for which the filter is True
-   :param order_by: Set the ordering of the expression to evaluate
+   :param order_by: Set the ordering of the expression to evaluate. Accepts
+                    column names or expressions.
+
+   For example::
+
+       df.select(string_agg(col("a"), ",", order_by="b"))
 
 
 .. py:function:: strpos(string: datafusion.expr.Expr, substring: datafusion.expr.Expr) -> datafusion.expr.Expr
@@ -2023,7 +2088,7 @@ Module Contents
    Substring from the ``position`` with ``length`` characters.
 
 
-.. py:function:: sum(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: sum(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the sum of a set of numbers.
 
@@ -2118,14 +2183,14 @@ Module Contents
    Returns uuid v4 as a string value.
 
 
-.. py:function:: var(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: var(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the sample variance of the argument.
 
    This is an alias for :py:func:`var_samp`.
 
 
-.. py:function:: var_pop(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: var_pop(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the population variance of the argument.
 
@@ -2136,7 +2201,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: var_samp(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: var_samp(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the sample variance of the argument.
 
@@ -2147,7 +2212,7 @@ Module Contents
    :param filter: If provided, only compute against rows for which the filter is True
 
 
-.. py:function:: var_sample(expression: datafusion.expr.Expr, filter: Optional[datafusion.expr.Expr] = None) -> datafusion.expr.Expr
+.. py:function:: var_sample(expression: datafusion.expr.Expr, filter: datafusion.expr.Expr | None = None) -> datafusion.expr.Expr
 
    Computes the sample variance of the argument.
 
@@ -2163,7 +2228,7 @@ Module Contents
    detailed usage.
 
 
-.. py:function:: window(name: str, args: list[datafusion.expr.Expr], partition_by: list[datafusion.expr.Expr] | datafusion.expr.Expr | None = None, order_by: list[datafusion.expr.Expr | datafusion.expr.SortExpr] | datafusion.expr.Expr | datafusion.expr.SortExpr | None = None, window_frame: datafusion.expr.WindowFrame | None = None, ctx: datafusion.context.SessionContext | None = None) -> datafusion.expr.Expr
+.. py:function:: window(name: str, args: list[datafusion.expr.Expr], partition_by: list[datafusion.expr.Expr] | datafusion.expr.Expr | None = None, order_by: list[datafusion.expr.SortKey] | datafusion.expr.SortKey | None = None, window_frame: datafusion.expr.WindowFrame | None = None, filter: datafusion.expr.Expr | None = None, distinct: bool = False, ctx: datafusion.context.SessionContext | None = None) -> datafusion.expr.Expr
 
    Creates a new Window function expression.
 
@@ -2173,4 +2238,8 @@ Module Contents
 
        df.select(functions.lag(col("a")).partition_by(col("b")).build())
 
+   The ``order_by`` parameter accepts column names or expressions, e.g.::
+
+       window("lag", [col("a")], order_by="ts")
+
 
diff --git a/_sources/autoapi/datafusion/index.rst.txt b/_sources/autoapi/datafusion/index.rst.txt
index 0b19b1d4..2c2fb605 100644
--- a/_sources/autoapi/datafusion/index.rst.txt
+++ b/_sources/autoapi/datafusion/index.rst.txt
@@ -28,6 +28,7 @@ Submodules
    /autoapi/datafusion/input/index
    /autoapi/datafusion/io/index
    /autoapi/datafusion/object_store/index
+   /autoapi/datafusion/options/index
    /autoapi/datafusion/plan/index
    /autoapi/datafusion/record_batch/index
    /autoapi/datafusion/substrait/index
@@ -43,10 +44,6 @@ Attributes
    datafusion.DFSchema
    datafusion.col
    datafusion.column
-   datafusion.udaf
-   datafusion.udf
-   datafusion.udtf
-   datafusion.udwf
 
 
 Classes
@@ -54,12 +51,13 @@ Classes
 
 .. autoapisummary::
 
-   datafusion.Accumulator
-   datafusion.AggregateUDF
    datafusion.Catalog
+   datafusion.CsvReadOptions
+   datafusion.DataFrameWriteOptions
    datafusion.Database
    datafusion.ExecutionPlan
    datafusion.Expr
+   datafusion.InsertOp
    datafusion.LogicalPlan
    datafusion.ParquetColumnOptions
    datafusion.ParquetWriterOptions
@@ -67,12 +65,9 @@ Classes
    datafusion.RecordBatchStream
    datafusion.RuntimeEnvBuilder
    datafusion.SQLOptions
-   datafusion.ScalarUDF
    datafusion.SessionConfig
    datafusion.Table
-   datafusion.TableFunction
    datafusion.WindowFrame
-   datafusion.WindowUDF
 
 
 Functions
@@ -92,218 +87,297 @@ Functions
 Package Contents
 ----------------
 
-.. py:class:: Accumulator
+.. py:class:: Catalog(catalog: datafusion._internal.catalog.RawCatalog)
 
-   Defines how an :py:class:`AggregateUDF` accumulates values.
+   DataFusion data catalog.
 
+   This constructor is not typically called by the end user.
 
-   .. py:method:: evaluate() -> pyarrow.Scalar
-      :abstractmethod:
 
+   .. py:method:: __repr__() -> str
 
-      Return the resultant value.
+      Print a string representation of the catalog.
 
 
 
-   .. py:method:: merge(states: list[pyarrow.Array]) -> None
-      :abstractmethod:
+   .. py:method:: database(name: str = 'public') -> Schema
 
+      Returns the database with the given ``name`` from this catalog.
 
-      Merge a set of states.
 
 
+   .. py:method:: deregister_schema(name: str, cascade: bool = True) -> Schema | None
 
-   .. py:method:: state() -> list[pyarrow.Scalar]
-      :abstractmethod:
+      Deregister a schema from this catalog.
 
 
-      Return the current state.
 
+   .. py:method:: memory_catalog(ctx: datafusion.SessionContext | None = None) -> Catalog
+      :staticmethod:
 
 
-   .. py:method:: update(*values: pyarrow.Array) -> None
-      :abstractmethod:
+      Create an in-memory catalog provider.
 
 
-      Evaluate an array of values and update state.
 
+   .. py:method:: names() -> set[str]
 
+      This is an alias for `schema_names`.
 
-.. py:class:: AggregateUDF(name: str, accumulator: Callable[[], Accumulator], input_types: list[pyarrow.DataType], return_type: pyarrow.DataType, state_type: list[pyarrow.DataType], volatility: Volatility | str)
 
-   Class for performing scalar user-defined functions (UDF).
 
-   Aggregate UDFs operate on a group of rows and return a single value. See
-   also :py:class:`ScalarUDF` for operating on a row by row basis.
+   .. py:method:: register_schema(name: str, schema: Schema | SchemaProvider | SchemaProviderExportable) -> Schema | None
 
-   Instantiate a user-defined aggregate function (UDAF).
+      Register a schema with this catalog.
 
-   See :py:func:`udaf` for a convenience function and argument
-   descriptions.
 
 
-   .. py:method:: __call__(*args: datafusion.expr.Expr) -> datafusion.expr.Expr
+   .. py:method:: schema(name: str = 'public') -> Schema
 
-      Execute the UDAF.
+      Returns the database with the given ``name`` from this catalog.
 
-      This function is not typically called by an end user. These calls will
-      occur during the evaluation of the dataframe.
 
 
+   .. py:method:: schema_names() -> set[str]
 
-   .. py:method:: __repr__() -> str
+      Returns the list of schemas in this catalog.
 
-      Print a string representation of the Aggregate UDF.
 
 
+   .. py:attribute:: catalog
 
-   .. py:method:: from_pycapsule(func: AggregateUDFExportable) -> AggregateUDF
-      :staticmethod:
 
+.. py:class:: CsvReadOptions(*, has_header: bool = True, delimiter: str = ',', quote: str = '"', terminator: str | None = None, escape: str | None = None, comment: str | None = None, newlines_in_values: bool = False, schema: pyarrow.Schema | None = None, schema_infer_max_records: int = DEFAULT_MAX_INFER_SCHEMA, file_extension: str = '.csv', table_partition_cols: list[tuple[str, pyarrow.DataType]] | None = None, file_compression_type: str = '', file_sort_order: list[list[datafusion.expr.S [...]
+
+   Options for reading CSV files.
+
+   This class provides a builder pattern for configuring CSV reading options.
+   All methods starting with ``with_`` return ``self`` to allow method chaining.
+
+   Initialize CsvReadOptions.
+
+   :param has_header: Does the CSV file have a header row? If schema inference
+                      is run on a file with no headers, default column names are created.
+   :param delimiter: Column delimiter character. Must be a single ASCII character.
+   :param quote: Quote character for fields containing delimiters or newlines.
+                 Must be a single ASCII character.
+   :param terminator: Optional line terminator character. If ``None``, uses CRLF.
+                      Must be a single ASCII character.
+   :param escape: Optional escape character for quotes. Must be a single ASCII
+                  character.
+   :param comment: If specified, lines beginning with this character are ignored.
+                   Must be a single ASCII character.
+   :param newlines_in_values: Whether newlines in quoted values are supported.
+                              Parsing newlines in quoted values may be affected by execution
+                              behavior such as parallel file scanning. Setting this to ``True``
+                              ensures that newlines in values are parsed successfully, which may
+                              reduce performance.
+   :param schema: Optional PyArrow schema representing the CSV files. If ``None``,
+                  the CSV reader will try to infer it based on data in the file.
+   :param schema_infer_max_records: Maximum number of rows to read from CSV files
+                                    for schema inference if needed.
+   :param file_extension: File extension; only files with this extension are
+                          selected for data input.
+   :param table_partition_cols: Partition columns as a list of tuples of
+                                (column_name, data_type).
+   :param file_compression_type: File compression type. Supported values are
+                                 ``"gzip"``, ``"bz2"``, ``"xz"``, ``"zstd"``, or empty string for
+                                 uncompressed.
+   :param file_sort_order: Optional sort order of the files as a list of sort
+                           expressions per file.
+   :param null_regex: Optional regex pattern to match null values in the CSV.
+   :param truncated_rows: Whether to allow truncated rows when parsing. By default
+                          this is ``False`` and will error if the CSV rows have different
+                          lengths. When set to ``True``, it will allow records with less than
+                          the expected number of columns and fill the missing columns with
+                          nulls. If the record's schema is not nullable, it will still return
+                          an error.
 
-      Create an Aggregate UDF from AggregateUDF PyCapsule object.
 
-      This function will instantiate a Aggregate UDF that uses a DataFusion
-      AggregateUDF that is exported via the FFI bindings.
+   .. py:method:: to_inner() -> datafusion._internal.options.CsvReadOptions
 
+      Convert this object into the underlying Rust structure.
 
+      This is intended for internal use only.
 
-   .. py:method:: udaf(input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, state_type: list[pyarrow.DataType], volatility: Volatility | str, name: Optional[str] = None) -> Callable[Ellipsis, AggregateUDF]
-                  udaf(accum: Callable[[], Accumulator], input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, state_type: list[pyarrow.DataType], volatility: Volatility | str, name: Optional[str] = None) -> AggregateUDF
-      :staticmethod:
 
 
-      Create a new User-Defined Aggregate Function (UDAF).
+   .. py:method:: with_comment(comment: str | None) -> CsvReadOptions
 
-      This class allows you to define an aggregate function that can be used in
-      data aggregation or window function calls.
+      Configure the comment character.
 
-      Usage:
-          - As a function: ``udaf(accum, input_types, return_type, state_type, volatility, name)``.
-          - As a decorator: ``@udaf(input_types, return_type, state_type, volatility, name)``.
-            When using ``udaf`` as a decorator, do not pass ``accum`` explicitly.
 
-      Function example:
 
-      If your :py:class:`Accumulator` can be instantiated with no arguments, you
-      can simply pass it's type as `accum`. If you need to pass additional
-      arguments to it's constructor, you can define a lambda or a factory method.
-      During runtime the :py:class:`Accumulator` will be constructed for every
-      instance in which this UDAF is used. The following examples are all valid::
+   .. py:method:: with_delimiter(delimiter: str) -> CsvReadOptions
 
-          import pyarrow as pa
-          import pyarrow.compute as pc
+      Configure the column delimiter.
 
-          class Summarize(Accumulator):
-              def __init__(self, bias: float = 0.0):
-                  self._sum = pa.scalar(bias)
 
-              def state(self) -> list[pa.Scalar]:
-                  return [self._sum]
 
-              def update(self, values: pa.Array) -> None:
-                  self._sum = pa.scalar(self._sum.as_py() + pc.sum(values).as_py())
+   .. py:method:: with_escape(escape: str | None) -> CsvReadOptions
 
-              def merge(self, states: list[pa.Array]) -> None:
-                  self._sum = pa.scalar(self._sum.as_py() + pc.sum(states[0]).as_py())
+      Configure the escape character.
 
-              def evaluate(self) -> pa.Scalar:
-                  return self._sum
 
-          def sum_bias_10() -> Summarize:
-              return Summarize(10.0)
 
-          udaf1 = udaf(Summarize, pa.float64(), pa.float64(), [pa.float64()],
-              "immutable")
-          udaf2 = udaf(sum_bias_10, pa.float64(), pa.float64(), [pa.float64()],
-              "immutable")
-          udaf3 = udaf(lambda: Summarize(20.0), pa.float64(), pa.float64(),
-              [pa.float64()], "immutable")
+   .. py:method:: with_file_compression_type(file_compression_type: str) -> CsvReadOptions
 
-      Decorator example:::
+      Configure file compression type.
 
-          @udaf(pa.float64(), pa.float64(), [pa.float64()], "immutable")
-          def udf4() -> Summarize:
-              return Summarize(10.0)
 
-      :param accum: The accumulator python function. Only needed when calling as a
-                    function. Skip this argument when using ``udaf`` as a decorator.
-                    If you have a Rust backed AggregateUDF within a PyCapsule, you can
-                    pass this parameter and ignore the rest. They will be determined
-                    directly from the underlying function. See the online documentation
-                    for more information.
-      :param input_types: The data types of the arguments to ``accum``.
-      :param return_type: The data type of the return value.
-      :param state_type: The data types of the intermediate accumulation.
-      :param volatility: See :py:class:`Volatility` for allowed values.
-      :param name: A descriptive name for the function.
 
-      :returns: A user-defined aggregate function, which can be used in either data
-                aggregation or window function calls.
+   .. py:method:: with_file_extension(file_extension: str) -> CsvReadOptions
 
+      Configure the file extension filter.
 
 
-   .. py:attribute:: _udaf
 
+   .. py:method:: with_file_sort_order(file_sort_order: list[list[datafusion.expr.SortExpr]]) -> CsvReadOptions
 
-.. py:class:: Catalog(catalog: datafusion._internal.catalog.RawCatalog)
+      Configure file sort order.
 
-   DataFusion data catalog.
 
-   This constructor is not typically called by the end user.
 
+   .. py:method:: with_has_header(has_header: bool) -> CsvReadOptions
 
-   .. py:method:: __repr__() -> str
+      Configure whether the CSV has a header row.
 
-      Print a string representation of the catalog.
 
 
+   .. py:method:: with_newlines_in_values(newlines_in_values: bool) -> CsvReadOptions
 
-   .. py:method:: database(name: str = 'public') -> Schema
+      Configure whether newlines in values are supported.
 
-      Returns the database with the given ``name`` from this catalog.
 
 
+   .. py:method:: with_null_regex(null_regex: str | None) -> CsvReadOptions
 
-   .. py:method:: deregister_schema(name: str, cascade: bool = True) -> Schema | None
+      Configure null value regex pattern.
 
-      Deregister a schema from this catalog.
 
 
+   .. py:method:: with_quote(quote: str) -> CsvReadOptions
 
-   .. py:method:: memory_catalog() -> Catalog
-      :staticmethod:
+      Configure the quote character.
 
 
-      Create an in-memory catalog provider.
 
+   .. py:method:: with_schema(schema: pyarrow.Schema | None) -> CsvReadOptions
 
+      Configure the schema.
 
-   .. py:method:: names() -> set[str]
 
-      This is an alias for `schema_names`.
 
+   .. py:method:: with_schema_infer_max_records(schema_infer_max_records: int) -> CsvReadOptions
 
+      Configure maximum records for schema inference.
 
-   .. py:method:: register_schema(name, schema) -> Schema | None
 
-      Register a schema with this catalog.
 
+   .. py:method:: with_table_partition_cols(table_partition_cols: list[tuple[str, pyarrow.DataType]]) -> CsvReadOptions
 
+      Configure table partition columns.
 
-   .. py:method:: schema(name: str = 'public') -> Schema
 
-      Returns the database with the given ``name`` from this catalog.
 
+   .. py:method:: with_terminator(terminator: str | None) -> CsvReadOptions
 
+      Configure the line terminator character.
 
-   .. py:method:: schema_names() -> set[str]
 
-      Returns the list of schemas in this catalog.
 
+   .. py:method:: with_truncated_rows(truncated_rows: bool) -> CsvReadOptions
 
+      Configure whether to allow truncated rows.
+
+
+
+   .. py:attribute:: comment
+      :value: None
+
+
+
+   .. py:attribute:: delimiter
+      :value: ','
+
+
+
+   .. py:attribute:: escape
+      :value: None
+
+
+
+   .. py:attribute:: file_compression_type
+      :value: ''
+
+
+
+   .. py:attribute:: file_extension
+      :value: '.csv'
+
+
+
+   .. py:attribute:: file_sort_order
+      :value: []
+
+
+
+   .. py:attribute:: has_header
+      :value: True
+
+
+
+   .. py:attribute:: newlines_in_values
+      :value: False
+
+
+
+   .. py:attribute:: null_regex
+      :value: None
+
+
+
+   .. py:attribute:: quote
+      :value: '"'
+
+
+
+   .. py:attribute:: schema
+      :value: None
+
+
+
+   .. py:attribute:: schema_infer_max_records
+      :value: 1000
 
-   .. py:attribute:: catalog
+
+
+   .. py:attribute:: table_partition_cols
+      :value: []
+
+
+
+   .. py:attribute:: terminator
+      :value: None
+
+
+
+   .. py:attribute:: truncated_rows
+      :value: False
+
+
+
+.. py:class:: DataFrameWriteOptions(insert_operation: InsertOp | None = None, single_file_output: bool = False, partition_by: str | collections.abc.Sequence[str] | None = None, sort_by: datafusion.expr.Expr | datafusion.expr.SortExpr | collections.abc.Sequence[datafusion.expr.Expr] | collections.abc.Sequence[datafusion.expr.SortExpr] | None = None)
+
+   Writer options for DataFrame.
+
+   There is no guarantee the table provider supports all writer options.
+   See the individual implementation and documentation for details.
+
+   Instantiate writer options for DataFrame.
+
+
+   .. py:attribute:: _raw_write_options
 
 
 .. py:class:: Database(schema: datafusion._internal.catalog.RawSchema)
@@ -424,7 +498,12 @@ Package Contents
 
       If ``key`` is a string, returns the subfield of the struct.
       If ``key`` is an integer, retrieves the element in the array. Note that the
-      element index begins at ``0``, unlike `array_element` which begins at ``1``.
+      element index begins at ``0``, unlike
+      :py:func:`~datafusion.functions.array_element` which begins at ``1``.
+      If ``key`` is a slice, returns an array that contains a slice of the
+      original array. Similar to integer indexing, this follows Python convention
+      where the index begins at ``0`` unlike
+      :py:func:`~datafusion.functions.array_slice` which begins at ``1``.
 
 
 
@@ -544,7 +623,7 @@ Package Contents
 
 
 
-   .. py:method:: alias(name: str, metadata: Optional[dict[str, str]] = None) -> Expr
+   .. py:method:: alias(name: str, metadata: dict[str, str] | None = None) -> Expr
 
       Assign a name to the expression.
 
@@ -667,7 +746,7 @@ Package Contents
 
 
 
-   .. py:method:: cast(to: pyarrow.DataType[Any] | type[float | int | str | bool]) -> Expr
+   .. py:method:: cast(to: pyarrow.DataType[Any] | type) -> Expr
 
       Cast to a new data type.
 
@@ -995,7 +1074,7 @@ Package Contents
 
    .. py:method:: python_value() -> Any
 
-      Extracts the Expr value into a PyObject.
+      Extracts the Expr value into `Any`.
 
       This is only valid for literal expressions.
 
@@ -1219,6 +1298,34 @@ Package Contents
    .. py:attribute:: expr
 
 
+.. py:class:: InsertOp
+
+   Bases: :py:obj:`enum.Enum`
+
+
+   Insert operation mode.
+
+   These modes are used by the table writing feature to define how record
+   batches should be written to a table.
+
+
+   .. py:attribute:: APPEND
+
+      Appends new rows to the existing table without modifying any existing rows.
+
+
+   .. py:attribute:: OVERWRITE
+
+      Overwrites all existing rows in the table with the new rows.
+
+
+   .. py:attribute:: REPLACE
+
+      Replace existing rows that collide with the inserted rows.
+
+      Replacement is typically based on a unique key or primary key.
+
+
 .. py:class:: LogicalPlan(plan: datafusion._internal.LogicalPlan)
 
    Logical Plan.
@@ -1303,56 +1410,37 @@ Package Contents
    .. py:attribute:: _raw_plan
 
 
-.. py:class:: ParquetColumnOptions(encoding: Optional[str] = None, dictionary_enabled: Optional[bool] = None, compression: Optional[str] = None, statistics_enabled: Optional[str] = None, bloom_filter_enabled: Optional[bool] = None, bloom_filter_fpp: Optional[float] = None, bloom_filter_ndv: Optional[int] = None)
+.. py:class:: ParquetColumnOptions(encoding: str | None = None, dictionary_enabled: bool | None = None, compression: str | None = None, statistics_enabled: str | None = None, bloom_filter_enabled: bool | None = None, bloom_filter_fpp: float | None = None, bloom_filter_ndv: int | None = None)
 
    Parquet options for individual columns.
 
    Contains the available options that can be applied for an individual Parquet column,
-   replacing the global options in `ParquetWriterOptions`.
-
-   .. attribute:: encoding
-
-      Sets encoding for the column path. Valid values are: `plain`,
-      `plain_dictionary`, `rle`, `bit_packed`, `delta_binary_packed`,
-      `delta_length_byte_array`, `delta_byte_array`, `rle_dictionary`, and
-      `byte_stream_split`. These values are not case-sensitive. If `None`, uses
-      the default parquet options
-
-   .. attribute:: dictionary_enabled
-
-      Sets if dictionary encoding is enabled for the column path.
-      If `None`, uses the default parquet options
-
-   .. attribute:: compression
-
-      Sets default parquet compression codec for the column path. Valid
-      values are `uncompressed`, `snappy`, `gzip(level)`, `lzo`, `brotli(level)`,
-      `lz4`, `zstd(level)`, and `lz4_raw`. These values are not case-sensitive. If
-      `None`, uses the default parquet options.
-
-   .. attribute:: statistics_enabled
-
-      Sets if statistics are enabled for the column Valid values
-      are: `none`, `chunk`, and `page` These values are not case sensitive. If
-      `None`, uses the default parquet options.
-
-   .. attribute:: bloom_filter_enabled
-
-      Sets if bloom filter is enabled for the column path. If
-      `None`, uses the default parquet options.
-
-   .. attribute:: bloom_filter_fpp
-
-      Sets bloom filter false positive probability for the column
-      path. If `None`, uses the default parquet options.
-
-   .. attribute:: bloom_filter_ndv
-
-      Sets bloom filter number of distinct values. If `None`, uses
-      the default parquet options.
+   replacing the global options in ``ParquetWriterOptions``.
 
    Initialize the ParquetColumnOptions.
 
+   :param encoding: Sets encoding for the column path. Valid values are: ``plain``,
+                    ``plain_dictionary``, ``rle``, ``bit_packed``, ``delta_binary_packed``,
+                    ``delta_length_byte_array``, ``delta_byte_array``, ``rle_dictionary``,
+                    and ``byte_stream_split``. These values are not case-sensitive. If
+                    ``None``, uses the default parquet options
+   :param dictionary_enabled: Sets if dictionary encoding is enabled for the column
+                              path. If `None`, uses the default parquet options
+   :param compression: Sets default parquet compression codec for the column path.
+                       Valid values are ``uncompressed``, ``snappy``, ``gzip(level)``, ``lzo``,
+                       ``brotli(level)``, ``lz4``, ``zstd(level)``, and ``lz4_raw``. These
+                       values are not case-sensitive. If ``None``, uses the default parquet
+                       options.
+   :param statistics_enabled: Sets if statistics are enabled for the column Valid
+                              values are: ``none``, ``chunk``, and ``page`` These values are not case
+                              sensitive. If ``None``, uses the default parquet options.
+   :param bloom_filter_enabled: Sets if bloom filter is enabled for the column path.
+                                If ``None``, uses the default parquet options.
+   :param bloom_filter_fpp: Sets bloom filter false positive probability for the
+                            column path. If ``None``, uses the default parquet options.
+   :param bloom_filter_ndv: Sets bloom filter number of distinct values. If ``None``,
+                            uses the default parquet options.
+
 
    .. py:attribute:: bloom_filter_enabled
       :value: None
@@ -1389,137 +1477,79 @@ Package Contents
 
 
 
-.. py:class:: ParquetWriterOptions(data_pagesize_limit: int = 1024 * 1024, write_batch_size: int = 1024, writer_version: str = '1.0', skip_arrow_metadata: bool = False, compression: Optional[str] = 'zstd(3)', compression_level: Optional[int] = None, dictionary_enabled: Optional[bool] = True, dictionary_page_size_limit: int = 1024 * 1024, statistics_enabled: Optional[str] = 'page', max_row_group_size: int = 1024 * 1024, created_by: str = 'datafusion-python', column_index_truncate_length:  [...]
+.. py:class:: ParquetWriterOptions(data_pagesize_limit: int = 1024 * 1024, write_batch_size: int = 1024, writer_version: str = '1.0', skip_arrow_metadata: bool = False, compression: str | None = 'zstd(3)', compression_level: int | None = None, dictionary_enabled: bool | None = True, dictionary_page_size_limit: int = 1024 * 1024, statistics_enabled: str | None = 'page', max_row_group_size: int = 1024 * 1024, created_by: str = 'datafusion-python', column_index_truncate_length: int | None = [...]
 
    Advanced parquet writer options.
 
    Allows settings the writer options that apply to the entire file. Some options can
-   also be set on a column by column basis, with the field `column_specific_options`
-   (see `ParquetColumnOptions`).
-
-   .. attribute:: data_pagesize_limit
-
-      Sets best effort maximum size of data page in bytes.
-
-   .. attribute:: write_batch_size
-
-      Sets write_batch_size in bytes.
-
-   .. attribute:: writer_version
-
-      Sets parquet writer version. Valid values are `1.0` and
-      `2.0`.
-
-   .. attribute:: skip_arrow_metadata
-
-      Skip encoding the embedded arrow metadata in the
-      KV_meta.
-
-   .. attribute:: compression
-
-      Compression type to use. Default is "zstd(3)".
-      Available compression types are
-      - "uncompressed": No compression.
-      - "snappy": Snappy compression.
-      - "gzip(n)": Gzip compression with level n.
-      - "brotli(n)": Brotli compression with level n.
-      - "lz4": LZ4 compression.
-      - "lz4_raw": LZ4_RAW compression.
-      - "zstd(n)": Zstandard compression with level n.
-
-   .. attribute:: dictionary_enabled
-
-      Sets if dictionary encoding is enabled. If None, uses
-      the default parquet writer setting.
-
-   .. attribute:: dictionary_page_size_limit
-
-      Sets best effort maximum dictionary page size,
-      in bytes.
-
-   .. attribute:: statistics_enabled
-
-      Sets if statistics are enabled for any column Valid
-      values are `none`, `chunk`, and `page`. If None, uses the default
-      parquet writer setting.
-
-   .. attribute:: max_row_group_size
-
-      Target maximum number of rows in each row group
-      (defaults to 1M rows). Writing larger row groups requires more memory to
-      write, but can get better compression and be faster to read.
-
-   .. attribute:: created_by
-
-      Sets "created by" property.
-
-   .. attribute:: column_index_truncate_length
-
-      Sets column index truncate length.
-
-   .. attribute:: statistics_truncate_length
-
-      Sets statistics truncate length. If None, uses
-      the default parquet writer setting.
-
-   .. attribute:: data_page_row_count_limit
-
-      Sets best effort maximum number of rows in a data
-      page.
-
-   .. attribute:: encoding
-
-      Sets default encoding for any column. Valid values are `plain`,
-      `plain_dictionary`, `rle`, `bit_packed`, `delta_binary_packed`,
-      `delta_length_byte_array`, `delta_byte_array`, `rle_dictionary`, and
-      `byte_stream_split`. If None, uses the default parquet writer setting.
-
-   .. attribute:: bloom_filter_on_write
-
-      Write bloom filters for all columns when creating
-      parquet files.
-
-   .. attribute:: bloom_filter_fpp
-
-      Sets bloom filter false positive probability. If None,
-      uses the default parquet writer setting
-
-   .. attribute:: bloom_filter_ndv
-
-      Sets bloom filter number of distinct values. If None, uses
-      the default parquet writer setting.
-
-   .. attribute:: allow_single_file_parallelism
-
-      Controls whether DataFusion will attempt to
-      speed up writing parquet files by serializing them in parallel. Each
-      column in each row group in each output file are serialized in parallel
-      leveraging a maximum possible core count of n_files * n_row_groups *
-      n_columns.
-
-   .. attribute:: maximum_parallel_row_group_writers
-
-      By default parallel parquet writer is
-      tuned for minimum memory usage in a streaming execution plan. You may
-      see a performance benefit when writing large parquet files by increasing
-      `maximum_parallel_row_group_writers` and
-      `maximum_buffered_record_batches_per_stream` if your system has idle
-      cores and can tolerate additional memory usage. Boosting these values is
-      likely worthwhile when writing out already in-memory data, such as from
-      a cached data frame.
-
-   .. attribute:: maximum_buffered_record_batches_per_stream
-
-      See
-      `maximum_parallel_row_group_writers`.
-
-   .. attribute:: column_specific_options
-
-      Overrides options for specific columns. If a column
-      is not a part of this dictionary, it will use the parameters provided here.
+   also be set on a column by column basis, with the field ``column_specific_options``
+   (see ``ParquetColumnOptions``).
 
    Initialize the ParquetWriterOptions.
 
+   :param data_pagesize_limit: Sets best effort maximum size of data page in bytes.
+   :param write_batch_size: Sets write_batch_size in bytes.
+   :param writer_version: Sets parquet writer version. Valid values are ``1.0`` and
+                          ``2.0``.
+   :param skip_arrow_metadata: Skip encoding the embedded arrow metadata in the
+                               KV_meta.
+   :param compression: Compression type to use. Default is ``zstd(3)``.
+                       Available compression types are
+
+                       - ``uncompressed``: No compression.
+                       - ``snappy``: Snappy compression.
+                       - ``gzip(n)``: Gzip compression with level n.
+                       - ``brotli(n)``: Brotli compression with level n.
+                       - ``lz4``: LZ4 compression.
+                       - ``lz4_raw``: LZ4_RAW compression.
+                       - ``zstd(n)``: Zstandard compression with level n.
+   :param compression_level: Compression level to set.
+   :param dictionary_enabled: Sets if dictionary encoding is enabled. If ``None``,
+                              uses the default parquet writer setting.
+   :param dictionary_page_size_limit: Sets best effort maximum dictionary page size,
+                                      in bytes.
+   :param statistics_enabled: Sets if statistics are enabled for any column Valid
+                              values are ``none``, ``chunk``, and ``page``. If ``None``, uses the
+                              default parquet writer setting.
+   :param max_row_group_size: Target maximum number of rows in each row group
+                              (defaults to 1M rows). Writing larger row groups requires more memory
+                              to write, but can get better compression and be faster to read.
+   :param created_by: Sets "created by" property.
+   :param column_index_truncate_length: Sets column index truncate length.
+   :param statistics_truncate_length: Sets statistics truncate length. If ``None``,
+                                      uses the default parquet writer setting.
+   :param data_page_row_count_limit: Sets best effort maximum number of rows in a data
+                                     page.
+   :param encoding: Sets default encoding for any column. Valid values are ``plain``,
+                    ``plain_dictionary``, ``rle``, ``bit_packed``, ``delta_binary_packed``,
+                    ``delta_length_byte_array``, ``delta_byte_array``, ``rle_dictionary``,
+                    and ``byte_stream_split``. If ``None``, uses the default parquet writer
+                    setting.
+   :param bloom_filter_on_write: Write bloom filters for all columns when creating
+                                 parquet files.
+   :param bloom_filter_fpp: Sets bloom filter false positive probability. If ``None``,
+                            uses the default parquet writer setting
+   :param bloom_filter_ndv: Sets bloom filter number of distinct values. If ``None``,
+                            uses the default parquet writer setting.
+   :param allow_single_file_parallelism: Controls whether DataFusion will attempt to
+                                         speed up writing parquet files by serializing them in parallel. Each
+                                         column in each row group in each output file are serialized in parallel
+                                         leveraging a maximum possible core count of
+                                         ``n_files * n_row_groups * n_columns``.
+   :param maximum_parallel_row_group_writers: By default parallel parquet writer is
+                                              tuned for minimum memory usage in a streaming execution plan. You may
+                                              see a performance benefit when writing large parquet files by increasing
+                                              ``maximum_parallel_row_group_writers`` and
+                                              ``maximum_buffered_record_batches_per_stream`` if your system has idle
+                                              cores and can tolerate additional memory usage. Boosting these values is
+                                              likely worthwhile when writing out already in-memory data, such as from
+                                              a cached data frame.
+   :param maximum_buffered_record_batches_per_stream: See
+                                                      ``maximum_parallel_row_group_writers``.
+   :param column_specific_options: Overrides options for specific columns. If a column
+                                   is not a part of this dictionary, it will use the parameters provided
+                                   here.
+
 
    .. py:attribute:: allow_single_file_parallelism
       :value: True
@@ -1630,6 +1660,23 @@ Package Contents
    See the :py:class:`RecordBatchStream` iterator for generating this class.
 
 
+   .. py:method:: __arrow_c_array__(requested_schema: object | None = None) -> tuple[object, object]
+
+      Export the record batch via the Arrow C Data Interface.
+
+      This allows zero-copy interchange with libraries that support the
+      `Arrow PyCapsule interface <https://arrow.apache.org/docs/format/
+      CDataInterface/PyCapsuleInterface.html>`_.
+
+      :param requested_schema: Attempt to provide the record batch using this
+                               schema. Only straightforward projections such as column
+                               selection or reordering are applied.
+
+      :returns: Two Arrow PyCapsule objects representing the ``ArrowArray`` and
+                ``ArrowSchema``.
+
+
+
    .. py:method:: to_pyarrow() -> pyarrow.RecordBatch
 
       Convert to :py:class:`pa.RecordBatch`.
@@ -1651,7 +1698,7 @@ Package Contents
 
    .. py:method:: __aiter__() -> typing_extensions.Self
 
-      Async iterator function.
+      Return an asynchronous iterator over record batches.
 
 
 
@@ -1659,19 +1706,19 @@ Package Contents
       :async:
 
 
-      Async iterator function.
+      Return the next :py:class:`RecordBatch` in the stream asynchronously.
 
 
 
    .. py:method:: __iter__() -> typing_extensions.Self
 
-      Iterator function.
+      Return an iterator over record batches.
 
 
 
    .. py:method:: __next__() -> RecordBatch
 
-      Iterator function.
+      Return the next :py:class:`RecordBatch` in the stream.
 
 
 
@@ -1850,97 +1897,6 @@ Package Contents
    .. py:attribute:: options_internal
 
 
-.. py:class:: ScalarUDF(name: str, func: Callable[Ellipsis, _R], input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: _R, volatility: Volatility | str)
-
-   Class for performing scalar user-defined functions (UDF).
-
-   Scalar UDFs operate on a row by row basis. See also :py:class:`AggregateUDF` for
-   operating on a group of rows.
-
-   Instantiate a scalar user-defined function (UDF).
-
-   See helper method :py:func:`udf` for argument details.
-
-
-   .. py:method:: __call__(*args: datafusion.expr.Expr) -> datafusion.expr.Expr
-
-      Execute the UDF.
-
-      This function is not typically called by an end user. These calls will
-      occur during the evaluation of the dataframe.
-
-
-
-   .. py:method:: __repr__() -> str
-
-      Print a string representation of the Scalar UDF.
-
-
-
-   .. py:method:: from_pycapsule(func: ScalarUDFExportable) -> ScalarUDF
-      :staticmethod:
-
-
-      Create a Scalar UDF from ScalarUDF PyCapsule object.
-
-      This function will instantiate a Scalar UDF that uses a DataFusion
-      ScalarUDF that is exported via the FFI bindings.
-
-
-
-   .. py:method:: udf(input_types: list[pyarrow.DataType], return_type: _R, volatility: Volatility | str, name: Optional[str] = None) -> Callable[Ellipsis, ScalarUDF]
-                  udf(func: Callable[Ellipsis, _R], input_types: list[pyarrow.DataType], return_type: _R, volatility: Volatility | str, name: Optional[str] = None) -> ScalarUDF
-                  udf(func: ScalarUDFExportable) -> ScalarUDF
-      :staticmethod:
-
-
-      Create a new User-Defined Function (UDF).
-
-      This class can be used both as either a function or a decorator.
-
-      Usage:
-          - As a function: ``udf(func, input_types, return_type, volatility, name)``.
-          - As a decorator: ``@udf(input_types, return_type, volatility, name)``.
-            When used a decorator, do **not** pass ``func`` explicitly.
-
-      :param func: Only needed when calling as a function.
-                   Skip this argument when using `udf` as a decorator. If you have a Rust
-                   backed ScalarUDF within a PyCapsule, you can pass this parameter
-                   and ignore the rest. They will be determined directly from the
-                   underlying function. See the online documentation for more information.
-      :type func: Callable, optional
-      :param input_types: The data types of the arguments
-                          to ``func``. This list must be of the same length as the number of
-                          arguments.
-      :type input_types: list[pa.DataType]
-      :param return_type: The data type of the return value from the function.
-      :type return_type: _R
-      :param volatility: See `Volatility` for allowed values.
-      :type volatility: Volatility | str
-      :param name: A descriptive name for the function.
-      :type name: Optional[str]
-
-      :returns: A user-defined function that can be used in SQL expressions,
-                data aggregation, or window function calls.
-
-      Example: Using ``udf`` as a function::
-
-          def double_func(x):
-              return x * 2
-          double_udf = udf(double_func, [pa.int32()], pa.int32(),
-          "volatile", "double_it")
-
-      Example: Using ``udf`` as a decorator::
-
-          @udf([pa.int32()], pa.int32(), "volatile", "double_it")
-          def double_udf(x):
-              return x * 2
-
-
-
-   .. py:attribute:: _udf
-
-
 .. py:class:: SessionConfig(config_options: dict[str, str] | None = None)
 
    Session configuration options.
@@ -2097,11 +2053,20 @@ Package Contents
    .. py:attribute:: config_internal
 
 
-.. py:class:: Table(table: datafusion._internal.catalog.RawTable)
+.. py:class:: Table(table: Table | datafusion.context.TableProviderExportable | datafusion.DataFrame | pyarrow.dataset.Dataset, ctx: datafusion.SessionContext | None = None)
 
-   DataFusion table.
+   A DataFusion table.
 
-   This constructor is not typically called by the end user.
+   Internally we currently support the following types of tables:
+
+   - Tables created using built-in DataFusion methods, such as
+     reading from CSV or Parquet
+   - pyarrow datasets
+   - DataFusion DataFrames, which will be converted into a view
+   - Externally provided tables implemented with the FFI PyCapsule
+     interface (advanced)
+
+   Constructor.
 
 
    .. py:method:: __repr__() -> str
@@ -2114,10 +2079,18 @@ Package Contents
       :staticmethod:
 
 
-      Turn a pyarrow Dataset into a Table.
+      Turn a :mod:`pyarrow.dataset` ``Dataset`` into a :class:`Table`.
+
+
+
+   .. py:attribute:: __slots__
+      :value: ('_inner',)
 
 
 
+   .. py:attribute:: _inner
+
+
    .. py:property:: kind
       :type: str
 
@@ -2132,63 +2105,7 @@ Package Contents
       Returns the schema associated with this table.
 
 
-   .. py:attribute:: table
-
-
-.. py:class:: TableFunction(name: str, func: Callable[[], any])
-
-   Class for performing user-defined table functions (UDTF).
-
-   Table functions generate new table providers based on the
-   input expressions.
-
-   Instantiate a user-defined table function (UDTF).
-
-   See :py:func:`udtf` for a convenience function and argument
-   descriptions.
-
-
-   .. py:method:: __call__(*args: datafusion.expr.Expr) -> Any
-
-      Execute the UDTF and return a table provider.
-
-
-
-   .. py:method:: __repr__() -> str
-
-      User printable representation.
-
-
-
-   .. py:method:: _create_table_udf(func: Callable[Ellipsis, Any], name: str) -> TableFunction
-      :staticmethod:
-
-
-      Create a TableFunction instance from function arguments.
-
-
-
-   .. py:method:: _create_table_udf_decorator(name: Optional[str] = None) -> Callable[[Callable[[], WindowEvaluator]], Callable[Ellipsis, datafusion.expr.Expr]]
-      :staticmethod:
-
-
-      Create a decorator for a WindowUDF.
-
-
-
-   .. py:method:: udtf(name: str) -> Callable[Ellipsis, Any]
-                  udtf(func: Callable[[], Any], name: str) -> TableFunction
-      :staticmethod:
-
-
-      Create a new User-Defined Table Function (UDTF).
-
-
-
-   .. py:attribute:: _udtf
-
-
-.. py:class:: WindowFrame(units: str, start_bound: Optional[Any], end_bound: Optional[Any])
+.. py:class:: WindowFrame(units: str, start_bound: Any | None, end_bound: Any | None)
 
    Defines a window frame for performing window operations.
 
@@ -2230,134 +2147,6 @@ Package Contents
    .. py:attribute:: window_frame
 
 
-.. py:class:: WindowUDF(name: str, func: Callable[[], WindowEvaluator], input_types: list[pyarrow.DataType], return_type: pyarrow.DataType, volatility: Volatility | str)
-
-   Class for performing window user-defined functions (UDF).
-
-   Window UDFs operate on a partition of rows. See
-   also :py:class:`ScalarUDF` for operating on a row by row basis.
-
-   Instantiate a user-defined window function (UDWF).
-
-   See :py:func:`udwf` for a convenience function and argument
-   descriptions.
-
-
-   .. py:method:: __call__(*args: datafusion.expr.Expr) -> datafusion.expr.Expr
-
-      Execute the UDWF.
-
-      This function is not typically called by an end user. These calls will
-      occur during the evaluation of the dataframe.
-
-
-
-   .. py:method:: __repr__() -> str
-
-      Print a string representation of the Window UDF.
-
-
-
-   .. py:method:: _create_window_udf(func: Callable[[], WindowEvaluator], input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, volatility: Volatility | str, name: Optional[str] = None) -> WindowUDF
-      :staticmethod:
-
-
-      Create a WindowUDF instance from function arguments.
-
-
-
-   .. py:method:: _create_window_udf_decorator(input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, volatility: Volatility | str, name: Optional[str] = None) -> Callable[[Callable[[], WindowEvaluator]], Callable[Ellipsis, datafusion.expr.Expr]]
-      :staticmethod:
-
-
-      Create a decorator for a WindowUDF.
-
-
-
-   .. py:method:: _get_default_name(func: Callable) -> str
-      :staticmethod:
-
-
-      Get the default name for a function based on its attributes.
-
-
-
-   .. py:method:: _normalize_input_types(input_types: pyarrow.DataType | list[pyarrow.DataType]) -> list[pyarrow.DataType]
-      :staticmethod:
-
-
-      Convert a single DataType to a list if needed.
-
-
-
-   .. py:method:: from_pycapsule(func: WindowUDFExportable) -> WindowUDF
-      :staticmethod:
-
-
-      Create a Window UDF from WindowUDF PyCapsule object.
-
-      This function will instantiate a Window UDF that uses a DataFusion
-      WindowUDF that is exported via the FFI bindings.
-
-
-
-   .. py:method:: udwf(input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, volatility: Volatility | str, name: Optional[str] = None) -> Callable[Ellipsis, WindowUDF]
-                  udwf(func: Callable[[], WindowEvaluator], input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, volatility: Volatility | str, name: Optional[str] = None) -> WindowUDF
-      :staticmethod:
-
-
-      Create a new User-Defined Window Function (UDWF).
-
-      This class can be used both as either a function or a decorator.
-
-      Usage:
-          - As a function: ``udwf(func, input_types, return_type, volatility, name)``.
-          - As a decorator: ``@udwf(input_types, return_type, volatility, name)``.
-            When using ``udwf`` as a decorator, do not pass ``func`` explicitly.
-
-      Function example::
-
-          import pyarrow as pa
-
-          class BiasedNumbers(WindowEvaluator):
-              def __init__(self, start: int = 0) -> None:
-                  self.start = start
-
-              def evaluate_all(self, values: list[pa.Array],
-                  num_rows: int) -> pa.Array:
-                  return pa.array([self.start + i for i in range(num_rows)])
-
-          def bias_10() -> BiasedNumbers:
-              return BiasedNumbers(10)
-
-          udwf1 = udwf(BiasedNumbers, pa.int64(), pa.int64(), "immutable")
-          udwf2 = udwf(bias_10, pa.int64(), pa.int64(), "immutable")
-          udwf3 = udwf(lambda: BiasedNumbers(20), pa.int64(), pa.int64(), "immutable")
-
-
-      Decorator example::
-
-          @udwf(pa.int64(), pa.int64(), "immutable")
-          def biased_numbers() -> BiasedNumbers:
-              return BiasedNumbers(10)
-
-      :param func: Only needed when calling as a function. Skip this argument when
-                   using ``udwf`` as a decorator. If you have a Rust backed WindowUDF
-                   within a PyCapsule, you can pass this parameter and ignore the rest.
-                   They will be determined directly from the underlying function. See
-                   the online documentation for more information.
-      :param input_types: The data types of the arguments.
-      :param return_type: The data type of the return value.
-      :param volatility: See :py:class:`Volatility` for allowed values.
-      :param name: A descriptive name for the function.
-
-      :returns: A user-defined window function that can be used in window function calls.
-
-
-
-   .. py:attribute:: _udwf
-
-
 .. py:function:: configure_formatter(**kwargs: Any) -> None
 
    Configure the global DataFrame HTML formatter.
@@ -2381,12 +2170,12 @@ Package Contents
    ... )
 
 
-.. py:function:: lit(value) -> expr.Expr
+.. py:function:: lit(value: Any) -> expr.Expr
 
    Create a literal expression.
 
 
-.. py:function:: literal(value) -> expr.Expr
+.. py:function:: literal(value: Any) -> expr.Expr
 
    Create a literal expression.
 
@@ -2407,7 +2196,7 @@ Package Contents
    :returns: DataFrame representation of the read Avro file
 
 
-.. py:function:: read_csv(path: str | pathlib.Path | list[str] | list[pathlib.Path], schema: pyarrow.Schema | None = None, has_header: bool = True, delimiter: str = ',', schema_infer_max_records: int = 1000, file_extension: str = '.csv', table_partition_cols: list[tuple[str, str | pyarrow.DataType]] | None = None, file_compression_type: str | None = None) -> datafusion.dataframe.DataFrame
+.. py:function:: read_csv(path: str | pathlib.Path | list[str] | list[pathlib.Path], schema: pyarrow.Schema | None = None, has_header: bool = True, delimiter: str = ',', schema_infer_max_records: int = 1000, file_extension: str = '.csv', table_partition_cols: list[tuple[str, str | pyarrow.DataType]] | None = None, file_compression_type: str | None = None, options: datafusion.options.CsvReadOptions | None = None) -> datafusion.dataframe.DataFrame
 
    Read a CSV data source.
 
@@ -2428,6 +2217,8 @@ Package Contents
                           selected for data input.
    :param table_partition_cols: Partition columns.
    :param file_compression_type: File compression type.
+   :param options: Set advanced options for CSV reading. This cannot be
+                   combined with any of the other options in this method.
 
    :returns: DataFrame representation of the read CSV files
 
@@ -2485,11 +2276,3 @@ Package Contents
 .. py:data:: column
    :type:  Col
 
-.. py:data:: udaf
-
-.. py:data:: udf
-
-.. py:data:: udtf
-
-.. py:data:: udwf
-
diff --git a/_sources/autoapi/datafusion/io/index.rst.txt b/_sources/autoapi/datafusion/io/index.rst.txt
index bb80c1cd..453d6fa0 100644
--- a/_sources/autoapi/datafusion/io/index.rst.txt
+++ b/_sources/autoapi/datafusion/io/index.rst.txt
@@ -39,7 +39,7 @@ Module Contents
    :returns: DataFrame representation of the read Avro file
 
 
-.. py:function:: read_csv(path: str | pathlib.Path | list[str] | list[pathlib.Path], schema: pyarrow.Schema | None = None, has_header: bool = True, delimiter: str = ',', schema_infer_max_records: int = 1000, file_extension: str = '.csv', table_partition_cols: list[tuple[str, str | pyarrow.DataType]] | None = None, file_compression_type: str | None = None) -> datafusion.dataframe.DataFrame
+.. py:function:: read_csv(path: str | pathlib.Path | list[str] | list[pathlib.Path], schema: pyarrow.Schema | None = None, has_header: bool = True, delimiter: str = ',', schema_infer_max_records: int = 1000, file_extension: str = '.csv', table_partition_cols: list[tuple[str, str | pyarrow.DataType]] | None = None, file_compression_type: str | None = None, options: datafusion.options.CsvReadOptions | None = None) -> datafusion.dataframe.DataFrame
 
    Read a CSV data source.
 
@@ -60,6 +60,8 @@ Module Contents
                           selected for data input.
    :param table_partition_cols: Partition columns.
    :param file_compression_type: File compression type.
+   :param options: Set advanced options for CSV reading. This cannot be
+                   combined with any of the other options in this method.
 
    :returns: DataFrame representation of the read CSV files
 
diff --git a/_sources/autoapi/datafusion/options/index.rst.txt b/_sources/autoapi/datafusion/options/index.rst.txt
new file mode 100644
index 00000000..25a6d646
--- /dev/null
+++ b/_sources/autoapi/datafusion/options/index.rst.txt
@@ -0,0 +1,242 @@
+datafusion.options
+==================
+
+.. py:module:: datafusion.options
+
+.. autoapi-nested-parse::
+
+   Options for reading various file formats.
+
+
+
+Classes
+-------
+
+.. autoapisummary::
+
+   datafusion.options.CsvReadOptions
+
+
+Module Contents
+---------------
+
+.. py:class:: CsvReadOptions(*, has_header: bool = True, delimiter: str = ',', quote: str = '"', terminator: str | None = None, escape: str | None = None, comment: str | None = None, newlines_in_values: bool = False, schema: pyarrow.Schema | None = None, schema_infer_max_records: int = DEFAULT_MAX_INFER_SCHEMA, file_extension: str = '.csv', table_partition_cols: list[tuple[str, pyarrow.DataType]] | None = None, file_compression_type: str = '', file_sort_order: list[list[datafusion.expr.S [...]
+
+   Options for reading CSV files.
+
+   This class provides a builder pattern for configuring CSV reading options.
+   All methods starting with ``with_`` return ``self`` to allow method chaining.
+
+   Initialize CsvReadOptions.
+
+   :param has_header: Does the CSV file have a header row? If schema inference
+                      is run on a file with no headers, default column names are created.
+   :param delimiter: Column delimiter character. Must be a single ASCII character.
+   :param quote: Quote character for fields containing delimiters or newlines.
+                 Must be a single ASCII character.
+   :param terminator: Optional line terminator character. If ``None``, uses CRLF.
+                      Must be a single ASCII character.
+   :param escape: Optional escape character for quotes. Must be a single ASCII
+                  character.
+   :param comment: If specified, lines beginning with this character are ignored.
+                   Must be a single ASCII character.
+   :param newlines_in_values: Whether newlines in quoted values are supported.
+                              Parsing newlines in quoted values may be affected by execution
+                              behavior such as parallel file scanning. Setting this to ``True``
+                              ensures that newlines in values are parsed successfully, which may
+                              reduce performance.
+   :param schema: Optional PyArrow schema representing the CSV files. If ``None``,
+                  the CSV reader will try to infer it based on data in the file.
+   :param schema_infer_max_records: Maximum number of rows to read from CSV files
+                                    for schema inference if needed.
+   :param file_extension: File extension; only files with this extension are
+                          selected for data input.
+   :param table_partition_cols: Partition columns as a list of tuples of
+                                (column_name, data_type).
+   :param file_compression_type: File compression type. Supported values are
+                                 ``"gzip"``, ``"bz2"``, ``"xz"``, ``"zstd"``, or empty string for
+                                 uncompressed.
+   :param file_sort_order: Optional sort order of the files as a list of sort
+                           expressions per file.
+   :param null_regex: Optional regex pattern to match null values in the CSV.
+   :param truncated_rows: Whether to allow truncated rows when parsing. By default
+                          this is ``False`` and will error if the CSV rows have different
+                          lengths. When set to ``True``, it will allow records with less than
+                          the expected number of columns and fill the missing columns with
+                          nulls. If the record's schema is not nullable, it will still return
+                          an error.
+
+
+   .. py:method:: to_inner() -> datafusion._internal.options.CsvReadOptions
+
+      Convert this object into the underlying Rust structure.
+
+      This is intended for internal use only.
+
+
+
+   .. py:method:: with_comment(comment: str | None) -> CsvReadOptions
+
+      Configure the comment character.
+
+
+
+   .. py:method:: with_delimiter(delimiter: str) -> CsvReadOptions
+
+      Configure the column delimiter.
+
+
+
+   .. py:method:: with_escape(escape: str | None) -> CsvReadOptions
+
+      Configure the escape character.
+
+
+
+   .. py:method:: with_file_compression_type(file_compression_type: str) -> CsvReadOptions
+
+      Configure file compression type.
+
+
+
+   .. py:method:: with_file_extension(file_extension: str) -> CsvReadOptions
+
+      Configure the file extension filter.
+
+
+
+   .. py:method:: with_file_sort_order(file_sort_order: list[list[datafusion.expr.SortExpr]]) -> CsvReadOptions
+
+      Configure file sort order.
+
+
+
+   .. py:method:: with_has_header(has_header: bool) -> CsvReadOptions
+
+      Configure whether the CSV has a header row.
+
+
+
+   .. py:method:: with_newlines_in_values(newlines_in_values: bool) -> CsvReadOptions
+
+      Configure whether newlines in values are supported.
+
+
+
+   .. py:method:: with_null_regex(null_regex: str | None) -> CsvReadOptions
+
+      Configure null value regex pattern.
+
+
+
+   .. py:method:: with_quote(quote: str) -> CsvReadOptions
+
+      Configure the quote character.
+
+
+
+   .. py:method:: with_schema(schema: pyarrow.Schema | None) -> CsvReadOptions
+
+      Configure the schema.
+
+
+
+   .. py:method:: with_schema_infer_max_records(schema_infer_max_records: int) -> CsvReadOptions
+
+      Configure maximum records for schema inference.
+
+
+
+   .. py:method:: with_table_partition_cols(table_partition_cols: list[tuple[str, pyarrow.DataType]]) -> CsvReadOptions
+
+      Configure table partition columns.
+
+
+
+   .. py:method:: with_terminator(terminator: str | None) -> CsvReadOptions
+
+      Configure the line terminator character.
+
+
+
+   .. py:method:: with_truncated_rows(truncated_rows: bool) -> CsvReadOptions
+
+      Configure whether to allow truncated rows.
+
+
+
+   .. py:attribute:: comment
+      :value: None
+
+
+
+   .. py:attribute:: delimiter
+      :value: ','
+
+
+
+   .. py:attribute:: escape
+      :value: None
+
+
+
+   .. py:attribute:: file_compression_type
+      :value: ''
+
+
+
+   .. py:attribute:: file_extension
+      :value: '.csv'
+
+
+
+   .. py:attribute:: file_sort_order
+      :value: []
+
+
+
+   .. py:attribute:: has_header
+      :value: True
+
+
+
+   .. py:attribute:: newlines_in_values
+      :value: False
+
+
+
+   .. py:attribute:: null_regex
+      :value: None
+
+
+
+   .. py:attribute:: quote
+      :value: '"'
+
+
+
+   .. py:attribute:: schema
+      :value: None
+
+
+
+   .. py:attribute:: schema_infer_max_records
+      :value: 1000
+
+
+
+   .. py:attribute:: table_partition_cols
+      :value: []
+
+
+
+   .. py:attribute:: terminator
+      :value: None
+
+
+
+   .. py:attribute:: truncated_rows
+      :value: False
+
+
+
diff --git a/_sources/autoapi/datafusion/record_batch/index.rst.txt b/_sources/autoapi/datafusion/record_batch/index.rst.txt
index ae91b4c6..f51a7e66 100644
--- a/_sources/autoapi/datafusion/record_batch/index.rst.txt
+++ b/_sources/autoapi/datafusion/record_batch/index.rst.txt
@@ -33,6 +33,23 @@ Module Contents
    See the :py:class:`RecordBatchStream` iterator for generating this class.
 
 
+   .. py:method:: __arrow_c_array__(requested_schema: object | None = None) -> tuple[object, object]
+
+      Export the record batch via the Arrow C Data Interface.
+
+      This allows zero-copy interchange with libraries that support the
+      `Arrow PyCapsule interface <https://arrow.apache.org/docs/format/
+      CDataInterface/PyCapsuleInterface.html>`_.
+
+      :param requested_schema: Attempt to provide the record batch using this
+                               schema. Only straightforward projections such as column
+                               selection or reordering are applied.
+
+      :returns: Two Arrow PyCapsule objects representing the ``ArrowArray`` and
+                ``ArrowSchema``.
+
+
+
    .. py:method:: to_pyarrow() -> pyarrow.RecordBatch
 
       Convert to :py:class:`pa.RecordBatch`.
@@ -54,7 +71,7 @@ Module Contents
 
    .. py:method:: __aiter__() -> typing_extensions.Self
 
-      Async iterator function.
+      Return an asynchronous iterator over record batches.
 
 
 
@@ -62,19 +79,19 @@ Module Contents
       :async:
 
 
-      Async iterator function.
+      Return the next :py:class:`RecordBatch` in the stream asynchronously.
 
 
 
    .. py:method:: __iter__() -> typing_extensions.Self
 
-      Iterator function.
+      Return an iterator over record batches.
 
 
 
    .. py:method:: __next__() -> RecordBatch
 
-      Iterator function.
+      Return the next :py:class:`RecordBatch` in the stream.
 
 
 
diff --git a/_sources/autoapi/datafusion/user_defined/index.rst.txt b/_sources/autoapi/datafusion/user_defined/index.rst.txt
index 591d4cda..83f52e66 100644
--- a/_sources/autoapi/datafusion/user_defined/index.rst.txt
+++ b/_sources/autoapi/datafusion/user_defined/index.rst.txt
@@ -38,6 +38,16 @@ Classes
    datafusion.user_defined.WindowUDFExportable
 
 
+Functions
+---------
+
+.. autoapisummary::
+
+   datafusion.user_defined._is_pycapsule
+   datafusion.user_defined.data_type_or_field_to_field
+   datafusion.user_defined.data_types_or_fields_to_field_list
+
+
 Module Contents
 ---------------
 
@@ -78,7 +88,8 @@ Module Contents
 
 
 
-.. py:class:: AggregateUDF(name: str, accumulator: Callable[[], Accumulator], input_types: list[pyarrow.DataType], return_type: pyarrow.DataType, state_type: list[pyarrow.DataType], volatility: Volatility | str)
+.. py:class:: AggregateUDF(name: str, accumulator: collections.abc.Callable[[], Accumulator], input_types: list[pyarrow.DataType], return_type: pyarrow.DataType, state_type: list[pyarrow.DataType], volatility: Volatility | str)
+              AggregateUDF(name: str, accumulator: AggregateUDFExportable, input_types: None = ..., return_type: None = ..., state_type: None = ..., volatility: None = ...)
 
    Class for performing scalar user-defined functions (UDF).
 
@@ -106,7 +117,7 @@ Module Contents
 
 
 
-   .. py:method:: from_pycapsule(func: AggregateUDFExportable) -> AggregateUDF
+   .. py:method:: from_pycapsule(func: AggregateUDFExportable | _typeshed.CapsuleType) -> AggregateUDF
       :staticmethod:
 
 
@@ -117,8 +128,10 @@ Module Contents
 
 
 
-   .. py:method:: udaf(input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, state_type: list[pyarrow.DataType], volatility: Volatility | str, name: Optional[str] = None) -> Callable[Ellipsis, AggregateUDF]
-                  udaf(accum: Callable[[], Accumulator], input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, state_type: list[pyarrow.DataType], volatility: Volatility | str, name: Optional[str] = None) -> AggregateUDF
+   .. py:method:: udaf(input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, state_type: list[pyarrow.DataType], volatility: Volatility | str, name: str | None = None) -> collections.abc.Callable[Ellipsis, AggregateUDF]
+                  udaf(accum: collections.abc.Callable[[], Accumulator], input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, state_type: list[pyarrow.DataType], volatility: Volatility | str, name: str | None = None) -> AggregateUDF
+                  udaf(accum: AggregateUDFExportable) -> AggregateUDF
+                  udaf(accum: _typeshed.CapsuleType) -> AggregateUDF
       :staticmethod:
 
 
@@ -206,7 +219,7 @@ Module Contents
    .. py:method:: __datafusion_aggregate_udf__() -> object
 
 
-.. py:class:: ScalarUDF(name: str, func: Callable[Ellipsis, _R], input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: _R, volatility: Volatility | str)
+.. py:class:: ScalarUDF(name: str, func: collections.abc.Callable[Ellipsis, _R], input_fields: list[pyarrow.Field], return_field: _R, volatility: Volatility | str)
 
    Class for performing scalar user-defined functions (UDF).
 
@@ -244,8 +257,8 @@ Module Contents
 
 
 
-   .. py:method:: udf(input_types: list[pyarrow.DataType], return_type: _R, volatility: Volatility | str, name: Optional[str] = None) -> Callable[Ellipsis, ScalarUDF]
-                  udf(func: Callable[Ellipsis, _R], input_types: list[pyarrow.DataType], return_type: _R, volatility: Volatility | str, name: Optional[str] = None) -> ScalarUDF
+   .. py:method:: udf(input_fields: collections.abc.Sequence[pyarrow.DataType | pyarrow.Field] | pyarrow.DataType | pyarrow.Field, return_field: pyarrow.DataType | pyarrow.Field, volatility: Volatility | str, name: str | None = None) -> collections.abc.Callable[Ellipsis, ScalarUDF]
+                  udf(func: collections.abc.Callable[Ellipsis, _R], input_fields: collections.abc.Sequence[pyarrow.DataType | pyarrow.Field] | pyarrow.DataType | pyarrow.Field, return_field: pyarrow.DataType | pyarrow.Field, volatility: Volatility | str, name: str | None = None) -> ScalarUDF
                   udf(func: ScalarUDFExportable) -> ScalarUDF
       :staticmethod:
 
@@ -255,22 +268,26 @@ Module Contents
       This class can be used both as either a function or a decorator.
 
       Usage:
-          - As a function: ``udf(func, input_types, return_type, volatility, name)``.
-          - As a decorator: ``@udf(input_types, return_type, volatility, name)``.
+          - As a function: ``udf(func, input_fields, return_field, volatility, name)``.
+          - As a decorator: ``@udf(input_fields, return_field, volatility, name)``.
             When used a decorator, do **not** pass ``func`` explicitly.
 
+      In lieu of passing a PyArrow Field, you can pass a DataType for simplicity.
+      When you do so, it will be assumed that the nullability of the inputs and
+      output are True and that they have no metadata.
+
       :param func: Only needed when calling as a function.
                    Skip this argument when using `udf` as a decorator. If you have a Rust
                    backed ScalarUDF within a PyCapsule, you can pass this parameter
                    and ignore the rest. They will be determined directly from the
                    underlying function. See the online documentation for more information.
       :type func: Callable, optional
-      :param input_types: The data types of the arguments
-                          to ``func``. This list must be of the same length as the number of
-                          arguments.
-      :type input_types: list[pa.DataType]
-      :param return_type: The data type of the return value from the function.
-      :type return_type: _R
+      :param input_fields: The data types or Fields
+                           of the arguments to ``func``. This list must be of the same length
+                           as the number of arguments.
+      :type input_fields: list[pa.Field | pa.DataType]
+      :param return_field: The field of the return value from the function.
+      :type return_field: _R
       :param volatility: See `Volatility` for allowed values.
       :type volatility: Volatility | str
       :param name: A descriptive name for the function.
@@ -308,7 +325,7 @@ Module Contents
    .. py:method:: __datafusion_scalar_udf__() -> object
 
 
-.. py:class:: TableFunction(name: str, func: Callable[[], any])
+.. py:class:: TableFunction(name: str, func: collections.abc.Callable[[], any], ctx: datafusion.SessionContext | None = None)
 
    Class for performing user-defined table functions (UDTF).
 
@@ -333,7 +350,7 @@ Module Contents
 
 
 
-   .. py:method:: _create_table_udf(func: Callable[Ellipsis, Any], name: str) -> TableFunction
+   .. py:method:: _create_table_udf(func: collections.abc.Callable[Ellipsis, Any], name: str) -> TableFunction
       :staticmethod:
 
 
@@ -341,7 +358,7 @@ Module Contents
 
 
 
-   .. py:method:: _create_table_udf_decorator(name: Optional[str] = None) -> Callable[[Callable[[], WindowEvaluator]], Callable[Ellipsis, datafusion.expr.Expr]]
+   .. py:method:: _create_table_udf_decorator(name: str | None = None) -> collections.abc.Callable[[collections.abc.Callable[[], WindowEvaluator]], collections.abc.Callable[Ellipsis, datafusion.expr.Expr]]
       :staticmethod:
 
 
@@ -349,8 +366,8 @@ Module Contents
 
 
 
-   .. py:method:: udtf(name: str) -> Callable[Ellipsis, Any]
-                  udtf(func: Callable[[], Any], name: str) -> TableFunction
+   .. py:method:: udtf(name: str) -> collections.abc.Callable[Ellipsis, Any]
+                  udtf(func: collections.abc.Callable[[], Any], name: str) -> TableFunction
       :staticmethod:
 
 
@@ -361,7 +378,7 @@ Module Contents
    .. py:attribute:: _udtf
 
 
-.. py:class:: Volatility(*args, **kwds)
+.. py:class:: Volatility
 
    Bases: :py:obj:`enum.Enum`
 
@@ -589,7 +606,7 @@ Module Contents
 
 
 
-.. py:class:: WindowUDF(name: str, func: Callable[[], WindowEvaluator], input_types: list[pyarrow.DataType], return_type: pyarrow.DataType, volatility: Volatility | str)
+.. py:class:: WindowUDF(name: str, func: collections.abc.Callable[[], WindowEvaluator], input_types: list[pyarrow.DataType], return_type: pyarrow.DataType, volatility: Volatility | str)
 
    Class for performing window user-defined functions (UDF).
 
@@ -617,7 +634,7 @@ Module Contents
 
 
 
-   .. py:method:: _create_window_udf(func: Callable[[], WindowEvaluator], input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, volatility: Volatility | str, name: Optional[str] = None) -> WindowUDF
+   .. py:method:: _create_window_udf(func: collections.abc.Callable[[], WindowEvaluator], input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, volatility: Volatility | str, name: str | None = None) -> WindowUDF
       :staticmethod:
 
 
@@ -625,7 +642,7 @@ Module Contents
 
 
 
-   .. py:method:: _create_window_udf_decorator(input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, volatility: Volatility | str, name: Optional[str] = None) -> Callable[[Callable[[], WindowEvaluator]], Callable[Ellipsis, datafusion.expr.Expr]]
+   .. py:method:: _create_window_udf_decorator(input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, volatility: Volatility | str, name: str | None = None) -> collections.abc.Callable[[collections.abc.Callable[[], WindowEvaluator]], collections.abc.Callable[Ellipsis, datafusion.expr.Expr]]
       :staticmethod:
 
 
@@ -633,7 +650,7 @@ Module Contents
 
 
 
-   .. py:method:: _get_default_name(func: Callable) -> str
+   .. py:method:: _get_default_name(func: collections.abc.Callable) -> str
       :staticmethod:
 
 
@@ -660,8 +677,8 @@ Module Contents
 
 
 
-   .. py:method:: udwf(input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, volatility: Volatility | str, name: Optional[str] = None) -> Callable[Ellipsis, WindowUDF]
-                  udwf(func: Callable[[], WindowEvaluator], input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, volatility: Volatility | str, name: Optional[str] = None) -> WindowUDF
+   .. py:method:: udwf(input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, volatility: Volatility | str, name: str | None = None) -> collections.abc.Callable[Ellipsis, WindowUDF]
+                  udwf(func: collections.abc.Callable[[], WindowEvaluator], input_types: pyarrow.DataType | list[pyarrow.DataType], return_type: pyarrow.DataType, volatility: Volatility | str, name: str | None = None) -> WindowUDF
       :staticmethod:
 
 
@@ -728,6 +745,21 @@ Module Contents
    .. py:method:: __datafusion_window_udf__() -> object
 
 
+.. py:function:: _is_pycapsule(value: object) -> TypeGuard[_typeshed.CapsuleType]
+
+   Return ``True`` when ``value`` is a CPython ``PyCapsule``.
+
+
+.. py:function:: data_type_or_field_to_field(value: pyarrow.DataType | pyarrow.Field, name: str) -> pyarrow.Field
+
+   Helper function to return a Field from either a Field or DataType.
+
+
+.. py:function:: data_types_or_fields_to_field_list(inputs: collections.abc.Sequence[pyarrow.Field | pyarrow.DataType] | pyarrow.Field | pyarrow.DataType) -> list[pyarrow.Field]
+
+   Helper function to return a list of Fields.
+
+
 .. py:data:: _R
 
 .. py:data:: udaf
diff --git a/_sources/contributor-guide/ffi.rst.txt b/_sources/contributor-guide/ffi.rst.txt
index e201db71..5006b0ca 100644
--- a/_sources/contributor-guide/ffi.rst.txt
+++ b/_sources/contributor-guide/ffi.rst.txt
@@ -15,6 +15,8 @@
 .. specific language governing permissions and limitations
 .. under the License.
 
+.. _ffi:
+
 Python Extensions
 =================
 
@@ -34,7 +36,7 @@ as performant as possible and to utilize the features of DataFusion, you may dec
 your source in Rust and then expose it through `PyO3 <https://pyo3.rs>`_ as a Python library.
 
 At first glance, it may appear the best way to do this is to add the ``datafusion-python``
-crate as a dependency, provide a ``PyTable``, and then to register it with the 
+crate as a dependency, provide a ``PyTable``, and then to register it with the
 ``SessionContext``. Unfortunately, this will not work.
 
 When you produce your code as a Python library and it needs to interact with the DataFusion
@@ -137,6 +139,67 @@ and you want to create a sharable FFI counterpart, you could write:
     let my_provider = MyTableProvider::default();
     let ffi_provider = FFI_TableProvider::new(Arc::new(my_provider), false, None);
 
+.. _ffi_pyclass_mutability:
+
+PyO3 class mutability guidelines
+--------------------------------
+
+PyO3 bindings should present immutable wrappers whenever a struct stores shared or
+interior-mutable state. In practice this means that any ``#[pyclass]`` containing an
+``Arc<RwLock<_>>`` or similar synchronized primitive must opt into ``#[pyclass(frozen)]``
+unless there is a compelling reason not to.
+
+The :mod:`datafusion` configuration helpers illustrate the preferred pattern. The
+``PyConfig`` class in :file:`src/config.rs` stores an ``Arc<RwLock<ConfigOptions>>`` and is
+explicitly frozen so callers interact with configuration state through provided methods
+instead of mutating the container directly:
+
+.. code-block:: rust
+
+    #[pyclass(name = "Config", module = "datafusion", subclass, frozen)]
+    #[derive(Clone)]
+    pub(crate) struct PyConfig {
+        config: Arc<RwLock<ConfigOptions>>,
+    }
+
+The same approach applies to execution contexts. ``PySessionContext`` in
+:file:`src/context.rs` stays frozen even though it shares mutable state internally via
+``SessionContext``. This ensures PyO3 tracks borrows correctly while Python-facing APIs
+clone the inner ``SessionContext`` or return new wrappers instead of mutating the
+existing instance in place:
+
+.. code-block:: rust
+
+    #[pyclass(frozen, name = "SessionContext", module = "datafusion", subclass)]
+    #[derive(Clone)]
+    pub struct PySessionContext {
+        pub ctx: SessionContext,
+    }
+
+Occasionally a type must remain mutable—for example when PyO3 attribute setters need to
+update fields directly. In these rare cases add an inline justification so reviewers and
+future contributors understand why ``frozen`` is unsafe to enable. ``DataTypeMap`` in
+:file:`src/common/data_type.rs` includes such a comment because PyO3 still needs to track
+field updates:
+
+.. code-block:: rust
+
+    // TODO: This looks like this needs pyo3 tracking so leaving unfrozen for now
+    #[derive(Debug, Clone)]
+    #[pyclass(name = "DataTypeMap", module = "datafusion.common", subclass)]
+    pub struct DataTypeMap {
+        #[pyo3(get, set)]
+        pub arrow_type: PyDataType,
+        #[pyo3(get, set)]
+        pub python_type: PythonType,
+        #[pyo3(get, set)]
+        pub sql_type: SqlType,
+    }
+
+When reviewers encounter a mutable ``#[pyclass]`` without a comment, they should request
+an explanation or ask that ``frozen`` be added. Keeping these wrappers frozen by default
+helps avoid subtle bugs stemming from PyO3's interior mutability tracking.
+
 If you were interfacing with a library that provided the above ``FFI_TableProvider`` and
 you needed to turn it back into an ``TableProvider``, you can turn it into a
 ``ForeignTableProvider`` with implements the ``TableProvider`` trait.
diff --git a/_sources/contributor-guide/introduction.rst.txt b/_sources/contributor-guide/introduction.rst.txt
index 6cb05c62..33c2b274 100644
--- a/_sources/contributor-guide/introduction.rst.txt
+++ b/_sources/contributor-guide/introduction.rst.txt
@@ -26,6 +26,10 @@ We welcome and encourage contributions of all kinds, such as:
 In addition to submitting new PRs, we have a healthy tradition of community members reviewing each other’s PRs.
 Doing so is a great way to help the community as well as get more familiar with Rust and the relevant codebases.
 
+Before opening a pull request that touches PyO3 bindings, please review the
+:ref:`PyO3 class mutability guidelines <ffi_pyclass_mutability>` so you can flag missing
+``#[pyclass(frozen)]`` annotations during development and review.
+
 How to develop
 --------------
 
diff --git a/_sources/index.rst.txt b/_sources/index.rst.txt
index adec60f4..134d41cb 100644
--- a/_sources/index.rst.txt
+++ b/_sources/index.rst.txt
@@ -77,6 +77,7 @@ Example
    user-guide/io/index
    user-guide/configuration
    user-guide/sql
+   user-guide/upgrade-guides
 
 
 .. _toc.contributor_guide:
diff --git a/_sources/user-guide/common-operations/expressions.rst.txt b/_sources/user-guide/common-operations/expressions.rst.txt
index 77607e88..7848b4ee 100644
--- a/_sources/user-guide/common-operations/expressions.rst.txt
+++ b/_sources/user-guide/common-operations/expressions.rst.txt
@@ -82,6 +82,13 @@ approaches.
     Indexing an element of an array via ``[]`` starts at index 0 whereas
     :py:func:`~datafusion.functions.array_element` starts at index 1.
 
+Starting in DataFusion 49.0.0 you can also create slices of array elements using
+slice syntax from Python.
+
+.. ipython:: python
+
+    df.select(col("a")[1:3].alias("second_two_elements"))
+
 To check if an array is empty, you can use the function :py:func:`datafusion.functions.array_empty` or `datafusion.functions.empty`.
 This function returns a boolean indicating whether the array is empty.
 
diff --git a/_sources/user-guide/common-operations/joins.rst.txt b/_sources/user-guide/common-operations/joins.rst.txt
index 40d92215..1d9d7038 100644
--- a/_sources/user-guide/common-operations/joins.rst.txt
+++ b/_sources/user-guide/common-operations/joins.rst.txt
@@ -101,4 +101,36 @@ the right table.
 
 .. ipython:: python
 
-    left.join(right, left_on="customer_id", right_on="id", how="anti")
\ No newline at end of file
+    left.join(right, left_on="customer_id", right_on="id", how="anti")
+
+Duplicate Keys
+--------------
+
+It is common to join two DataFrames on a common column name. Starting in
+version 51.0.0, ``datafusion-python``` will now coalesce on column with identical names by
+default. This reduces problems with ambiguous column selection after joins.
+You can disable this feature by setting the parameter ``coalesce_duplicate_keys``
+to ``False``.
+
+.. ipython:: python
+
+    left = ctx.from_pydict(
+        {
+            "id": [1, 2, 3],
+            "customer": ["Alice", "Bob", "Charlie"],
+        }
+    )
+
+    right = ctx.from_pylist([
+        {"id": 1, "name": "CityCabs"},
+        {"id": 2, "name": "MetroRide"},
+        {"id": 5, "name": "UrbanGo"},
+    ])
+
+    left.join(right, "id", how="inner")
+
+In contrast to the above example, if we wish to get both columns:
+
+.. ipython:: python
+
+    left.join(right, "id", how="inner", coalesce_duplicate_keys=False)
diff --git a/_sources/user-guide/common-operations/udf-and-udfa.rst.txt b/_sources/user-guide/common-operations/udf-and-udfa.rst.txt
index 0830fa81..d554e1e2 100644
--- a/_sources/user-guide/common-operations/udf-and-udfa.rst.txt
+++ b/_sources/user-guide/common-operations/udf-and-udfa.rst.txt
@@ -90,6 +90,17 @@ converting to Python objects to do the evaluation.
 
     df.select(col("a"), is_null_arr(col("a")).alias("is_null")).show()
 
+In this example we passed the PyArrow ``DataType`` when we defined the function
+by calling ``udf()``. If you need additional control, such as specifying
+metadata or nullability of the input or output, you can instead specify a
+PyArrow ``Field``.
+
+If you need to write a custom function but do not want to incur the performance
+cost of converting to Python objects and back, a more advanced approach is to
+write Rust based UDFs and to expose them to Python. There is an example in the
+`DataFusion blog <https://datafusion.apache.org/blog/2024/11/19/datafusion-python-udf-comparisons/>`_
+describing how to do this.
+
 Aggregate Functions
 -------------------
 
diff --git a/_sources/user-guide/common-operations/windows.rst.txt b/_sources/user-guide/common-operations/windows.rst.txt
index 82266854..c8fdea8f 100644
--- a/_sources/user-guide/common-operations/windows.rst.txt
+++ b/_sources/user-guide/common-operations/windows.rst.txt
@@ -31,7 +31,7 @@ We'll use the pokemon dataset (from Ritchie Vink) in the following examples.
 .. ipython:: python
 
     from datafusion import SessionContext
-    from datafusion import col
+    from datafusion import col, lit
     from datafusion import functions as f
 
     ctx = SessionContext()
@@ -120,16 +120,14 @@ two preceding rows.
 
 .. ipython:: python
 
-    from datafusion.expr import WindowFrame
+    from datafusion.expr import Window, WindowFrame
 
     df.select(
         col('"Name"'),
         col('"Speed"'),
-        f.window("avg",
-            [col('"Speed"')],
-            order_by=[col('"Speed"')],
-            window_frame=WindowFrame("rows", 2, 0)
-        ).alias("Previous Speed")
+        f.avg(col('"Speed"'))
+        .over(Window(window_frame=WindowFrame("rows", 2, 0), order_by=[col('"Speed"')]))
+        .alias("Previous Speed"),
     )
 
 Null Treatment
@@ -151,21 +149,27 @@ it's ``Type 2`` column that are null.
 
     from datafusion.common import NullTreatment
 
-    df.filter(col('"Type 1"') ==  lit("Bug")).select(
+    df.filter(col('"Type 1"') == lit("Bug")).select(
         '"Name"',
         '"Type 2"',
-        f.window("last_value", [col('"Type 2"')])
-            .window_frame(WindowFrame("rows", None, 0))
-            .order_by(col('"Speed"'))
-            .null_treatment(NullTreatment.IGNORE_NULLS)
-            .build()
-            .alias("last_wo_null"),
-        f.window("last_value", [col('"Type 2"')])
-            .window_frame(WindowFrame("rows", None, 0))
-            .order_by(col('"Speed"'))
-            .null_treatment(NullTreatment.RESPECT_NULLS)
-            .build()
-            .alias("last_with_null")
+        f.last_value(col('"Type 2"'))
+        .over(
+            Window(
+                window_frame=WindowFrame("rows", None, 0),
+                order_by=[col('"Speed"')],
+                null_treatment=NullTreatment.IGNORE_NULLS,
+            )
+        )
+        .alias("last_wo_null"),
+        f.last_value(col('"Type 2"'))
+        .over(
+            Window(
+                window_frame=WindowFrame("rows", None, 0),
+                order_by=[col('"Speed"')],
+                null_treatment=NullTreatment.RESPECT_NULLS,
+            )
+        )
+        .alias("last_with_null"),
     )
 
 Aggregate Functions
diff --git a/_sources/user-guide/configuration.rst.txt b/_sources/user-guide/configuration.rst.txt
index 5425a040..f8e613cd 100644
--- a/_sources/user-guide/configuration.rst.txt
+++ b/_sources/user-guide/configuration.rst.txt
@@ -15,6 +15,8 @@
 .. specific language governing permissions and limitations
 .. under the License.
 
+.. _configuration:
+
 Configuration
 =============
 
diff --git a/_sources/user-guide/data-sources.rst.txt b/_sources/user-guide/data-sources.rst.txt
index 6730754b..26f1303c 100644
--- a/_sources/user-guide/data-sources.rst.txt
+++ b/_sources/user-guide/data-sources.rst.txt
@@ -154,11 +154,11 @@ as Delta Lake. This will require a recent version of
     from deltalake import DeltaTable
 
     delta_table = DeltaTable("path_to_table")
-    ctx.register_table_provider("my_delta_table", delta_table)
+    ctx.register_table("my_delta_table", delta_table)
     df = ctx.table("my_delta_table")
     df.show()
 
-On older versions of ``deltalake`` (prior to 0.22) you can use the 
+On older versions of ``deltalake`` (prior to 0.22) you can use the
 `Arrow DataSet <https://arrow.apache.org/docs/python/generated/pyarrow.dataset.Dataset.html>`_
 interface to import to DataFusion, but this does not support features such as filter push down
 which can lead to a significant performance difference.
@@ -172,10 +172,41 @@ which can lead to a significant performance difference.
     df = ctx.table("my_delta_table")
     df.show()
 
-Iceberg
--------
+Apache Iceberg
+--------------
 
-Coming soon!
+DataFusion 45.0.0 and later support the ability to register Apache Iceberg tables as table providers through the Custom Table Provider interface.
+
+This requires either the `pyiceberg <https://pypi.org/project/pyiceberg/>`__ library (>=0.10.0) or the `pyiceberg-core <https://pypi.org/project/pyiceberg-core/>`__ library (>=0.5.0).
+
+* The ``pyiceberg-core`` library exposes Iceberg Rust's implementation of the Custom Table Provider interface as python bindings.
+* The ``pyiceberg`` library utilizes the ``pyiceberg-core`` python bindings under the hood and provides a native way for Python users to interact with the DataFusion.
+
+.. code-block:: python
+
+    from datafusion import SessionContext
+    from pyiceberg.catalog import load_catalog
+    import pyarrow as pa
+
+    # Load catalog and create/load a table
+    catalog = load_catalog("catalog", type="in-memory")
+    catalog.create_namespace_if_not_exists("default")
+
+    # Create some sample data
+    data = pa.table({"x": [1, 2, 3], "y": [4, 5, 6]})
+    iceberg_table = catalog.create_table("default.test", schema=data.schema)
+    iceberg_table.append(data)
+
+    # Register the table with DataFusion
+    ctx = SessionContext()
+    ctx.register_table_provider("test", iceberg_table)
+
+    # Query the table using DataFusion
+    ctx.table("test").show()
+
+
+Note that the Datafusion integration rely on features from the `Iceberg Rust <https://github.com/apache/iceberg-rust/>`_ implementation instead of the `PyIceberg <https://github.com/apache/iceberg-python/>`_ implementation. 
+Features that are available in PyIceberg but not yet in Iceberg Rust will not be available when using DataFusion.
 
 Custom Table Provider
 ---------------------
@@ -183,7 +214,7 @@ Custom Table Provider
 You can implement a custom Data Provider in Rust and expose it to DataFusion through the
 the interface as describe in the :ref:`Custom Table Provider <io_custom_table_provider>`
 section. This is an advanced topic, but a
-`user example <https://github.com/apache/datafusion-python/tree/main/examples/ffi-table-provider>`_
+`user example <https://github.com/apache/datafusion-python/tree/main/examples/datafusion-ffi-example>`_
 is provided in the DataFusion repository.
 
 Catalog
diff --git a/_sources/user-guide/dataframe/index.rst.txt b/_sources/user-guide/dataframe/index.rst.txt
index f69485af..510bcbc6 100644
--- a/_sources/user-guide/dataframe/index.rst.txt
+++ b/_sources/user-guide/dataframe/index.rst.txt
@@ -95,8 +95,9 @@ DataFusion's DataFrame API offers a wide range of operations:
     # Select with expressions
     df = df.select(column("a") + column("b"), column("a") - column("b"))
     
-    # Filter rows
+    # Filter rows (expressions or SQL strings)
     df = df.filter(column("age") > literal(25))
+    df = df.filter("age > 25")
     
     # Add computed columns
     df = df.with_column("full_name", column("first_name") + literal(" ") + column("last_name"))
@@ -126,6 +127,56 @@ DataFusion's DataFrame API offers a wide range of operations:
     # Drop columns
     df = df.drop("temporary_column")
 
+Column Names as Function Arguments
+----------------------------------
+
+Some ``DataFrame`` methods accept column names when an argument refers to an
+existing column. These include:
+
+* :py:meth:`~datafusion.DataFrame.select`
+* :py:meth:`~datafusion.DataFrame.sort`
+* :py:meth:`~datafusion.DataFrame.drop`
+* :py:meth:`~datafusion.DataFrame.join` (``on`` argument)
+* :py:meth:`~datafusion.DataFrame.aggregate` (grouping columns)
+
+See the full function documentation for details on any specific function.
+
+Note that :py:meth:`~datafusion.DataFrame.join_on` expects ``col()``/``column()`` expressions rather than plain strings.
+
+For such methods, you can pass column names directly:
+
+.. code-block:: python
+
+    from datafusion import col, functions as f
+
+    df.sort('id')
+    df.aggregate('id', [f.count(col('value'))])
+
+The same operation can also be written with explicit column expressions, using either ``col()`` or ``column()``:
+
+.. code-block:: python
+
+    from datafusion import col, column, functions as f
+
+    df.sort(col('id'))
+    df.aggregate(column('id'), [f.count(col('value'))])
+
+Note that ``column()`` is an alias of ``col()``, so you can use either name; the example above shows both in action.
+
+Whenever an argument represents an expression—such as in
+:py:meth:`~datafusion.DataFrame.filter` or
+:py:meth:`~datafusion.DataFrame.with_column`—use ``col()`` to reference
+columns. The comparison and arithmetic operators on ``Expr`` will automatically
+convert any non-``Expr`` value into a literal expression, so writing
+
+.. code-block:: python
+
+    from datafusion import col
+    df.filter(col("age") > 21)
+
+is equivalent to using ``lit(21)`` explicitly. Use ``lit()`` (also available
+as ``literal()``) when you need to construct a literal expression directly.
+
 Terminal Operations
 -------------------
 
@@ -145,10 +196,121 @@ To materialize the results of your DataFrame operations:
     
     # Display results
     df.show()                         # Print tabular format to console
-    
+
     # Count rows
     count = df.count()
 
+    # Collect a single column of data as a PyArrow Array
+    arr = df.collect_column("age")
+
+Zero-copy streaming to Arrow-based Python libraries
+---------------------------------------------------
+
+DataFusion DataFrames implement the ``__arrow_c_stream__`` protocol, enabling
+zero-copy, lazy streaming into Arrow-based Python libraries. With the streaming
+protocol, batches are produced on demand.
+
+.. note::
+
+    The protocol is implementation-agnostic and works with any Python library
+    that understands the Arrow C streaming interface (for example, PyArrow
+    or other Arrow-compatible implementations). The sections below provide a
+    short PyArrow-specific example and general guidance for other
+    implementations.
+
+PyArrow
+-------
+
+.. code-block:: python
+
+    import pyarrow as pa
+
+    # Create a PyArrow RecordBatchReader without materializing all batches
+    reader = pa.RecordBatchReader.from_stream(df)
+    for batch in reader:
+        ...  # process each batch as it is produced
+
+DataFrames are also iterable, yielding :class:`datafusion.RecordBatch`
+objects lazily so you can loop over results directly without importing
+PyArrow:
+
+.. code-block:: python
+
+    for batch in df:
+        ...  # each batch is a ``datafusion.RecordBatch``
+
+Each batch exposes ``to_pyarrow()``, allowing conversion to a PyArrow
+table. ``pa.table(df)`` collects the entire DataFrame eagerly into a
+PyArrow table:
+
+.. code-block:: python
+
+    import pyarrow as pa
+    table = pa.table(df)
+
+Asynchronous iteration is supported as well, allowing integration with
+``asyncio`` event loops:
+
+.. code-block:: python
+
+    async for batch in df:
+        ...  # process each batch as it is produced
+
+To work with the stream directly, use ``execute_stream()``, which returns a
+:class:`~datafusion.RecordBatchStream`.
+
+.. code-block:: python
+
+    stream = df.execute_stream()
+    for batch in stream:
+        ...
+
+Execute as Stream
+^^^^^^^^^^^^^^^^^
+
+For finer control over streaming execution, use
+:py:meth:`~datafusion.DataFrame.execute_stream` to obtain a
+:py:class:`datafusion.RecordBatchStream`:
+
+.. code-block:: python
+
+    stream = df.execute_stream()
+    for batch in stream:
+        ...  # process each batch as it is produced
+
+.. tip::
+
+    To get a PyArrow reader instead, call
+
+    ``pa.RecordBatchReader.from_stream(df)``.
+    
+When partition boundaries are important,
+:py:meth:`~datafusion.DataFrame.execute_stream_partitioned`
+returns an iterable of :py:class:`datafusion.RecordBatchStream` objects, one per
+partition:
+
+.. code-block:: python
+
+    for stream in df.execute_stream_partitioned():
+        for batch in stream:
+            ...  # each stream yields RecordBatches
+
+To process partitions concurrently, first collect the streams into a list
+and then poll each one in a separate ``asyncio`` task:
+
+.. code-block:: python
+
+    import asyncio
+
+    async def consume(stream):
+        async for batch in stream:
+            ...
+
+    streams = list(df.execute_stream_partitioned())
+    await asyncio.gather(*(consume(s) for s in streams))
+
+See :doc:`../io/arrow` for additional details on the Arrow interface.
+
 HTML Rendering
 --------------
 
diff --git a/_sources/user-guide/dataframe/rendering.rst.txt b/_sources/user-guide/dataframe/rendering.rst.txt
index 4c37c747..9dea948b 100644
--- a/_sources/user-guide/dataframe/rendering.rst.txt
+++ b/_sources/user-guide/dataframe/rendering.rst.txt
@@ -57,8 +57,8 @@ You can customize how DataFrames are rendered by configuring the formatter:
         max_width=1000,            # Maximum width in pixels
         max_height=300,            # Maximum height in pixels
         max_memory_bytes=2097152,  # Maximum memory for rendering (2MB)
-        min_rows_display=20,       # Minimum number of rows to display
-        repr_rows=10,              # Number of rows to display in __repr__
+        min_rows=10,               # Minimum number of rows to display
+        max_rows=10,               # Maximum rows to display in __repr__
         enable_cell_expansion=True,# Allow expanding truncated cells
         custom_css=None,           # Additional custom CSS
         show_truncation_message=True, # Show message when data is truncated
@@ -190,8 +190,8 @@ You can control how much data is displayed and how much memory is used for rende
 
     configure_formatter(
         max_memory_bytes=4 * 1024 * 1024,  # 4MB maximum memory for display
-        min_rows_display=50,               # Always show at least 50 rows
-        repr_rows=20                       # Show 20 rows in __repr__ output
+        min_rows=20,                       # Always show at least 20 rows
+        max_rows=50                        # Show up to 50 rows in output
     )
 
 These parameters help balance comprehensive data display against performance considerations.
diff --git a/_sources/user-guide/io/arrow.rst.txt b/_sources/user-guide/io/arrow.rst.txt
index d571aa99..9196fcea 100644
--- a/_sources/user-guide/io/arrow.rst.txt
+++ b/_sources/user-guide/io/arrow.rst.txt
@@ -60,14 +60,16 @@ Exporting from DataFusion
 DataFusion DataFrames implement ``__arrow_c_stream__`` PyCapsule interface, so any
 Python library that accepts these can import a DataFusion DataFrame directly.
 
-.. warning::
-    It is important to note that this will cause the DataFrame execution to happen, which may be
-    a time consuming task. That is, you will cause a
-    :py:func:`datafusion.dataframe.DataFrame.collect` operation call to occur.
+Invoking ``__arrow_c_stream__`` triggers execution of the underlying query, but
+batches are yielded incrementally rather than materialized all at once in memory.
+Consumers can process the stream as it arrives. The stream executes lazily,
+letting downstream readers pull batches on demand.
 
 
 .. ipython:: python
 
+    from datafusion import col, lit
+
     df = df.select((col("a") * lit(1.5)).alias("c"), lit("df").alias("d"))
     pa.table(df)
 
diff --git a/_sources/user-guide/io/csv.rst.txt b/_sources/user-guide/io/csv.rst.txt
index 144b6615..9c23c291 100644
--- a/_sources/user-guide/io/csv.rst.txt
+++ b/_sources/user-guide/io/csv.rst.txt
@@ -36,3 +36,25 @@ An alternative is to use :py:func:`~datafusion.context.SessionContext.register_c
 
     ctx.register_csv("file", "file.csv")
     df = ctx.table("file")
+
+If you require additional control over how to read the CSV file, you can use
+:py:class:`~datafusion.options.CsvReadOptions` to set a variety of options.
+
+.. code-block:: python
+
+    from datafusion import CsvReadOptions
+    options = (
+        CsvReadOptions()
+        .with_has_header(True) # File contains a header row
+        .with_delimiter(";") # Use ; as the delimiter instead of ,
+        .with_comment("#")  # Skip lines starting with #
+        .with_escape("\\")  # Escape character
+        .with_null_regex(r"^(null|NULL|N/A)$")  # Treat these as NULL
+        .with_truncated_rows(True) # Allow rows to have incomplete columns
+        .with_file_compression_type("gzip")  # Read gzipped CSV
+        .with_file_extension(".gz") # File extension other than .csv
+    )
+    df = ctx.read_csv("data.csv.gz", options=options)
+
+Details for all CSV reading options can be found on the
+`DataFusion documentation site <https://datafusion.apache.org/library-user-guide/custom-table-providers.html>`_.
diff --git a/_sources/user-guide/io/table_provider.rst.txt b/_sources/user-guide/io/table_provider.rst.txt
index bd1d6b80..29e5d988 100644
--- a/_sources/user-guide/io/table_provider.rst.txt
+++ b/_sources/user-guide/io/table_provider.rst.txt
@@ -37,22 +37,26 @@ A complete example can be found in the `examples folder <https://github.com/apac
             &self,
             py: Python<'py>,
         ) -> PyResult<Bound<'py, PyCapsule>> {
-            let name = CString::new("datafusion_table_provider").unwrap();
+            let name = cr"datafusion_table_provider".into();
 
-            let provider = Arc::new(self.clone())
-                .map_err(|e| PyRuntimeError::new_err(e.to_string()))?;
-            let provider = FFI_TableProvider::new(Arc::new(provider), false);
+            let provider = Arc::new(self.clone());
+            let provider = FFI_TableProvider::new(provider, false, None);
 
             PyCapsule::new_bound(py, provider, Some(name.clone()))
         }
     }
 
-Once you have this library available, in python you can register your table provider
-to the ``SessionContext``.
+Once you have this library available, you can construct a
+:py:class:`~datafusion.Table` in Python and register it with the
+``SessionContext``.
 
 .. code-block:: python
 
+    from datafusion import SessionContext, Table
+
+    ctx = SessionContext()
     provider = MyTableProvider()
-    ctx.register_table_provider("my_table", provider)
 
-    ctx.table("my_table").show()
+    ctx.register_table("capsule_table", provider)
+
+    ctx.table("capsule_table").show()
diff --git a/_sources/user-guide/sql.rst.txt b/_sources/user-guide/sql.rst.txt
index 6fa7f0c6..b4bfb961 100644
--- a/_sources/user-guide/sql.rst.txt
+++ b/_sources/user-guide/sql.rst.txt
@@ -23,17 +23,100 @@ DataFusion also offers a SQL API, read the full reference `here <https://arrow.a
 .. ipython:: python
 
     import datafusion
-    from datafusion import col
-    import pyarrow
+    from datafusion import DataFrame, SessionContext
 
     # create a context
     ctx = datafusion.SessionContext()
 
     # register a CSV
-    ctx.register_csv('pokemon', 'pokemon.csv')
+    ctx.register_csv("pokemon", "pokemon.csv")
 
     # create a new statement via SQL
     df = ctx.sql('SELECT "Attack"+"Defense", "Attack"-"Defense" FROM pokemon')
 
     # collect and convert to pandas DataFrame
-    df.to_pandas()
\ No newline at end of file
+    df.to_pandas()
+
+Parameterized queries
+---------------------
+
+In DataFusion-Python 51.0.0 we introduced the ability to pass parameters
+in a SQL query. These are similar in concept to
+`prepared statements <https://datafusion.apache.org/user-guide/sql/prepared_statements.html>`_,
+but allow passing named parameters into a SQL query. Consider this simple
+example.
+
+.. ipython:: python
+
+    def show_attacks(ctx: SessionContext, threshold: int) -> None:
+        ctx.sql(
+            'SELECT "Name", "Attack" FROM pokemon WHERE "Attack" > $val', val=threshold
+        ).show(num=5)
+    show_attacks(ctx, 75)
+
+When passing parameters like the example above we convert the Python objects
+into their string representation. We also have special case handling
+for :py:class:`~datafusion.dataframe.DataFrame` objects, since they cannot simply
+be turned into string representations for an SQL query. In these cases we
+will register a temporary view in the :py:class:`~datafusion.context.SessionContext`
+using a generated table name.
+
+The formatting for passing string replacement objects is to precede the
+variable name with a single ``$``. This works for all dialects in
+the SQL parser except ``hive`` and ``mysql``. Since these dialects do not
+support named placeholders, we are unable to do this type of replacement.
+We recommend either switching to another dialect or using Python
+f-string style replacement.
+
+.. warning::
+
+    To support DataFrame parameterized queries, your session must support
+    registration of temporary views. The default
+    :py:class:`~datafusion.catalog.CatalogProvider` and
+    :py:class:`~datafusion.catalog.SchemaProvider` do have this capability.
+    If you have implemented custom providers, it is important that temporary
+    views do not persist across :py:class:`~datafusion.context.SessionContext`
+    or you may get unintended consequences.
+
+The following example shows passing in both a :py:class:`~datafusion.dataframe.DataFrame`
+object as well as a Python object to be used in parameterized replacement.
+
+.. ipython:: python
+
+    def show_column(
+        ctx: SessionContext, column: str, df: DataFrame, threshold: int
+    ) -> None:
+        ctx.sql(
+            'SELECT "Name", $col FROM $df WHERE $col > $val',
+            col=column,
+            df=df,
+            val=threshold,
+        ).show(num=5)
+    df = ctx.table("pokemon")
+    show_column(ctx, '"Defense"', df, 75)
+
+The approach implemented for conversion of variables into a SQL query
+relies on string conversion. This has the potential for data loss,
+specifically for cases like floating point numbers. If you need to pass
+variables into a parameterized query and it is important to maintain the
+original value without conversion to a string, then you can use the
+optional parameter ``param_values`` to specify these. This parameter
+expects a dictionary mapping from the parameter name to a Python
+object. Those objects will be cast into a
+`PyArrow Scalar Value <https://arrow.apache.org/docs/python/generated/pyarrow.Scalar.html>`_.
+
+Using ``param_values`` will rely on the SQL dialect you have configured
+for your session. This can be set using the :ref:`configuration options <configuration>`
+of your :py:class:`~datafusion.context.SessionContext`. Similar to how
+`prepared statements <https://datafusion.apache.org/user-guide/sql/prepared_statements.html>`_
+work, these parameters are limited to places where you would pass in a
+scalar value, such as a comparison.
+
+.. ipython:: python
+
+    def param_attacks(ctx: SessionContext, threshold: int) -> None:
+        ctx.sql(
+            'SELECT "Name", "Attack" FROM pokemon WHERE "Attack" > $val',
+            param_values={"val": threshold},
+        ).show(num=5)
+    param_attacks(ctx, 75)
diff --git a/_sources/user-guide/upgrade-guides.rst.txt b/_sources/user-guide/upgrade-guides.rst.txt
new file mode 100644
index 00000000..a77f6077
--- /dev/null
+++ b/_sources/user-guide/upgrade-guides.rst.txt
@@ -0,0 +1,96 @@
+.. 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.
+
+Upgrade Guides
+==============
+
+DataFusion 52.0.0
+-----------------
+
+This version includes a major update to the :ref:`ffi` due to upgrades
+to the `Foreign Function Interface <https://doc.rust-lang.org/nomicon/ffi.html>`_.
+Users who contribute their own ``CatalogProvider``, ``SchemaProvider``,
+``TableProvider`` or ``TableFunction`` via FFI must now provide access to a
+``LogicalExtensionCodec`` and a ``TaskContextProvider``. The function signatures
+for the methods to get these ``PyCapsule`` objects now requires an additional
+parameter, which is a Python object that can be used to extract the
+``FFI_LogicalExtensionCodec`` that is necessary.
+
+A complete example can be found in the `FFI example <https://github.com/apache/datafusion-python/tree/main/examples/datafusion-ffi-example>`_.
+Your methods need to be updated to take an additional parameter like in this
+example.
+
+.. code-block:: rust
+
+    #[pymethods]
+    impl MyCatalogProvider {
+        pub fn __datafusion_catalog_provider__<'py>(
+            &self,
+            py: Python<'py>,
+            session: Bound<PyAny>,
+        ) -> PyResult<Bound<'py, PyCapsule>> {
+            let name = cr"datafusion_catalog_provider".into();
+
+            let provider = Arc::clone(&self.inner) as Arc<dyn CatalogProvider + Send>;
+
+            let codec = ffi_logical_codec_from_pycapsule(session)?;
+            let provider = FFI_CatalogProvider::new_with_ffi_codec(provider, None, codec);
+
+            PyCapsule::new(py, provider, Some(name))
+        }
+    }
+
+To extract the logical extension codec FFI object from the provided object you
+can implement a helper method such as:
+
+.. code-block:: rust
+
+    pub(crate) fn ffi_logical_codec_from_pycapsule(
+        obj: Bound<PyAny>,
+    ) -> PyResult<FFI_LogicalExtensionCodec> {
+        let attr_name = "__datafusion_logical_extension_codec__";
+        let capsule = if obj.hasattr(attr_name)? {
+            obj.getattr(attr_name)?.call0()?
+        } else {
+            obj
+        };
+
+        let capsule = capsule.downcast::<PyCapsule>()?;
+        validate_pycapsule(capsule, "datafusion_logical_extension_codec")?;
+
+        let codec = unsafe { capsule.reference::<FFI_LogicalExtensionCodec>() };
+
+        Ok(codec.clone())
+    }
+
+
+The DataFusion FFI interface updates no longer depend directly on the
+``datafusion`` core crate. You can improve your build times and potentially
+reduce your library binary size by removing this dependency and instead
+using the specific datafusion project crates.
+
+For example, instead of including expressions like:
+
+.. code-block:: rust
+
+    use datafusion::catalog::MemTable;
+
+Instead you can now write:
+
+.. code-block:: rust
+
+    use datafusion_catalog::MemTable;
diff --git a/autoapi/datafusion/catalog/index.html b/autoapi/datafusion/catalog/index.html
index 64d0e67c..2defa8e9 100644
--- a/autoapi/datafusion/catalog/index.html
+++ b/autoapi/datafusion/catalog/index.html
@@ -243,6 +243,11 @@
    SQL
   </a>
  </li>
+ <li class="toctree-l1">
+  <a class="reference internal" href="../../../user-guide/upgrade-guides.html">
+   Upgrade Guides
+  </a>
+ </li>
 </ul>
 <p aria-level="2" class="caption" role="heading">
  <span class="caption-text">
@@ -354,6 +359,11 @@
        datafusion.object_store
       </a>
      </li>
+     <li class="toctree-l3">
+      <a class="reference internal" href="../options/index.html">
+       datafusion.options
+      </a>
+     </li>
      <li class="toctree-l3">
       <a class="reference internal" href="../plan/index.html">
        datafusion.plan
@@ -509,6 +519,80 @@
      </li>
     </ul>
    </li>
+   <li class="toc-h3 nav-item toc-entry">
+    <a class="reference internal nav-link" href="#datafusion.catalog.CatalogList">
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       CatalogList
+      </span>
+     </code>
+    </a>
+    <ul class="nav section-nav flex-column">
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.catalog.CatalogList.__repr__">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CatalogList.__repr__()
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.catalog.CatalogList.catalog">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CatalogList.catalog()
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.catalog.CatalogList.catalog_names">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CatalogList.catalog_names()
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.catalog.CatalogList.memory_catalog">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CatalogList.memory_catalog()
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.catalog.CatalogList.names">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CatalogList.names()
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.catalog.CatalogList.register_catalog">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CatalogList.register_catalog()
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.catalog.CatalogList.catalog_list">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CatalogList.catalog_list
+        </span>
+       </code>
+      </a>
+     </li>
+    </ul>
+   </li>
    <li class="toc-h3 nav-item toc-entry">
     <a class="reference internal nav-link" href="#datafusion.catalog.CatalogProvider">
      <code class="docutils literal notranslate">
@@ -556,6 +640,44 @@
      </li>
     </ul>
    </li>
+   <li class="toc-h3 nav-item toc-entry">
+    <a class="reference internal nav-link" href="#datafusion.catalog.CatalogProviderList">
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       CatalogProviderList
+      </span>
+     </code>
+    </a>
+    <ul class="nav section-nav flex-column">
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.catalog.CatalogProviderList.catalog">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CatalogProviderList.catalog()
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.catalog.CatalogProviderList.catalog_names">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CatalogProviderList.catalog_names()
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.catalog.CatalogProviderList.register_catalog">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CatalogProviderList.register_catalog()
+        </span>
+       </code>
+      </a>
+     </li>
+    </ul>
+   </li>
    <li class="toc-h3 nav-item toc-entry">
     <a class="reference internal nav-link" href="#datafusion.catalog.Schema">
      <code class="docutils literal notranslate">
@@ -619,6 +741,15 @@
        </code>
       </a>
      </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.catalog.Schema.table_exist">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         Schema.table_exist()
+        </span>
+       </code>
+      </a>
+     </li>
      <li class="toc-h4 nav-item toc-entry">
       <a class="reference internal nav-link" href="#datafusion.catalog.Schema.table_names">
        <code class="docutils literal notranslate">
@@ -732,28 +863,37 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.catalog.Table.kind">
+      <a class="reference internal nav-link" href="#datafusion.catalog.Table.__slots__">
        <code class="docutils literal notranslate">
         <span class="pre">
-         Table.kind
+         Table.__slots__
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.catalog.Table.schema">
+      <a class="reference internal nav-link" href="#datafusion.catalog.Table._inner">
        <code class="docutils literal notranslate">
         <span class="pre">
-         Table.schema
+         Table._inner
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.catalog.Table.table">
+      <a class="reference internal nav-link" href="#datafusion.catalog.Table.kind">
        <code class="docutils literal notranslate">
         <span class="pre">
-         Table.table
+         Table.kind
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.catalog.Table.schema">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         Table.schema
         </span>
        </code>
       </a>
@@ -793,9 +933,15 @@
 <tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.catalog.Catalog" title="datafusion.catalog.Catalog"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Catalog</span></code></a></p></td>
 <td><p>DataFusion data catalog.</p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.catalog.CatalogProvider" title="datafusion.catalog.CatalogProvider"><code class="xref py py-obj docutils literal notranslate"><span class="pre">CatalogProvider</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.catalog.CatalogList" title="datafusion.catalog.CatalogList"><code class="xref py py-obj docutils literal notranslate"><span class="pre">CatalogList</span></code></a></p></td>
+<td><p>DataFusion data catalog list.</p></td>
+</tr>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.catalog.CatalogProvider" title="datafusion.catalog.CatalogProvider"><code class="xref py py-obj docutils literal notranslate"><span class="pre">CatalogProvider</span></code></a></p></td>
 <td><p>Abstract class for defining a Python based Catalog Provider.</p></td>
 </tr>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.catalog.CatalogProviderList" title="datafusion.catalog.CatalogProviderList"><code class="xref py py-obj docutils literal notranslate"><span class="pre">CatalogProviderList</span></code></a></p></td>
+<td><p>Abstract class for defining a Python based Catalog Provider List.</p></td>
+</tr>
 <tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.catalog.Schema" title="datafusion.catalog.Schema"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Schema</span></code></a></p></td>
 <td><p>DataFusion Schema.</p></td>
 </tr>
@@ -803,7 +949,7 @@
 <td><p>Abstract class for defining a Python based Schema Provider.</p></td>
 </tr>
 <tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.catalog.Table" title="datafusion.catalog.Table"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Table</span></code></a></p></td>
-<td><p>DataFusion table.</p></td>
+<td><p>A DataFusion table.</p></td>
 </tr>
 </tbody>
 </table>
@@ -835,7 +981,7 @@
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.catalog.Catalog.memory_catalog">
-<em class="property"><span class="pre">static</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">memory_catalog</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#datafusion.catalog.Catalog" title="datafusion.catalog.Catalog"><span class="pre">Catalog</span></a></span></span><a class="hea [...]
+<em class="property"><span class="pre">static</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">memory_catalog</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">ctx</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">datafusion.SessionContext</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> [...]
 <dd><p>Create an in-memory catalog provider.</p>
 </dd></dl>
 
@@ -847,7 +993,7 @@
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.catalog.Catalog.register_schema">
-<span class="sig-name descname"><span class="pre">register_schema</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">schema</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#datafusion.catalog.Schema" title="datafusion [...]
+<span class="sig-name descname"><span class="pre">register_schema</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">schema</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="r [...]
 <dd><p>Register a schema with this catalog.</p>
 </dd></dl>
 
@@ -870,6 +1016,54 @@
 
 </dd></dl>
 
+<dl class="py class">
+<dt class="sig sig-object py" id="datafusion.catalog.CatalogList">
+<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.catalog.</span></span><span class="sig-name descname"><span class="pre">CatalogList</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">catalog_list</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">datafusion._internal.cata [...]
+<dd><p>DataFusion data catalog list.</p>
+<p>This constructor is not typically called by the end user.</p>
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.catalog.CatalogList.__repr__">
+<span class="sig-name descname"><span class="pre">__repr__</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">str</span></span></span><a class="headerlink" href="#datafusion.catalog.CatalogList.__repr__" title="Link to this definition">¶</a></dt>
+<dd><p>Print a string representation of the catalog list.</p>
+</dd></dl>
+
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.catalog.CatalogList.catalog">
+<span class="sig-name descname"><span class="pre">catalog</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">'datafusion'</span></span></em><span class="sig- [...]
+<dd><p>Returns the catalog with the given <code class="docutils literal notranslate"><span class="pre">name</span></code> from this catalog.</p>
+</dd></dl>
+
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.catalog.CatalogList.catalog_names">
+<span class="sig-name descname"><span class="pre">catalog_names</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">set</span><span class="p"><span class="pre">[</span></span><span class="pre">str</span><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#datafusion.catalog.CatalogList.catalog_names" ti [...]
+<dd><p>Returns the list of schemas in this catalog.</p>
+</dd></dl>
+
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.catalog.CatalogList.memory_catalog">
+<em class="property"><span class="pre">static</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">memory_catalog</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">ctx</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">datafusion.SessionContext</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> [...]
+<dd><p>Create an in-memory catalog provider list.</p>
+</dd></dl>
+
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.catalog.CatalogList.names">
+<span class="sig-name descname"><span class="pre">names</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">set</span><span class="p"><span class="pre">[</span></span><span class="pre">str</span><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#datafusion.catalog.CatalogList.names" title="Link to thi [...]
+<dd><p>This is an alias for <cite>catalog_names</cite>.</p>
+</dd></dl>
+
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.catalog.CatalogList.register_catalog">
+<span class="sig-name descname"><span class="pre">register_catalog</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">catalog</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class= [...]
+<dd><p>Register a catalog with this catalog list.</p>
+</dd></dl>
+
+<dl class="py attribute">
+<dt class="sig sig-object py" id="datafusion.catalog.CatalogList.catalog_list">
+<span class="sig-name descname"><span class="pre">catalog_list</span></span><a class="headerlink" href="#datafusion.catalog.CatalogList.catalog_list" title="Link to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
 <dl class="py class">
 <dt class="sig sig-object py" id="datafusion.catalog.CatalogProvider">
 <em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.catalog.</span></span><span class="sig-name descname"><span class="pre">CatalogProvider</span></span><a class="headerlink" href="#datafusion.catalog.CatalogProvider" title="Link to this definition">¶</a></dt>
@@ -913,6 +1107,33 @@ do not need to implement this method.</p>
 
 </dd></dl>
 
+<dl class="py class">
+<dt class="sig sig-object py" id="datafusion.catalog.CatalogProviderList">
+<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.catalog.</span></span><span class="sig-name descname"><span class="pre">CatalogProviderList</span></span><a class="headerlink" href="#datafusion.catalog.CatalogProviderList" title="Link to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-obj docutils literal notranslate"><span class="pre">abc.ABC</span></code></p>
+<p>Abstract class for defining a Python based Catalog Provider List.</p>
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.catalog.CatalogProviderList.catalog">
+<em class="property"><span class="pre">abstract</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">catalog</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> [...]
+<dd><p>Retrieve a specific catalog from this catalog list.</p>
+</dd></dl>
+
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.catalog.CatalogProviderList.catalog_names">
+<em class="property"><span class="pre">abstract</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">catalog_names</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">set</span><span class="p"><span class="pre">[</span></span><span class="pre">str</span><span class="p"><span class="pre">]</span></span></span>< [...]
+<dd><p>Set of the names of all catalogs in this catalog list.</p>
+</dd></dl>
+
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.catalog.CatalogProviderList.register_catalog">
+<span class="sig-name descname"><span class="pre">register_catalog</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">catalog</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span cla [...]
+<dd><p>Add a catalog to this catalog list.</p>
+<p>This method is optional. If your catalog provides a fixed list of catalogs, you
+do not need to implement this method.</p>
+</dd></dl>
+
+</dd></dl>
+
 <dl class="py class">
 <dt class="sig sig-object py" id="datafusion.catalog.Schema">
 <em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.catalog.</span></span><span class="sig-name descname"><span class="pre">Schema</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">schema</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">datafusion._internal.catalog.RawSche [...]
@@ -932,7 +1153,7 @@ do not need to implement this method.</p>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.catalog.Schema.memory_schema">
-<em class="property"><span class="pre">static</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">memory_schema</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#datafusion.catalog.Schema" title="datafusion.catalog.Schema"><span class="pre">Schema</span></a></span></span><a class="headerl [...]
+<em class="property"><span class="pre">static</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">memory_schema</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">ctx</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">datafusion.SessionContext</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w">  [...]
 <dd><p>Create an in-memory schema provider.</p>
 </dd></dl>
 
@@ -944,8 +1165,8 @@ do not need to implement this method.</p>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.catalog.Schema.register_table">
-<span class="sig-name descname"><span class="pre">register_table</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">table</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#datafusion. [...]
-<dd><p>Register a table provider in this schema.</p>
+<span class="sig-name descname"><span class="pre">register_table</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">table</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="ref [...]
+<dd><p>Register a table in this schema.</p>
 </dd></dl>
 
 <dl class="py method">
@@ -954,6 +1175,12 @@ do not need to implement this method.</p>
 <dd><p>Return the table with the given <code class="docutils literal notranslate"><span class="pre">name</span></code> from this schema.</p>
 </dd></dl>
 
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.catalog.Schema.table_exist">
+<span class="sig-name descname"><span class="pre">table_exist</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span>< [...]
+<dd><p>Determines if a table exists in this schema.</p>
+</dd></dl>
+
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.catalog.Schema.table_names">
 <span class="sig-name descname"><span class="pre">table_names</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">set</span><span class="p"><span class="pre">[</span></span><span class="pre">str</span><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#datafusion.catalog.Schema.table_names" title="Link [...]
@@ -974,7 +1201,7 @@ do not need to implement this method.</p>
 <p>Abstract class for defining a Python based Schema Provider.</p>
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.catalog.SchemaProvider.deregister_table">
-<span class="sig-name descname"><span class="pre">deregister_table</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">cascade</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">bool</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2 [...]
+<span class="sig-name descname"><span class="pre">deregister_table</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">cascade</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span cla [...]
 <dd><p>Remove a table from this schema.</p>
 <p>This method is optional. If your schema provides a fixed list of tables, you do
 not need to implement this method.</p>
@@ -989,8 +1216,8 @@ not need to implement this method.</p>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.catalog.SchemaProvider.register_table">
-<span class="sig-name descname"><span class="pre">register_table</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">table</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="ref [...]
-<dd><p>Add a table from this schema.</p>
+<span class="sig-name descname"><span class="pre">register_table</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">table</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="ref [...]
+<dd><p>Add a table to this schema.</p>
 <p>This method is optional. If your schema provides a fixed list of tables, you do
 not need to implement this method.</p>
 </dd></dl>
@@ -1017,9 +1244,18 @@ not need to implement this method.</p>
 
 <dl class="py class">
 <dt class="sig sig-object py" id="datafusion.catalog.Table">
-<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.catalog.</span></span><span class="sig-name descname"><span class="pre">Table</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">table</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">datafusion._internal.catalog.RawTable< [...]
-<dd><p>DataFusion table.</p>
-<p>This constructor is not typically called by the end user.</p>
+<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.catalog.</span></span><span class="sig-name descname"><span class="pre">Table</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">table</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="#datafusion.catalog. [...]
+<dd><p>A DataFusion table.</p>
+<p>Internally we currently support the following types of tables:</p>
+<ul class="simple">
+<li><p>Tables created using built-in DataFusion methods, such as
+reading from CSV or Parquet</p></li>
+<li><p>pyarrow datasets</p></li>
+<li><p>DataFusion DataFrames, which will be converted into a view</p></li>
+<li><p>Externally provided tables implemented with the FFI PyCapsule
+interface (advanced)</p></li>
+</ul>
+<p>Constructor.</p>
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.catalog.Table.__repr__">
 <span class="sig-name descname"><span class="pre">__repr__</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">str</span></span></span><a class="headerlink" href="#datafusion.catalog.Table.__repr__" title="Link to this definition">¶</a></dt>
@@ -1029,9 +1265,19 @@ not need to implement this method.</p>
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.catalog.Table.from_dataset">
 <em class="property"><span class="pre">static</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">from_dataset</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">dataset</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">pyarrow.dataset.Dataset</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-re [...]
-<dd><p>Turn a pyarrow Dataset into a Table.</p>
+<dd><p>Turn a <code class="xref py py-mod docutils literal notranslate"><span class="pre">pyarrow.dataset</span></code> <code class="docutils literal notranslate"><span class="pre">Dataset</span></code> into a <a class="reference internal" href="#datafusion.catalog.Table" title="datafusion.catalog.Table"><code class="xref py py-class docutils literal notranslate"><span class="pre">Table</span></code></a>.</p>
 </dd></dl>
 
+<dl class="py attribute">
+<dt class="sig sig-object py" id="datafusion.catalog.Table.__slots__">
+<span class="sig-name descname"><span class="pre">__slots__</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">('_inner',)</span></em><a class="headerlink" href="#datafusion.catalog.Table.__slots__" title="Link to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="py attribute">
+<dt class="sig sig-object py" id="datafusion.catalog.Table._inner">
+<span class="sig-name descname"><span class="pre">_inner</span></span><a class="headerlink" href="#datafusion.catalog.Table._inner" title="Link to this definition">¶</a></dt>
+<dd></dd></dl>
+
 <dl class="py property">
 <dt class="sig sig-object py" id="datafusion.catalog.Table.kind">
 <em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">kind</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">str</span></em><a class="headerlink" href="#datafusion.catalog.Table.kind" title="Link to this definition">¶</a></dt>
@@ -1044,11 +1290,6 @@ not need to implement this method.</p>
 <dd><p>Returns the schema associated with this table.</p>
 </dd></dl>
 
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.catalog.Table.table">
-<span class="sig-name descname"><span class="pre">table</span></span><a class="headerlink" href="#datafusion.catalog.Table.table" title="Link to this definition">¶</a></dt>
-<dd></dd></dl>
-
 </dd></dl>
 
 </section>
diff --git a/autoapi/datafusion/context/index.html b/autoapi/datafusion/context/index.html
index 5da05964..fba3608b 100644
--- a/autoapi/datafusion/context/index.html
+++ b/autoapi/datafusion/context/index.html
@@ -243,6 +243,11 @@
    SQL
   </a>
  </li>
+ <li class="toctree-l1">
+  <a class="reference internal" href="../../../user-guide/upgrade-guides.html">
+   Upgrade Guides
+  </a>
+ </li>
 </ul>
 <p aria-level="2" class="caption" role="heading">
  <span class="caption-text">
@@ -354,6 +359,11 @@
        datafusion.object_store
       </a>
      </li>
+     <li class="toctree-l3">
+      <a class="reference internal" href="../options/index.html">
+       datafusion.options
+      </a>
+     </li>
      <li class="toctree-l3">
       <a class="reference internal" href="../plan/index.html">
        datafusion.plan
@@ -457,26 +467,6 @@
      </li>
     </ul>
    </li>
-   <li class="toc-h3 nav-item toc-entry">
-    <a class="reference internal nav-link" href="#datafusion.context.CatalogProviderExportable">
-     <code class="docutils literal notranslate">
-      <span class="pre">
-       CatalogProviderExportable
-      </span>
-     </code>
-    </a>
-    <ul class="nav section-nav flex-column">
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.context.CatalogProviderExportable.__datafusion_catalog_provider__">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         CatalogProviderExportable.__datafusion_catalog_provider__()
-        </span>
-       </code>
-      </a>
-     </li>
-    </ul>
-   </li>
    <li class="toc-h3 nav-item toc-entry">
     <a class="reference internal nav-link" href="#datafusion.context.RuntimeConfig">
      <code class="docutils literal notranslate">
@@ -762,6 +752,24 @@
      </code>
     </a>
     <ul class="nav section-nav flex-column">
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.context.SessionContext.__datafusion_logical_extension_codec__">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         SessionContext.__datafusion_logical_extension_codec__()
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.context.SessionContext.__datafusion_task_context_provider__">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         SessionContext.__datafusion_task_context_provider__()
+        </span>
+       </code>
+      </a>
+     </li>
      <li class="toc-h4 nav-item toc-entry">
       <a class="reference internal nav-link" href="#datafusion.context.SessionContext.__repr__">
        <code class="docutils literal notranslate">
@@ -771,6 +779,15 @@
        </code>
       </a>
      </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.context.SessionContext._convert_file_sort_order">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         SessionContext._convert_file_sort_order()
+        </span>
+       </code>
+      </a>
+     </li>
      <li class="toc-h4 nav-item toc-entry">
       <a class="reference internal nav-link" href="#datafusion.context.SessionContext._convert_table_partition_cols">
        <code class="docutils literal notranslate">
@@ -978,6 +995,15 @@
        </code>
       </a>
      </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.context.SessionContext.register_catalog_provider_list">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         SessionContext.register_catalog_provider_list()
+        </span>
+       </code>
+      </a>
+     </li>
      <li class="toc-h4 nav-item toc-entry">
       <a class="reference internal nav-link" href="#datafusion.context.SessionContext.register_csv">
        <code class="docutils literal notranslate">
@@ -1149,6 +1175,15 @@
        </code>
       </a>
      </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.context.SessionContext.with_logical_extension_codec">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         SessionContext.with_logical_extension_codec()
+        </span>
+       </code>
+      </a>
+     </li>
      <li class="toc-h4 nav-item toc-entry">
       <a class="reference internal nav-link" href="#datafusion.context.SessionContext.ctx">
        <code class="docutils literal notranslate">
@@ -1216,25 +1251,22 @@
 <tr class="row-even"><td><p><a class="reference internal" href="#datafusion.context.ArrowStreamExportable" title="datafusion.context.ArrowStreamExportable"><code class="xref py py-obj docutils literal notranslate"><span class="pre">ArrowStreamExportable</span></code></a></p></td>
 <td><p>Type hint for object exporting Arrow C Stream via Arrow PyCapsule Interface.</p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.context.CatalogProviderExportable" title="datafusion.context.CatalogProviderExportable"><code class="xref py py-obj docutils literal notranslate"><span class="pre">CatalogProviderExportable</span></code></a></p></td>
-<td><p>Type hint for object that has __datafusion_catalog_provider__ PyCapsule.</p></td>
-</tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.context.RuntimeConfig" title="datafusion.context.RuntimeConfig"><code class="xref py py-obj docutils literal notranslate"><span class="pre">RuntimeConfig</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.context.RuntimeConfig" title="datafusion.context.RuntimeConfig"><code class="xref py py-obj docutils literal notranslate"><span class="pre">RuntimeConfig</span></code></a></p></td>
 <td><p>See <cite>RuntimeEnvBuilder</cite>.</p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.context.RuntimeEnvBuilder" title="datafusion.context.RuntimeEnvBuilder"><code class="xref py py-obj docutils literal notranslate"><span class="pre">RuntimeEnvBuilder</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.context.RuntimeEnvBuilder" title="datafusion.context.RuntimeEnvBuilder"><code class="xref py py-obj docutils literal notranslate"><span class="pre">RuntimeEnvBuilder</span></code></a></p></td>
 <td><p>Runtime configuration options.</p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.context.SQLOptions" title="datafusion.context.SQLOptions"><code class="xref py py-obj docutils literal notranslate"><span class="pre">SQLOptions</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.context.SQLOptions" title="datafusion.context.SQLOptions"><code class="xref py py-obj docutils literal notranslate"><span class="pre">SQLOptions</span></code></a></p></td>
 <td><p>Options to be used when performing SQL queries.</p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.context.SessionConfig" title="datafusion.context.SessionConfig"><code class="xref py py-obj docutils literal notranslate"><span class="pre">SessionConfig</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.context.SessionConfig" title="datafusion.context.SessionConfig"><code class="xref py py-obj docutils literal notranslate"><span class="pre">SessionConfig</span></code></a></p></td>
 <td><p>Session configuration options.</p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.context.SessionContext" title="datafusion.context.SessionContext"><code class="xref py py-obj docutils literal notranslate"><span class="pre">SessionContext</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.context.SessionContext" title="datafusion.context.SessionContext"><code class="xref py py-obj docutils literal notranslate"><span class="pre">SessionContext</span></code></a></p></td>
 <td><p>This is the main interface for executing queries and creating DataFrames.</p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.context.TableProviderExportable" title="datafusion.context.TableProviderExportable"><code class="xref py py-obj docutils literal notranslate"><span class="pre">TableProviderExportable</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.context.TableProviderExportable" title="datafusion.context.TableProviderExportable"><code class="xref py py-obj docutils literal notranslate"><span class="pre">TableProviderExportable</span></code></a></p></td>
 <td><p>Type hint for object that has __datafusion_table_provider__ PyCapsule.</p></td>
 </tr>
 </tbody>
@@ -1268,19 +1300,6 @@
 
 </dd></dl>
 
-<dl class="py class">
-<dt class="sig sig-object py" id="datafusion.context.CatalogProviderExportable">
-<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.context.</span></span><span class="sig-name descname"><span class="pre">CatalogProviderExportable</span></span><a class="headerlink" href="#datafusion.context.CatalogProviderExportable" title="Link to this definition">¶</a></dt>
-<dd><p>Bases: <code class="xref py py-obj docutils literal notranslate"><span class="pre">Protocol</span></code></p>
-<p>Type hint for object that has __datafusion_catalog_provider__ PyCapsule.</p>
-<p><a class="reference external" href="https://docs.rs/datafusion/latest/datafusion/catalog/trait.CatalogProvider.html">https://docs.rs/datafusion/latest/datafusion/catalog/trait.CatalogProvider.html</a></p>
-<dl class="py method">
-<dt class="sig sig-object py" id="datafusion.context.CatalogProviderExportable.__datafusion_catalog_provider__">
-<span class="sig-name descname"><span class="pre">__datafusion_catalog_provider__</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">object</span></span></span><a class="headerlink" href="#datafusion.context.CatalogProviderExportable.__datafusion_catalog_provider__" title="Link to this definition">¶</a></dt>
-<dd></dd></dl>
-
-</dd></dl>
-
 <dl class="py class">
 <dt class="sig sig-object py" id="datafusion.context.RuntimeConfig">
 <em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.context.</span></span><span class="sig-name descname"><span class="pre">RuntimeConfig</span></span><a class="headerlink" href="#datafusion.context.RuntimeConfig" title="Link to this definition">¶</a></dt>
@@ -1728,12 +1747,33 @@ a query against a CSV data source using the <code class="xref py py-class docuti
 <span class="n">df</span> <span class="o">=</span> <span class="n">ctx</span><span class="o">.</span><span class="n">read_csv</span><span class="p">(</span><span class="s2">&quot;data.csv&quot;</span><span class="p">)</span>
 </pre></div>
 </div>
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.context.SessionContext.__datafusion_logical_extension_codec__">
+<span class="sig-name descname"><span class="pre">__datafusion_logical_extension_codec__</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">Any</span></span></span><a class="headerlink" href="#datafusion.context.SessionContext.__datafusion_logical_extension_codec__" title="Link to this definition">¶</a></dt>
+<dd><p>Access the PyCapsule FFI_LogicalExtensionCodec.</p>
+</dd></dl>
+
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.context.SessionContext.__datafusion_task_context_provider__">
+<span class="sig-name descname"><span class="pre">__datafusion_task_context_provider__</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">Any</span></span></span><a class="headerlink" href="#datafusion.context.SessionContext.__datafusion_task_context_provider__" title="Link to this definition">¶</a></dt>
+<dd><p>Access the PyCapsule FFI_TaskContextProvider.</p>
+</dd></dl>
+
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.context.SessionContext.__repr__">
 <span class="sig-name descname"><span class="pre">__repr__</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">str</span></span></span><a class="headerlink" href="#datafusion.context.SessionContext.__repr__" title="Link to this definition">¶</a></dt>
 <dd><p>Print a string representation of the Session Context.</p>
 </dd></dl>
 
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.context.SessionContext._convert_file_sort_order">
+<em class="property"><span class="pre">static</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">_convert_file_sort_order</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">file_sort_order</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">collections.abc.Sequence</span><span class="p"><span class="pre">[</span></span><span class="pre">c [...]
+<dd><p>Convert nested <code class="docutils literal notranslate"><span class="pre">SortKey</span></code> sequences into raw sort expressions.</p>
+<p>Each <code class="docutils literal notranslate"><span class="pre">SortKey</span></code> can be a column name string, an <code class="docutils literal notranslate"><span class="pre">Expr</span></code>, or a
+<code class="docutils literal notranslate"><span class="pre">SortExpr</span></code> and will be converted using
+<code class="xref py py-func docutils literal notranslate"><span class="pre">datafusion.expr.sort_list_to_raw_sort_list()</span></code>.</p>
+</dd></dl>
+
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.context.SessionContext._convert_table_partition_cols">
 <em class="property"><span class="pre">static</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">_convert_table_partition_cols</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">table_partition_cols</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="p"><span class="pre">[</span></span><span class="pre">tuple</span [...]
@@ -1940,7 +1980,7 @@ a struct array.</p>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.context.SessionContext.read_csv">
-<span class="sig-name descname"><span class="pre">read_csv</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">pathlib.Path</span><span class="w"> </span><span class="p"><span class="pre">|</sp [...]
+<span class="sig-name descname"><span class="pre">read_csv</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">pathlib.Path</span><span class="w"> </span><span class="p"><span class="pre">|</sp [...]
 <dd><p>Read a CSV data source.</p>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
@@ -1958,6 +1998,8 @@ files for schema inference if needed.</p></li>
 selected for data input.</p></li>
 <li><p><strong>table_partition_cols</strong> – Partition columns.</p></li>
 <li><p><strong>file_compression_type</strong> – File compression type.</p></li>
+<li><p><strong>options</strong> – Set advanced options for CSV reading. This cannot be
+combined with any of the other options in this method.</p></li>
 </ul>
 </dd>
 <dt class="field-even">Returns<span class="colon">:</span></dt>
@@ -1991,7 +2033,7 @@ selected for data input.</p></li>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.context.SessionContext.read_parquet">
-<span class="sig-name descname"><span class="pre">read_parquet</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">pathlib.Path</span></span></em>, <em class="sig-param"><span class="n"><span c [...]
+<span class="sig-name descname"><span class="pre">read_parquet</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">pathlib.Path</span></span></em>, <em class="sig-param"><span class="n"><span c [...]
 <dd><p>Read a Parquet source into a <code class="xref py py-class docutils literal notranslate"><span class="pre">Dataframe</span></code>.</p>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
@@ -2008,7 +2050,9 @@ conflicts due to metadata.</p></li>
 <li><p><strong>schema</strong> – An optional schema representing the parquet files. If None,
 the parquet reader will try to infer it based on data in the
 file.</p></li>
-<li><p><strong>file_sort_order</strong> – Sort order for the file.</p></li>
+<li><p><strong>file_sort_order</strong> – Sort order for the file. Each sort key can be
+specified as a column name (<code class="docutils literal notranslate"><span class="pre">str</span></code>), an expression
+(<code class="docutils literal notranslate"><span class="pre">Expr</span></code>), or a <code class="docutils literal notranslate"><span class="pre">SortExpr</span></code>.</p></li>
 </ul>
 </dd>
 <dt class="field-even">Returns<span class="colon">:</span></dt>
@@ -2019,11 +2063,8 @@ file.</p></li>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.context.SessionContext.read_table">
-<span class="sig-name descname"><span class="pre">read_table</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">table</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../catalog/index.html#datafusion.catalog.Table" title="datafusion.catalog.Table"><span class="pre">datafusion.catalog.Table</span></a></span></em><span class="sig-paren">)</span> <span c [...]
+<span class="sig-name descname"><span class="pre">read_table</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">table</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../catalog/index.html#datafusion.catalog.Table" title="datafusion.catalog.Table"><span class="pre">datafusion.catalog.Table</span></a><span class="w"> </span><span class="p"><span class= [...]
 <dd><p>Creates a <a class="reference internal" href="../dataframe/index.html#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code></a> from a table.</p>
-<p>For a <a class="reference internal" href="../catalog/index.html#datafusion.catalog.Table" title="datafusion.catalog.Table"><code class="xref py py-class docutils literal notranslate"><span class="pre">Table</span></code></a> such as a
-<code class="xref py py-class docutils literal notranslate"><span class="pre">ListingTable</span></code>, create a
-<a class="reference internal" href="../dataframe/index.html#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code></a>.</p>
 </dd></dl>
 
 <dl class="py method">
@@ -2047,13 +2088,19 @@ this context.</p>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.context.SessionContext.register_catalog_provider">
-<span class="sig-name descname"><span class="pre">register_catalog_provider</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">provider</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n" [...]
+<span class="sig-name descname"><span class="pre">register_catalog_provider</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">provider</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n" [...]
 <dd><p>Register a catalog provider.</p>
 </dd></dl>
 
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.context.SessionContext.register_catalog_provider_list">
+<span class="sig-name descname"><span class="pre">register_catalog_provider_list</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">provider</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">datafusion.catalog.CatalogProviderListExportable</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference internal" [...]
+<dd><p>Register a catalog provider list.</p>
+</dd></dl>
+
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.context.SessionContext.register_csv">
-<span class="sig-name descname"><span class="pre">register_csv</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre [...]
+<span class="sig-name descname"><span class="pre">register_csv</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre [...]
 <dd><p>Register a CSV file as a table.</p>
 <p>The registered table can be referenced from SQL statement executed against.</p>
 <dl class="field-list simple">
@@ -2072,6 +2119,8 @@ files for schema inference if needed.</p></li>
 <li><p><strong>file_extension</strong> – File extension; only files with this extension are
 selected for data input.</p></li>
 <li><p><strong>file_compression_type</strong> – File compression type.</p></li>
+<li><p><strong>options</strong> – Set advanced options for CSV reading. This cannot be
+combined with any of the other options in this method.</p></li>
 </ul>
 </dd>
 </dl>
@@ -2116,7 +2165,7 @@ selected for data input.</p></li>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.context.SessionContext.register_listing_table">
-<span class="sig-name descname"><span class="pre">register_listing_table</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span  [...]
+<span class="sig-name descname"><span class="pre">register_listing_table</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span  [...]
 <dd><p>Register multiple files as a single table.</p>
 <p>Registers a <a class="reference internal" href="../catalog/index.html#datafusion.catalog.Table" title="datafusion.catalog.Table"><code class="xref py py-class docutils literal notranslate"><span class="pre">Table</span></code></a> that can assemble multiple
 files from locations in an <code class="xref py py-class docutils literal notranslate"><span class="pre">ObjectStore</span></code>
@@ -2129,7 +2178,9 @@ instance.</p>
 <li><p><strong>table_partition_cols</strong> – Partition columns.</p></li>
 <li><p><strong>file_extension</strong> – File extension of the provided table.</p></li>
 <li><p><strong>schema</strong> – The data source schema.</p></li>
-<li><p><strong>file_sort_order</strong> – Sort order for the file.</p></li>
+<li><p><strong>file_sort_order</strong> – Sort order for the file. Each sort key can be
+specified as a column name (<code class="docutils literal notranslate"><span class="pre">str</span></code>), an expression
+(<code class="docutils literal notranslate"><span class="pre">Expr</span></code>), or a <code class="docutils literal notranslate"><span class="pre">SortExpr</span></code>.</p></li>
 </ul>
 </dd>
 </dl>
@@ -2152,7 +2203,7 @@ instance.</p>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.context.SessionContext.register_parquet">
-<span class="sig-name descname"><span class="pre">register_parquet</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class= [...]
+<span class="sig-name descname"><span class="pre">register_parquet</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class= [...]
 <dd><p>Register a Parquet file as a table.</p>
 <p>The registered table can be referenced from SQL statement executed
 against this context.</p>
@@ -2170,7 +2221,9 @@ selected for data input.</p></li>
 that may be in the file schema. This can help avoid schema
 conflicts due to metadata.</p></li>
 <li><p><strong>schema</strong> – The data source schema.</p></li>
-<li><p><strong>file_sort_order</strong> – Sort order for the file.</p></li>
+<li><p><strong>file_sort_order</strong> – Sort order for the file. Each sort key can be
+specified as a column name (<code class="docutils literal notranslate"><span class="pre">str</span></code>), an expression
+(<code class="docutils literal notranslate"><span class="pre">Expr</span></code>), or a <code class="docutils literal notranslate"><span class="pre">SortExpr</span></code>.</p></li>
 </ul>
 </dd>
 </dl>
@@ -2194,14 +2247,15 @@ register it into the session using the given name.</p>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.context.SessionContext.register_table">
-<span class="sig-name descname"><span class="pre">register_table</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">table</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="ref [...]
-<dd><p>Register a :py:class: <cite>~datafusion.catalog.Table</cite> as a table.</p>
-<p>The registered table can be referenced from SQL statement executed against.</p>
+<span class="sig-name descname"><span class="pre">register_table</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">table</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="ref [...]
+<dd><p>Register a <a class="reference internal" href="../index.html#datafusion.Table" title="datafusion.Table"><code class="xref py py-class docutils literal notranslate"><span class="pre">Table</span></code></a> with this context.</p>
+<p>The registered table can be referenced from SQL statements executed against
+this context.</p>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><ul class="simple">
 <li><p><strong>name</strong> – Name of the resultant table.</p></li>
-<li><p><strong>table</strong> – DataFusion table to add to the session context.</p></li>
+<li><p><strong>table</strong> – Any object that can be converted into a <code class="xref py py-class docutils literal notranslate"><span class="pre">Table</span></code>.</p></li>
 </ul>
 </dd>
 </dl>
@@ -2209,10 +2263,9 @@ register it into the session using the given name.</p>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.context.SessionContext.register_table_provider">
-<span class="sig-name descname"><span class="pre">register_table_provider</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">provider</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n">< [...]
+<span class="sig-name descname"><span class="pre">register_table_provider</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">provider</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n">< [...]
 <dd><p>Register a table provider.</p>
-<p>This table provider must have a method called <code class="docutils literal notranslate"><span class="pre">__datafusion_table_provider__</span></code>
-which returns a PyCapsule that exposes a <code class="docutils literal notranslate"><span class="pre">FFI_TableProvider</span></code>.</p>
+<p>Deprecated: use <a class="reference internal" href="#datafusion.context.SessionContext.register_table" title="datafusion.context.SessionContext.register_table"><code class="xref py py-meth docutils literal notranslate"><span class="pre">register_table()</span></code></a> instead.</p>
 </dd></dl>
 
 <dl class="py method">
@@ -2242,7 +2295,7 @@ which returns a PyCapsule that exposes a <code class="docutils literal notransla
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.context.SessionContext.register_view">
 <span class="sig-name descname"><span class="pre">register_view</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">df</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="referen [...]
-<dd><p>Register a :py:class: <cite>~datafusion.detaframe.DataFrame</cite> as a view.</p>
+<dd><p>Register a <a class="reference internal" href="../dataframe/index.html#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code></a> as a view.</p>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><ul class="simple">
@@ -2261,8 +2314,11 @@ which returns a PyCapsule that exposes a <code class="docutils literal notransla
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.context.SessionContext.sql">
-<span class="sig-name descname"><span class="pre">sql</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">query</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">options</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference i [...]
+<span class="sig-name descname"><span class="pre">sql</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">query</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">options</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference i [...]
 <dd><p>Create a <code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code> from SQL query text.</p>
+<p>See the online documentation for a description of how to perform
+parameterized substitution via either the <code class="docutils literal notranslate"><span class="pre">param_values</span></code> option
+or passing in <code class="docutils literal notranslate"><span class="pre">named_params</span></code>.</p>
 <p>Note: This API implements DDL statements such as <code class="docutils literal notranslate"><span class="pre">CREATE</span> <span class="pre">TABLE</span></code> and
 <code class="docutils literal notranslate"><span class="pre">CREATE</span> <span class="pre">VIEW</span></code> and DML statements such as <code class="docutils literal notranslate"><span class="pre">INSERT</span> <span class="pre">INTO</span></code> with in-memory
 default implementation.See
@@ -2272,6 +2328,9 @@ default implementation.See
 <dd class="field-odd"><ul class="simple">
 <li><p><strong>query</strong> – SQL query text.</p></li>
 <li><p><strong>options</strong> – If provided, the query will be validated against these options.</p></li>
+<li><p><strong>param_values</strong> – Provides substitution of scalar values in the query
+after parsing.</p></li>
+<li><p><strong>named_params</strong> – Provides string or DataFrame substitution in the query string.</p></li>
 </ul>
 </dd>
 <dt class="field-even">Returns<span class="colon">:</span></dt>
@@ -2282,7 +2341,7 @@ default implementation.See
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.context.SessionContext.sql_with_options">
-<span class="sig-name descname"><span class="pre">sql_with_options</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">query</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">options</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class [...]
+<span class="sig-name descname"><span class="pre">sql_with_options</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">query</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">options</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class [...]
 <dd><p>Create a <a class="reference internal" href="../dataframe/index.html#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code></a> from SQL query text.</p>
 <p>This function will first validate that the query is allowed by the
 provided options.</p>
@@ -2291,6 +2350,9 @@ provided options.</p>
 <dd class="field-odd"><ul class="simple">
 <li><p><strong>query</strong> – SQL query text.</p></li>
 <li><p><strong>options</strong> – SQL options.</p></li>
+<li><p><strong>param_values</strong> – Provides substitution of scalar values in the query
+after parsing.</p></li>
+<li><p><strong>named_params</strong> – Provides string or DataFrame substitution in the query string.</p></li>
 </ul>
 </dd>
 <dt class="field-even">Returns<span class="colon">:</span></dt>
@@ -2311,6 +2373,14 @@ provided options.</p>
 <dd><p>Return whether a table with the given name exists.</p>
 </dd></dl>
 
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.context.SessionContext.with_logical_extension_codec">
+<span class="sig-name descname"><span class="pre">with_logical_extension_codec</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">codec</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Any</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference intern [...]
+<dd><p>Create a new session context with specified codec.</p>
+<p>This only supports codecs that have been implemented using the
+FFI interface.</p>
+</dd></dl>
+
 <dl class="py attribute">
 <dt class="sig sig-object py" id="datafusion.context.SessionContext.ctx">
 <span class="sig-name descname"><span class="pre">ctx</span></span><a class="headerlink" href="#datafusion.context.SessionContext.ctx" title="Link to this definition">¶</a></dt>
@@ -2326,7 +2396,7 @@ provided options.</p>
 <p><a class="reference external" href="https://datafusion.apache.org/python/user-guide/io/table_provider.html">https://datafusion.apache.org/python/user-guide/io/table_provider.html</a></p>
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.context.TableProviderExportable.__datafusion_table_provider__">
-<span class="sig-name descname"><span class="pre">__datafusion_table_provider__</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">object</span></span></span><a class="headerlink" href="#datafusion.context.TableProviderExportable.__datafusion_table_provider__" title="Link to this definition">¶</a></dt>
+<span class="sig-name descname"><span class="pre">__datafusion_table_provider__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">session</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Any</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">objec [...]
 <dd></dd></dl>
 
 </dd></dl>
diff --git a/autoapi/datafusion/dataframe/index.html b/autoapi/datafusion/dataframe/index.html
index ba47b9f9..75b0c0c4 100644
--- a/autoapi/datafusion/dataframe/index.html
+++ b/autoapi/datafusion/dataframe/index.html
@@ -243,6 +243,11 @@
    SQL
   </a>
  </li>
+ <li class="toctree-l1">
+  <a class="reference internal" href="../../../user-guide/upgrade-guides.html">
+   Upgrade Guides
+  </a>
+ </li>
 </ul>
 <p aria-level="2" class="caption" role="heading">
  <span class="caption-text">
@@ -354,6 +359,11 @@
        datafusion.object_store
       </a>
      </li>
+     <li class="toctree-l3">
+      <a class="reference internal" href="../options/index.html">
+       datafusion.options
+      </a>
+     </li>
      <li class="toctree-l3">
       <a class="reference internal" href="../plan/index.html">
        datafusion.plan
@@ -518,6 +528,15 @@
      </code>
     </a>
     <ul class="nav section-nav flex-column">
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.DataFrame.__aiter__">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         DataFrame.__aiter__()
+        </span>
+       </code>
+      </a>
+     </li>
      <li class="toc-h4 nav-item toc-entry">
       <a class="reference internal nav-link" href="#datafusion.dataframe.DataFrame.__arrow_c_stream__">
        <code class="docutils literal notranslate">
@@ -536,6 +555,15 @@
        </code>
       </a>
      </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.DataFrame.__iter__">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         DataFrame.__iter__()
+        </span>
+       </code>
+      </a>
+     </li>
      <li class="toc-h4 nav-item toc-entry">
       <a class="reference internal nav-link" href="#datafusion.dataframe.DataFrame.__repr__">
        <code class="docutils literal notranslate">
@@ -590,6 +618,15 @@
        </code>
       </a>
      </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.DataFrame.collect_column">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         DataFrame.collect_column()
+        </span>
+       </code>
+      </a>
+     </li>
      <li class="toc-h4 nav-item toc-entry">
       <a class="reference internal nav-link" href="#datafusion.dataframe.DataFrame.collect_partitioned">
        <code class="docutils literal notranslate">
@@ -779,6 +816,15 @@
        </code>
       </a>
      </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.DataFrame.parse_sql_expr">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         DataFrame.parse_sql_expr()
+        </span>
+       </code>
+      </a>
+     </li>
      <li class="toc-h4 nav-item toc-entry">
       <a class="reference internal nav-link" href="#datafusion.dataframe.DataFrame.repartition">
        <code class="docutils literal notranslate">
@@ -824,6 +870,15 @@
        </code>
       </a>
      </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.DataFrame.select_exprs">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         DataFrame.select_exprs()
+        </span>
+       </code>
+      </a>
+     </li>
      <li class="toc-h4 nav-item toc-entry">
       <a class="reference internal nav-link" href="#datafusion.dataframe.DataFrame.show">
        <code class="docutils literal notranslate">
@@ -995,6 +1050,15 @@
        </code>
       </a>
      </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.DataFrame.write_table">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         DataFrame.write_table()
+        </span>
+       </code>
+      </a>
+     </li>
      <li class="toc-h4 nav-item toc-entry">
       <a class="reference internal nav-link" href="#datafusion.dataframe.DataFrame.df">
        <code class="docutils literal notranslate">
@@ -1007,136 +1071,19 @@
     </ul>
    </li>
    <li class="toc-h3 nav-item toc-entry">
-    <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetColumnOptions">
+    <a class="reference internal nav-link" href="#datafusion.dataframe.DataFrameWriteOptions">
      <code class="docutils literal notranslate">
       <span class="pre">
-       ParquetColumnOptions
+       DataFrameWriteOptions
       </span>
      </code>
     </a>
     <ul class="nav section-nav flex-column">
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetColumnOptions.encoding">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.encoding
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetColumnOptions.dictionary_enabled">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.dictionary_enabled
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetColumnOptions.compression">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.compression
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetColumnOptions.statistics_enabled">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.statistics_enabled
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetColumnOptions.bloom_filter_enabled">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.bloom_filter_enabled
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetColumnOptions.bloom_filter_fpp">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.bloom_filter_fpp
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetColumnOptions.bloom_filter_ndv">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.bloom_filter_ndv
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id0">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.bloom_filter_enabled
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id1">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.bloom_filter_fpp
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id2">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.bloom_filter_ndv
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id3">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.compression
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id4">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.dictionary_enabled
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id5">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.encoding
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id6">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.DataFrameWriteOptions._raw_write_options">
        <code class="docutils literal notranslate">
         <span class="pre">
-         ParquetColumnOptions.statistics_enabled
+         DataFrameWriteOptions._raw_write_options
         </span>
        </code>
       </a>
@@ -1144,205 +1091,128 @@
     </ul>
    </li>
    <li class="toc-h3 nav-item toc-entry">
-    <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions">
+    <a class="reference internal nav-link" href="#datafusion.dataframe.InsertOp">
      <code class="docutils literal notranslate">
       <span class="pre">
-       ParquetWriterOptions
+       InsertOp
       </span>
      </code>
     </a>
     <ul class="nav section-nav flex-column">
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.data_pagesize_limit">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.data_pagesize_limit
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.write_batch_size">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.write_batch_size
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.writer_version">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.writer_version
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.skip_arrow_metadata">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.skip_arrow_metadata
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.compression">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.compression
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.dictionary_enabled">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.dictionary_enabled
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.dictionary_page_size_limit">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.dictionary_page_size_limit
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.statistics_enabled">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.statistics_enabled
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.max_row_group_size">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.max_row_group_size
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.created_by">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.InsertOp.APPEND">
        <code class="docutils literal notranslate">
         <span class="pre">
-         ParquetWriterOptions.created_by
+         InsertOp.APPEND
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.column_index_truncate_length">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.InsertOp.OVERWRITE">
        <code class="docutils literal notranslate">
         <span class="pre">
-         ParquetWriterOptions.column_index_truncate_length
+         InsertOp.OVERWRITE
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.statistics_truncate_length">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.InsertOp.REPLACE">
        <code class="docutils literal notranslate">
         <span class="pre">
-         ParquetWriterOptions.statistics_truncate_length
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.data_page_row_count_limit">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.data_page_row_count_limit
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.encoding">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.encoding
+         InsertOp.REPLACE
         </span>
        </code>
       </a>
      </li>
+    </ul>
+   </li>
+   <li class="toc-h3 nav-item toc-entry">
+    <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetColumnOptions">
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       ParquetColumnOptions
+      </span>
+     </code>
+    </a>
+    <ul class="nav section-nav flex-column">
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.bloom_filter_on_write">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetColumnOptions.bloom_filter_enabled">
        <code class="docutils literal notranslate">
         <span class="pre">
-         ParquetWriterOptions.bloom_filter_on_write
+         ParquetColumnOptions.bloom_filter_enabled
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.bloom_filter_fpp">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetColumnOptions.bloom_filter_fpp">
        <code class="docutils literal notranslate">
         <span class="pre">
-         ParquetWriterOptions.bloom_filter_fpp
+         ParquetColumnOptions.bloom_filter_fpp
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.bloom_filter_ndv">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetColumnOptions.bloom_filter_ndv">
        <code class="docutils literal notranslate">
         <span class="pre">
-         ParquetWriterOptions.bloom_filter_ndv
+         ParquetColumnOptions.bloom_filter_ndv
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.allow_single_file_parallelism">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetColumnOptions.compression">
        <code class="docutils literal notranslate">
         <span class="pre">
-         ParquetWriterOptions.allow_single_file_parallelism
+         ParquetColumnOptions.compression
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.maximum_parallel_row_group_writers">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetColumnOptions.dictionary_enabled">
        <code class="docutils literal notranslate">
         <span class="pre">
-         ParquetWriterOptions.maximum_parallel_row_group_writers
+         ParquetColumnOptions.dictionary_enabled
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.maximum_buffered_record_batches_per_stream">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetColumnOptions.encoding">
        <code class="docutils literal notranslate">
         <span class="pre">
-         ParquetWriterOptions.maximum_buffered_record_batches_per_stream
+         ParquetColumnOptions.encoding
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.column_specific_options">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetColumnOptions.statistics_enabled">
        <code class="docutils literal notranslate">
         <span class="pre">
-         ParquetWriterOptions.column_specific_options
+         ParquetColumnOptions.statistics_enabled
         </span>
        </code>
       </a>
      </li>
+    </ul>
+   </li>
+   <li class="toc-h3 nav-item toc-entry">
+    <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions">
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       ParquetWriterOptions
+      </span>
+     </code>
+    </a>
+    <ul class="nav section-nav flex-column">
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id7">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.allow_single_file_parallelism">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.allow_single_file_parallelism
@@ -1351,7 +1221,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id8">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.bloom_filter_fpp">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.bloom_filter_fpp
@@ -1360,7 +1230,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id9">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.bloom_filter_ndv">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.bloom_filter_ndv
@@ -1369,7 +1239,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id10">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.bloom_filter_on_write">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.bloom_filter_on_write
@@ -1378,7 +1248,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id11">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.column_index_truncate_length">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.column_index_truncate_length
@@ -1387,7 +1257,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id12">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.column_specific_options">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.column_specific_options
@@ -1396,7 +1266,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id13">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.created_by">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.created_by
@@ -1405,7 +1275,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id14">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.data_page_row_count_limit">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.data_page_row_count_limit
@@ -1414,7 +1284,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id15">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.data_pagesize_limit">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.data_pagesize_limit
@@ -1423,7 +1293,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id16">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.dictionary_enabled">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.dictionary_enabled
@@ -1432,7 +1302,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id17">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.dictionary_page_size_limit">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.dictionary_page_size_limit
@@ -1441,7 +1311,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id18">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.encoding">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.encoding
@@ -1450,7 +1320,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id19">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.max_row_group_size">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.max_row_group_size
@@ -1459,7 +1329,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id20">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.maximum_buffered_record_batches_per_stream">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.maximum_buffered_record_batches_per_stream
@@ -1468,7 +1338,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id21">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.maximum_parallel_row_group_writers">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.maximum_parallel_row_group_writers
@@ -1477,7 +1347,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id22">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.skip_arrow_metadata">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.skip_arrow_metadata
@@ -1486,7 +1356,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id23">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.statistics_enabled">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.statistics_enabled
@@ -1495,7 +1365,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id24">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.statistics_truncate_length">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.statistics_truncate_length
@@ -1504,7 +1374,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id25">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.write_batch_size">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.write_batch_size
@@ -1513,7 +1383,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id26">
+      <a class="reference internal nav-link" href="#datafusion.dataframe.ParquetWriterOptions.writer_version">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.writer_version
@@ -1560,6 +1430,12 @@
 <tr class="row-even"><td><p><a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><code class="xref py py-obj docutils literal notranslate"><span class="pre">DataFrame</span></code></a></p></td>
 <td><p>Two dimensional table representation of data.</p></td>
 </tr>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.dataframe.DataFrameWriteOptions" title="datafusion.dataframe.DataFrameWriteOptions"><code class="xref py py-obj docutils literal notranslate"><span class="pre">DataFrameWriteOptions</span></code></a></p></td>
+<td><p>Writer options for DataFrame.</p></td>
+</tr>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.dataframe.InsertOp" title="datafusion.dataframe.InsertOp"><code class="xref py py-obj docutils literal notranslate"><span class="pre">InsertOp</span></code></a></p></td>
+<td><p>Insert operation mode.</p></td>
+</tr>
 <tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.dataframe.ParquetColumnOptions" title="datafusion.dataframe.ParquetColumnOptions"><code class="xref py py-obj docutils literal notranslate"><span class="pre">ParquetColumnOptions</span></code></a></p></td>
 <td><p>Parquet options for individual columns.</p></td>
 </tr>
@@ -1573,7 +1449,7 @@
 <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to this heading">¶</a></h2>
 <dl class="py class">
 <dt class="sig sig-object py" id="datafusion.dataframe.Compression">
-<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.dataframe.</span></span><span class="sig-name descname"><span class="pre">Compression</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">args</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span clas [...]
+<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.dataframe.</span></span><span class="sig-name descname"><span class="pre">Compression</span></span><a class="headerlink" href="#datafusion.dataframe.Compression" title="Link to this definition">¶</a></dt>
 <dd><p>Bases: <code class="xref py py-obj docutils literal notranslate"><span class="pre">enum.Enum</span></code></p>
 <p>Enum representing the available compression types for Parquet files.</p>
 <dl class="py method">
@@ -1645,32 +1521,56 @@
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame">
 <em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.dataframe.</span></span><span class="sig-name descname"><span class="pre">DataFrame</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">df</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">datafusion._internal.DataFrame</spa [...]
 <dd><p>Two dimensional table representation of data.</p>
+<p>DataFrame objects are iterable; iterating over a DataFrame yields
+<a class="reference internal" href="../index.html#datafusion.RecordBatch" title="datafusion.RecordBatch"><code class="xref py py-class docutils literal notranslate"><span class="pre">datafusion.RecordBatch</span></code></a> instances lazily.</p>
 <p>See <a class="reference internal" href="../../../user-guide/basics.html#user-guide-concepts"><span class="std std-ref">Concepts</span></a> in the online documentation for more information.</p>
 <p>This constructor is not to be used by the end user.</p>
 <p>See <a class="reference internal" href="../context/index.html#datafusion.context.SessionContext" title="datafusion.context.SessionContext"><code class="xref py py-class docutils literal notranslate"><span class="pre">SessionContext</span></code></a> for methods to
 create a <a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code></a>.</p>
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.__aiter__">
+<span class="sig-name descname"><span class="pre">__aiter__</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">collections.abc.AsyncIterator</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../record_batch/index.html#datafusion.record_batch.RecordBatch" title="datafusion.record_batch.RecordBatch"><s [...]
+<dd><p>Return an async iterator over this DataFrame’s record batches.</p>
+<p>We’re using __aiter__ because we support Python &lt; 3.10 where aiter() is not
+available.</p>
+</dd></dl>
+
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.__arrow_c_stream__">
 <span class="sig-name descname"><span class="pre">__arrow_c_stream__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">requested_schema</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">object</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o" [...]
-<dd><p>Export an Arrow PyCapsule Stream.</p>
-<p>This will execute and collect the DataFrame. We will attempt to respect the
-requested schema, but only trivial transformations will be applied such as only
-returning the fields listed in the requested schema if their data types match
-those in the DataFrame.</p>
+<dd><p>Export the DataFrame as an Arrow C Stream.</p>
+<p>The DataFrame is executed using DataFusion’s streaming APIs and exposed via
+Arrow’s C Stream interface. Record batches are produced incrementally, so the
+full result set is never materialized in memory.</p>
+<p>When <code class="docutils literal notranslate"><span class="pre">requested_schema</span></code> is provided, DataFusion applies only simple
+projections such as selecting a subset of existing columns or reordering
+them. Column renaming, computed expressions, or type coercion are not
+supported through this interface.</p>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
-<dd class="field-odd"><p><strong>requested_schema</strong> – Attempt to provide the DataFrame using this schema.</p>
+<dd class="field-odd"><p><strong>requested_schema</strong> – Either a <code class="xref py py-class docutils literal notranslate"><span class="pre">pyarrow.Schema</span></code> or an Arrow C
+Schema capsule (<code class="docutils literal notranslate"><span class="pre">PyCapsule</span></code>) produced by
+<code class="docutils literal notranslate"><span class="pre">schema._export_to_c_capsule()</span></code>. The DataFrame will attempt to
+align its output with the fields and order specified by this schema.</p>
 </dd>
 <dt class="field-even">Returns<span class="colon">:</span></dt>
-<dd class="field-even"><p>Arrow PyCapsule object.</p>
+<dd class="field-even"><p>Arrow <code class="docutils literal notranslate"><span class="pre">PyCapsule</span></code> object representing an <code class="docutils literal notranslate"><span class="pre">ArrowArrayStream</span></code>.</p>
 </dd>
 </dl>
+<p>For practical usage patterns, see the Apache Arrow streaming
+documentation: <a class="reference external" href="https://arrow.apache.org/docs/python/ipc.html#streaming">https://arrow.apache.org/docs/python/ipc.html#streaming</a>.</p>
+<p>For details on DataFusion’s Arrow integration and DataFrame streaming,
+see the user guide (user-guide/io/arrow and user-guide/dataframe/index).</p>
+<p class="rubric">Notes</p>
+<p>The Arrow C Data Interface PyCapsule details are documented by Apache
+Arrow and can be found at:
+<a class="reference external" href="https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html">https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html</a></p>
 </dd></dl>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.__getitem__">
 <span class="sig-name descname"><span class="pre">__getitem__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">key</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">list</span><span class="p"><span class="pre">[</span></span><span class="pre">st [...]
-<dd><p>Return a new :py:class`DataFrame` with the specified column or columns.</p>
+<dd><p>Return a new <a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code></a> with the specified column or columns.</p>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><p><strong>key</strong> – Column name or list of column names to select.</p>
@@ -1681,6 +1581,12 @@ those in the DataFrame.</p>
 </dl>
 </dd></dl>
 
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.__iter__">
+<span class="sig-name descname"><span class="pre">__iter__</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">collections.abc.Iterator</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../record_batch/index.html#datafusion.record_batch.RecordBatch" title="datafusion.record_batch.RecordBatch"><span cl [...]
+<dd><p>Return an iterator over this DataFrame’s record batches.</p>
+</dd></dl>
+
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.__repr__">
 <span class="sig-name descname"><span class="pre">__repr__</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">str</span></span></span><a class="headerlink" href="#datafusion.dataframe.DataFrame.__repr__" title="Link to this definition">¶</a></dt>
@@ -1699,13 +1605,13 @@ those in the DataFrame.</p>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.aggregate">
-<span class="sig-name descname"><span class="pre">aggregate</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">group_by</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre">datafusion.expr.Ex [...]
+<span class="sig-name descname"><span class="pre">aggregate</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">group_by</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">collections.abc.Sequence</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre [...]
 <dd><p>Aggregates the rows of the current DataFrame.</p>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><ul class="simple">
-<li><p><strong>group_by</strong> – List of expressions to group by.</p></li>
-<li><p><strong>aggs</strong> – List of expressions to aggregate.</p></li>
+<li><p><strong>group_by</strong> – Sequence of expressions or column names to group by.</p></li>
+<li><p><strong>aggs</strong> – Sequence of expressions to aggregate.</p></li>
 </ul>
 </dd>
 <dt class="field-even">Returns<span class="colon">:</span></dt>
@@ -1753,6 +1659,12 @@ computation.</p>
 </dl>
 </dd></dl>
 
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.collect_column">
+<span class="sig-name descname"><span class="pre">collect_column</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">column_name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">pyarrow.Array</s [...]
+<dd><p>Executes this <a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code></a> for a single column.</p>
+</dd></dl>
+
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.collect_partitioned">
 <span class="sig-name descname"><span class="pre">collect_partitioned</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">list</span><span class="p"><span class="pre">[</span></span><span class="pre">list</span><span class="p"><span class="pre">[</span></span><span class="pre">pyarrow.RecordBatch</span><span class="p"><span class="pre">]</sp [...]
@@ -1820,14 +1732,23 @@ for non-numeric datatypes.</p>
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.drop">
 <span class="sig-name descname"><span class="pre">drop</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">columns</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint" [...]
 <dd><p>Drop arbitrary amount of columns.</p>
+<p>Column names are case-sensitive and do not require double quotes like
+other operations such as <cite>select</cite>. Leading and trailing double quotes
+are allowed and will be automatically stripped if present.</p>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
-<dd class="field-odd"><p><strong>columns</strong> – Column names to drop from the dataframe.</p>
+<dd class="field-odd"><p><strong>columns</strong> – Column names to drop from the dataframe. Both <code class="docutils literal notranslate"><span class="pre">column_name</span></code>
+and <code class="docutils literal notranslate"><span class="pre">&quot;column_name&quot;</span></code> are accepted.</p>
 </dd>
 <dt class="field-even">Returns<span class="colon">:</span></dt>
 <dd class="field-even"><p>DataFrame with those columns removed in the projection.</p>
 </dd>
 </dl>
+<p>Example Usage:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">df</span><span class="o">.</span><span class="n">drop</span><span class="p">(</span><span class="s1">&#39;ID_For_Students&#39;</span><span class="p">)</span>      <span class="c1"># Works</span>
+<span class="n">df</span><span class="o">.</span><span class="n">drop</span><span class="p">(</span><span class="s1">&#39;&quot;ID_For_Students&quot;&#39;</span><span class="p">)</span>    <span class="c1"># Also works (quotes stripped)</span>
+</pre></div>
+</div>
 </dd></dl>
 
 <dl class="py method">
@@ -1924,15 +1845,24 @@ for non-numeric datatypes.</p>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.filter">
-<span class="sig-name descname"><span class="pre">filter</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">predicates</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre">datafusion.expr.Expr</span></a></span></em><span [...]
+<span class="sig-name descname"><span class="pre">filter</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">predicates</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre">datafusion.expr.Expr</span></a><span class="w">  [...]
 <dd><p>Return a DataFrame for which <code class="docutils literal notranslate"><span class="pre">predicate</span></code> evaluates to <code class="docutils literal notranslate"><span class="pre">True</span></code>.</p>
 <p>Rows for which <code class="docutils literal notranslate"><span class="pre">predicate</span></code> evaluates to <code class="docutils literal notranslate"><span class="pre">False</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code> are filtered
-out.  If more than one predicate is provided, these predicates will be
-combined as a logical AND. If more complex logic is required, see the
-logical operations in <a class="reference internal" href="../functions/index.html#module-datafusion.functions" title="datafusion.functions"><code class="xref py py-mod docutils literal notranslate"><span class="pre">functions</span></code></a>.</p>
+out. If more than one predicate is provided, these predicates will be
+combined as a logical AND. Each <code class="docutils literal notranslate"><span class="pre">predicate</span></code> can be an
+<a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><code class="xref py py-class docutils literal notranslate"><span class="pre">Expr</span></code></a> created using helper functions such as
+<a class="reference internal" href="../index.html#datafusion.col" title="datafusion.col"><code class="xref py py-func docutils literal notranslate"><span class="pre">datafusion.col()</span></code></a> or <a class="reference internal" href="../index.html#datafusion.lit" title="datafusion.lit"><code class="xref py py-func docutils literal notranslate"><span class="pre">datafusion.lit()</span></code></a>, or a SQL expression string
+that will be parsed against the DataFrame schema. If more complex logic is
+required, see the logical operations in <a class="reference internal" href="../functions/index.html#module-datafusion.functions" title="datafusion.functions"><code class="xref py py-mod docutils literal notranslate"><span class="pre">functions</span></code></a>.</p>
+<p>Example:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span><span class="w"> </span><span class="nn">datafusion</span><span class="w"> </span><span class="kn">import</span> <span class="n">col</span><span class="p">,</span> <span class="n">lit</span>
+<span class="n">df</span><span class="o">.</span><span class="n">filter</span><span class="p">(</span><span class="n">col</span><span class="p">(</span><span class="s2">&quot;a&quot;</span><span class="p">)</span> <span class="o">&gt;</span> <span class="n">lit</span><span class="p">(</span><span class="mi">1</span><span class="p">))</span>
+<span class="n">df</span><span class="o">.</span><span class="n">filter</span><span class="p">(</span><span class="s2">&quot;a &gt; 1&quot;</span><span class="p">)</span>
+</pre></div>
+</div>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
-<dd class="field-odd"><p><strong>predicates</strong> – Predicate expression(s) to filter the DataFrame.</p>
+<dd class="field-odd"><p><strong>predicates</strong> – Predicate expression(s) or SQL strings to filter the DataFrame.</p>
 </dd>
 <dt class="field-even">Returns<span class="colon">:</span></dt>
 <dd class="field-even"><p>DataFrame after filtering.</p>
@@ -1971,17 +1901,27 @@ logical operations in <a class="reference internal" href="../functions/index.htm
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.into_view">
-<span class="sig-name descname"><span class="pre">into_view</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">pyarrow.Table</span></span></span><a class="headerlink" href="#datafusion.dataframe.DataFrame.into_view" title="Link to this definition">¶</a></dt>
-<dd><p>Convert DataFrame as a ViewTable which can be used in register_table.</p>
+<span class="sig-name descname"><span class="pre">into_view</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">temporary</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">bool</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em><span class="sig [...]
+<dd><p>Convert <code class="docutils literal notranslate"><span class="pre">DataFrame</span></code> into a <a class="reference internal" href="../index.html#datafusion.Table" title="datafusion.Table"><code class="xref py py-class docutils literal notranslate"><span class="pre">Table</span></code></a>.</p>
+<p class="rubric">Examples</p>
+<div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="kn">from</span><span class="w"> </span><span class="nn">datafusion</span><span class="w"> </span><span class="kn">import</span> <span class="n">SessionContext</span>
+<span class="gp">&gt;&gt;&gt; </span><span class="n">ctx</span> <span class="o">=</span> <span class="n">SessionContext</span><span class="p">()</span>
+<span class="gp">&gt;&gt;&gt; </span><span class="n">df</span> <span class="o">=</span> <span class="n">ctx</span><span class="o">.</span><span class="n">sql</span><span class="p">(</span><span class="s2">&quot;SELECT 1 AS value&quot;</span><span class="p">)</span>
+<span class="gp">&gt;&gt;&gt; </span><span class="n">view</span> <span class="o">=</span> <span class="n">df</span><span class="o">.</span><span class="n">into_view</span><span class="p">()</span>
+<span class="gp">&gt;&gt;&gt; </span><span class="n">ctx</span><span class="o">.</span><span class="n">register_table</span><span class="p">(</span><span class="s2">&quot;values_view&quot;</span><span class="p">,</span> <span class="n">view</span><span class="p">)</span>
+<span class="gp">&gt;&gt;&gt; </span><span class="n">df</span><span class="o">.</span><span class="n">collect</span><span class="p">()</span>  <span class="c1"># The DataFrame is still usable</span>
+<span class="gp">&gt;&gt;&gt; </span><span class="n">ctx</span><span class="o">.</span><span class="n">sql</span><span class="p">(</span><span class="s2">&quot;SELECT value FROM values_view&quot;</span><span class="p">)</span><span class="o">.</span><span class="n">collect</span><span class="p">()</span>
+</pre></div>
+</div>
 </dd></dl>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.join">
-<span class="sig-name descname"><span class="pre">join</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">right</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><span class="pre">DataFrame</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">on</span></s [...]
+<span class="sig-name descname"><span class="pre">join</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">right</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><span class="pre">DataFrame</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">on</span></s [...]
 <dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">join</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">right</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><span class="pre">DataFrame</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">on</span></s [...]
+<span class="sig-name descname"><span class="pre">join</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">right</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><span class="pre">DataFrame</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">on</span></s [...]
 <dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">join</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">right</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><span class="pre">DataFrame</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">on</span></s [...]
+<span class="sig-name descname"><span class="pre">join</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">right</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><span class="pre">DataFrame</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">on</span></s [...]
 <dd><p>Join this <a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code></a> with another <a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code></a>.</p>
 <p><cite>on</cite> has to be provided or both <cite>left_on</cite> and <cite>right_on</cite> in conjunction.</p>
 <dl class="field-list simple">
@@ -1993,6 +1933,9 @@ logical operations in <a class="reference internal" href="../functions/index.htm
 “right”, “full”, “semi”, “anti”.</p></li>
 <li><p><strong>left_on</strong> – Join column of the left dataframe.</p></li>
 <li><p><strong>right_on</strong> – Join column of the right dataframe.</p></li>
+<li><p><strong>coalesce_duplicate_keys</strong> – When True, coalesce the columns
+from the right DataFrame and left DataFrame
+that have identical names in the <code class="docutils literal notranslate"><span class="pre">on</span></code> fields.</p></li>
 <li><p><strong>join_keys</strong> – Tuple of two lists of column names to join on. [Deprecated]</p></li>
 </ul>
 </dd>
@@ -2006,8 +1949,14 @@ logical operations in <a class="reference internal" href="../functions/index.htm
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.join_on">
 <span class="sig-name descname"><span class="pre">join_on</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">right</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><span class="pre">DataFrame</span></a></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span>< [...]
 <dd><p>Join two <a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code></a> using the specified expressions.</p>
-<p>On expressions are used to support in-equality predicates. Equality
-predicates are correctly optimized</p>
+<p>Join predicates must be <a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><code class="xref py py-class docutils literal notranslate"><span class="pre">Expr</span></code></a> objects, typically
+built with <a class="reference internal" href="../index.html#datafusion.col" title="datafusion.col"><code class="xref py py-func docutils literal notranslate"><span class="pre">datafusion.col()</span></code></a>. On expressions are used to support
+in-equality predicates. Equality predicates are correctly optimized.</p>
+<p>Example:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span><span class="w"> </span><span class="nn">datafusion</span><span class="w"> </span><span class="kn">import</span> <span class="n">col</span>
+<span class="n">df</span><span class="o">.</span><span class="n">join_on</span><span class="p">(</span><span class="n">other_df</span><span class="p">,</span> <span class="n">col</span><span class="p">(</span><span class="s2">&quot;id&quot;</span><span class="p">)</span> <span class="o">==</span> <span class="n">col</span><span class="p">(</span><span class="s2">&quot;other_id&quot;</span><span class="p">))</span>
+</pre></div>
+</div>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><ul class="simple">
@@ -2062,6 +2011,30 @@ predicates are correctly optimized</p>
 </dl>
 </dd></dl>
 
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.parse_sql_expr">
+<span class="sig-name descname"><span class="pre">parse_sql_expr</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">expr</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="../ex [...]
+<dd><p>Creates logical expression from a SQL query text.</p>
+<p>The expression is created and processed against the current schema.</p>
+<p>Example:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span><span class="w"> </span><span class="nn">datafusion</span><span class="w"> </span><span class="kn">import</span> <span class="n">col</span><span class="p">,</span> <span class="n">lit</span>
+<span class="n">df</span><span class="o">.</span><span class="n">parse_sql_expr</span><span class="p">(</span><span class="s2">&quot;a &gt; 1&quot;</span><span class="p">)</span>
+
+<span class="n">should</span> <span class="n">produce</span><span class="p">:</span>
+
+<span class="n">col</span><span class="p">(</span><span class="s2">&quot;a&quot;</span><span class="p">)</span> <span class="o">&gt;</span> <span class="n">lit</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span>
+</pre></div>
+</div>
+<dl class="field-list simple">
+<dt class="field-odd">Parameters<span class="colon">:</span></dt>
+<dd class="field-odd"><p><strong>expr</strong> – Expression string to be converted to datafusion expression</p>
+</dd>
+<dt class="field-even">Returns<span class="colon">:</span></dt>
+<dd class="field-even"><p>Logical expression .</p>
+</dd>
+</dl>
+</dd></dl>
+
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.repartition">
 <span class="sig-name descname"><span class="pre">repartition</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">num</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#datafusi [...]
@@ -2079,12 +2052,13 @@ predicates are correctly optimized</p>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.repartition_by_hash">
-<span class="sig-name descname"><span class="pre">repartition_by_hash</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">exprs</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre">datafusion.expr.Expr</span></a></span></ [...]
+<span class="sig-name descname"><span class="pre">repartition_by_hash</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">exprs</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre">datafusion.expr.Expr</span></a><span cla [...]
 <dd><p>Repartition a DataFrame using a hash partitioning scheme.</p>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><ul class="simple">
-<li><p><strong>exprs</strong> – Expressions to evaluate and perform hashing on.</p></li>
+<li><p><strong>exprs</strong> – Expressions or a SQL expression string to evaluate
+and perform hashing on.</p></li>
 <li><p><strong>num</strong> – Number of partitions to repartition the DataFrame into.</p></li>
 </ul>
 </dd>
@@ -2140,6 +2114,19 @@ column <code class="docutils literal notranslate"><span class="pre">a</span></co
 </dl>
 </dd></dl>
 
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.select_exprs">
+<span class="sig-name descname"><span class="pre">select_exprs</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">args</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-type [...]
+<dd><p>Project arbitrary list of expression strings into a new DataFrame.</p>
+<p>This method will parse string expressions into logical plan expressions.
+The output DataFrame has one column for each expression.</p>
+<dl class="field-list simple">
+<dt class="field-odd">Returns<span class="colon">:</span></dt>
+<dd class="field-odd"><p>DataFrame only containing the specified columns.</p>
+</dd>
+</dl>
+</dd></dl>
+
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.show">
 <span class="sig-name descname"><span class="pre">show</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">num</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">20</span></span></em><span class="sig-paren">)</span [...]
@@ -2153,13 +2140,13 @@ column <code class="docutils literal notranslate"><span class="pre">a</span></co
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.sort">
-<span class="sig-name descname"><span class="pre">sort</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">exprs</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre">datafusion.expr.Expr</span></a><span class="w"> </span> [...]
-<dd><p>Sort the DataFrame by the specified sorting expressions.</p>
+<span class="sig-name descname"><span class="pre">sort</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">exprs</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">datafusion.expr.SortKey</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="si [...]
+<dd><p>Sort the DataFrame by the specified sorting expressions or column names.</p>
 <p>Note that any expression can be turned into a sort expression by
-calling its` <code class="docutils literal notranslate"><span class="pre">sort</span></code> method.</p>
+calling its <code class="docutils literal notranslate"><span class="pre">sort</span></code> method.</p>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
-<dd class="field-odd"><p><strong>exprs</strong> – Sort expressions, applied in order.</p>
+<dd class="field-odd"><p><strong>exprs</strong> – Sort expressions or column names, applied in order.</p>
 </dd>
 <dt class="field-even">Returns<span class="colon">:</span></dt>
 <dd class="field-even"><p>DataFrame after sorting.</p>
@@ -2240,7 +2227,7 @@ determined of the dataframe. This is done by collecting it.</p>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.transform">
-<span class="sig-name descname"><span class="pre">transform</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Callable</span><span class="p"><span class="pre">[</span></span><span class="pre">Ellipsis</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><a class="reference internal" href=" [...]
+<span class="sig-name descname"><span class="pre">transform</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">collections.abc.Callable</span><span class="p"><span class="pre">[</span></span><span class="pre">Ellipsis</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><a class="reference  [...]
 <dd><p>Apply a function to the current DataFrame which returns another DataFrame.</p>
 <p>This is useful for chaining together multiple functions. For example:</p>
 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">def</span><span class="w"> </span><span class="nf">add_3</span><span class="p">(</span><span class="n">df</span><span class="p">:</span> <span class="n">DataFrame</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">DataFrame</span><span class="p">:</span>
@@ -2322,8 +2309,16 @@ returned.</p></li>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.with_column">
-<span class="sig-name descname"><span class="pre">with_column</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">expr</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="referen [...]
+<span class="sig-name descname"><span class="pre">with_column</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">expr</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="referen [...]
 <dd><p>Add an additional column to the DataFrame.</p>
+<p>The <code class="docutils literal notranslate"><span class="pre">expr</span></code> must be an <a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><code class="xref py py-class docutils literal notranslate"><span class="pre">Expr</span></code></a> constructed with
+<a class="reference internal" href="../index.html#datafusion.col" title="datafusion.col"><code class="xref py py-func docutils literal notranslate"><span class="pre">datafusion.col()</span></code></a> or <a class="reference internal" href="../index.html#datafusion.lit" title="datafusion.lit"><code class="xref py py-func docutils literal notranslate"><span class="pre">datafusion.lit()</span></code></a>, or a SQL expression
+string that will be parsed against the DataFrame schema.</p>
+<p>Example:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span><span class="w"> </span><span class="nn">datafusion</span><span class="w"> </span><span class="kn">import</span> <span class="n">col</span><span class="p">,</span> <span class="n">lit</span>
+<span class="n">df</span><span class="o">.</span><span class="n">with_column</span><span class="p">(</span><span class="s2">&quot;b&quot;</span><span class="p">,</span> <span class="n">col</span><span class="p">(</span><span class="s2">&quot;a&quot;</span><span class="p">)</span> <span class="o">+</span> <span class="n">lit</span><span class="p">(</span><span class="mi">1</span><span class="p">))</span>
+</pre></div>
+</div>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><ul class="simple">
@@ -2359,22 +2354,36 @@ into one the following symbols (” or ‘ or `).</p>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.with_columns">
-<span class="sig-name descname"><span class="pre">with_columns</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">exprs</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre">datafusion.expr.Expr</span></a><span class="w"> [...]
+<span class="sig-name descname"><span class="pre">with_columns</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">exprs</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre">datafusion.expr.Expr</span></a><span class="w"> [...]
 <dd><p>Add columns to the DataFrame.</p>
-<p>By passing expressions, iteratables of expressions, or named expressions. To
-pass named expressions use the form name=Expr.</p>
-<p>Example usage: The following will add 4 columns labeled a, b, c, and d:</p>
-<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">df</span> <span class="o">=</span> <span class="n">df</span><span class="o">.</span><span class="n">with_columns</span><span class="p">(</span>
-    <span class="n">lit</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span><span class="o">.</span><span class="n">alias</span><span class="p">(</span><span class="s1">&#39;a&#39;</span><span class="p">),</span>
-    <span class="p">[</span><span class="n">lit</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span><span class="o">.</span><span class="n">alias</span><span class="p">(</span><span class="s1">&#39;b&#39;</span><span class="p">),</span> <span class="n">lit</span><span class="p">(</span><span class="mi">2</span><span class="p">)</span><span class="o">.</span><span class="n">alias</span><span class="p">(</span><span class="s1">&#39;c&#39;</span><span class="p">)] [...]
+<p>By passing expressions, iterables of expressions, string SQL expressions,
+or named expressions.
+All expressions must be <a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><code class="xref py py-class docutils literal notranslate"><span class="pre">Expr</span></code></a> objects created via
+<a class="reference internal" href="../index.html#datafusion.col" title="datafusion.col"><code class="xref py py-func docutils literal notranslate"><span class="pre">datafusion.col()</span></code></a> or <a class="reference internal" href="../index.html#datafusion.lit" title="datafusion.lit"><code class="xref py py-func docutils literal notranslate"><span class="pre">datafusion.lit()</span></code></a>, or SQL expression strings.
+To pass named expressions use the form <code class="docutils literal notranslate"><span class="pre">name=Expr</span></code>.</p>
+<p>Example usage: The following will add 4 columns labeled <code class="docutils literal notranslate"><span class="pre">a</span></code>, <code class="docutils literal notranslate"><span class="pre">b</span></code>, <code class="docutils literal notranslate"><span class="pre">c</span></code>,
+and <code class="docutils literal notranslate"><span class="pre">d</span></code>:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span><span class="w"> </span><span class="nn">datafusion</span><span class="w"> </span><span class="kn">import</span> <span class="n">col</span><span class="p">,</span> <span class="n">lit</span>
+<span class="n">df</span> <span class="o">=</span> <span class="n">df</span><span class="o">.</span><span class="n">with_columns</span><span class="p">(</span>
+    <span class="n">col</span><span class="p">(</span><span class="s2">&quot;x&quot;</span><span class="p">)</span><span class="o">.</span><span class="n">alias</span><span class="p">(</span><span class="s2">&quot;a&quot;</span><span class="p">),</span>
+    <span class="p">[</span><span class="n">lit</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span><span class="o">.</span><span class="n">alias</span><span class="p">(</span><span class="s2">&quot;b&quot;</span><span class="p">),</span> <span class="n">col</span><span class="p">(</span><span class="s2">&quot;y&quot;</span><span class="p">)</span><span class="o">.</span><span class="n">alias</span><span class="p">(</span><span class="s2">&quot;c&quot;</span><s [...]
     <span class="n">d</span><span class="o">=</span><span class="n">lit</span><span class="p">(</span><span class="mi">3</span><span class="p">)</span>
-    <span class="p">)</span>
+<span class="p">)</span>
+
+<span class="n">Equivalent</span> <span class="n">example</span> <span class="n">using</span> <span class="n">just</span> <span class="n">SQL</span> <span class="n">strings</span><span class="p">:</span>
+
+<span class="n">df</span> <span class="o">=</span> <span class="n">df</span><span class="o">.</span><span class="n">with_columns</span><span class="p">(</span>
+    <span class="s2">&quot;x as a&quot;</span><span class="p">,</span>
+    <span class="p">[</span><span class="s2">&quot;1 as b&quot;</span><span class="p">,</span> <span class="s2">&quot;y as c&quot;</span><span class="p">],</span>
+    <span class="n">d</span><span class="o">=</span><span class="s2">&quot;3&quot;</span>
+<span class="p">)</span>
 </pre></div>
 </div>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><ul class="simple">
-<li><p><strong>exprs</strong> – Either a single expression or an iterable of expressions to add.</p></li>
+<li><p><strong>exprs</strong> – Either a single expression, an iterable of expressions to add or
+SQL expression strings.</p></li>
 <li><p><strong>named_exprs</strong> – Named expressions in the form of <code class="docutils literal notranslate"><span class="pre">name=expr</span></code></p></li>
 </ul>
 </dd>
@@ -2386,13 +2395,14 @@ pass named expressions use the form name=Expr.</p>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.write_csv">
-<span class="sig-name descname"><span class="pre">write_csv</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">pathlib.Path</span></span></em>, <em class="sig-param"><span class="n"><span clas [...]
+<span class="sig-name descname"><span class="pre">write_csv</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">pathlib.Path</span></span></em>, <em class="sig-param"><span class="n"><span clas [...]
 <dd><p>Execute the <a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code></a>  and write the results to a CSV file.</p>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><ul class="simple">
 <li><p><strong>path</strong> – Path of the CSV file to write.</p></li>
 <li><p><strong>with_header</strong> – If true, output the CSV header row.</p></li>
+<li><p><strong>write_options</strong> – Options that impact how the DataFrame is written.</p></li>
 </ul>
 </dd>
 </dl>
@@ -2400,40 +2410,47 @@ pass named expressions use the form name=Expr.</p>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.write_json">
-<span class="sig-name descname"><span class="pre">write_json</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">pathlib.Path</span></span></em><span class="sig-paren">)</span> <span class="sig [...]
+<span class="sig-name descname"><span class="pre">write_json</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">pathlib.Path</span></span></em>, <em class="sig-param"><span class="n"><span cla [...]
 <dd><p>Execute the <a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code></a> and write the results to a JSON file.</p>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
-<dd class="field-odd"><p><strong>path</strong> – Path of the JSON file to write.</p>
+<dd class="field-odd"><ul class="simple">
+<li><p><strong>path</strong> – Path of the JSON file to write.</p></li>
+<li><p><strong>write_options</strong> – Options that impact how the DataFrame is written.</p></li>
+</ul>
 </dd>
 </dl>
 </dd></dl>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.write_parquet">
-<span class="sig-name descname"><span class="pre">write_parquet</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">pathlib.Path</span></span></em>, <em class="sig-param"><span class="n"><span  [...]
+<span class="sig-name descname"><span class="pre">write_parquet</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">pathlib.Path</span></span></em>, <em class="sig-param"><span class="n"><span  [...]
 <dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">write_parquet</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">pathlib.Path</span></span></em>, <em class="sig-param"><span class="n"><span  [...]
+<span class="sig-name descname"><span class="pre">write_parquet</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">pathlib.Path</span></span></em>, <em class="sig-param"><span class="n"><span  [...]
 <dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">write_parquet</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">pathlib.Path</span></span></em>, <em class="sig-param"><span class="n"><span  [...]
+<span class="sig-name descname"><span class="pre">write_parquet</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">pathlib.Path</span></span></em>, <em class="sig-param"><span class="n"><span  [...]
 <dd><p>Execute the <a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code></a> and write the results to a Parquet file.</p>
+<p>Available compression types are:</p>
+<ul class="simple">
+<li><p>“uncompressed”: No compression.</p></li>
+<li><p>“snappy”: Snappy compression.</p></li>
+<li><p>“gzip”: Gzip compression.</p></li>
+<li><p>“brotli”: Brotli compression.</p></li>
+<li><p>“lz4”: LZ4 compression.</p></li>
+<li><p>“lz4_raw”: LZ4_RAW compression.</p></li>
+<li><p>“zstd”: Zstandard compression.</p></li>
+</ul>
+<p>LZO compression is not yet implemented in arrow-rs and is therefore
+excluded.</p>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><ul class="simple">
 <li><p><strong>path</strong> – Path of the Parquet file to write.</p></li>
-<li><p><strong>compression</strong> – Compression type to use. Default is “ZSTD”.
-Available compression types are:
-- “uncompressed”: No compression.
-- “snappy”: Snappy compression.
-- “gzip”: Gzip compression.
-- “brotli”: Brotli compression.
-- “lz4”: LZ4 compression.
-- “lz4_raw”: LZ4_RAW compression.
-- “zstd”: Zstandard compression.</p></li>
-<li><p><strong>Note</strong> – LZO is not yet implemented in arrow-rs and is therefore excluded.</p></li>
+<li><p><strong>compression</strong> – Compression type to use. Default is “ZSTD”.</p></li>
 <li><p><strong>compression_level</strong> – Compression level to use. For ZSTD, the
 recommended range is 1 to 22, with the default being 4. Higher levels
 provide better compression but slower speed.</p></li>
+<li><p><strong>write_options</strong> – Options that impact how the DataFrame is written.</p></li>
 </ul>
 </dd>
 </dl>
@@ -2441,7 +2458,7 @@ provide better compression but slower speed.</p></li>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.write_parquet_with_options">
-<span class="sig-name descname"><span class="pre">write_parquet_with_options</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">pathlib.Path</span></span></em>, <em class="sig-param"><span cla [...]
+<span class="sig-name descname"><span class="pre">write_parquet_with_options</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">pathlib.Path</span></span></em>, <em class="sig-param"><span cla [...]
 <dd><p>Execute the <a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code></a> and write the results to a Parquet file.</p>
 <p>Allows advanced writer options to be set with <cite>ParquetWriterOptions</cite>.</p>
 <dl class="field-list simple">
@@ -2449,11 +2466,21 @@ provide better compression but slower speed.</p></li>
 <dd class="field-odd"><ul class="simple">
 <li><p><strong>path</strong> – Path of the Parquet file to write.</p></li>
 <li><p><strong>options</strong> – Sets the writer parquet options (see <cite>ParquetWriterOptions</cite>).</p></li>
+<li><p><strong>write_options</strong> – Options that impact how the DataFrame is written.</p></li>
 </ul>
 </dd>
 </dl>
 </dd></dl>
 
+<dl class="py method">
+<dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.write_table">
+<span class="sig-name descname"><span class="pre">write_table</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">table_name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">write_options</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a [...]
+<dd><p>Execute the <a class="reference internal" href="#datafusion.dataframe.DataFrame" title="datafusion.dataframe.DataFrame"><code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code></a> and write the results to a table.</p>
+<p>The table must be registered with the session to perform this operation.
+Not all table providers support writing operations. See the individual
+implementations for details.</p>
+</dd></dl>
+
 <dl class="py attribute">
 <dt class="sig sig-object py" id="datafusion.dataframe.DataFrame.df">
 <span class="sig-name descname"><span class="pre">df</span></span><a class="headerlink" href="#datafusion.dataframe.DataFrame.df" title="Link to this definition">¶</a></dt>
@@ -2462,100 +2489,114 @@ provide better compression but slower speed.</p></li>
 </dd></dl>
 
 <dl class="py class">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetColumnOptions">
-<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.dataframe.</span></span><span class="sig-name descname"><span class="pre">ParquetColumnOptions</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">encoding</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span cl [...]
-<dd><p>Parquet options for individual columns.</p>
-<p>Contains the available options that can be applied for an individual Parquet column,
-replacing the global options in <cite>ParquetWriterOptions</cite>.</p>
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetColumnOptions.encoding">
-<span class="sig-name descname"><span class="pre">encoding</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetColumnOptions.encoding" title="Link to this definition">¶</a></dt>
-<dd><p>Sets encoding for the column path. Valid values are: <cite>plain</cite>,
-<cite>plain_dictionary</cite>, <cite>rle</cite>, <cite>bit_packed</cite>, <cite>delta_binary_packed</cite>,
-<cite>delta_length_byte_array</cite>, <cite>delta_byte_array</cite>, <cite>rle_dictionary</cite>, and
-<cite>byte_stream_split</cite>. These values are not case-sensitive. If <cite>None</cite>, uses
-the default parquet options</p>
-</dd></dl>
-
+<dt class="sig sig-object py" id="datafusion.dataframe.DataFrameWriteOptions">
+<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.dataframe.</span></span><span class="sig-name descname"><span class="pre">DataFrameWriteOptions</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">insert_operation</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference interna [...]
+<dd><p>Writer options for DataFrame.</p>
+<p>There is no guarantee the table provider supports all writer options.
+See the individual implementation and documentation for details.</p>
+<p>Instantiate writer options for DataFrame.</p>
 <dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetColumnOptions.dictionary_enabled">
-<span class="sig-name descname"><span class="pre">dictionary_enabled</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetColumnOptions.dictionary_enabled" title="Link to this definition">¶</a></dt>
-<dd><p>Sets if dictionary encoding is enabled for the column path.
-If <cite>None</cite>, uses the default parquet options</p>
-</dd></dl>
+<dt class="sig sig-object py" id="datafusion.dataframe.DataFrameWriteOptions._raw_write_options">
+<span class="sig-name descname"><span class="pre">_raw_write_options</span></span><a class="headerlink" href="#datafusion.dataframe.DataFrameWriteOptions._raw_write_options" title="Link to this definition">¶</a></dt>
+<dd></dd></dl>
 
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetColumnOptions.compression">
-<span class="sig-name descname"><span class="pre">compression</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetColumnOptions.compression" title="Link to this definition">¶</a></dt>
-<dd><p>Sets default parquet compression codec for the column path. Valid
-values are <cite>uncompressed</cite>, <cite>snappy</cite>, <cite>gzip(level)</cite>, <cite>lzo</cite>, <cite>brotli(level)</cite>,
-<cite>lz4</cite>, <cite>zstd(level)</cite>, and <cite>lz4_raw</cite>. These values are not case-sensitive. If
-<cite>None</cite>, uses the default parquet options.</p>
 </dd></dl>
 
+<dl class="py class">
+<dt class="sig sig-object py" id="datafusion.dataframe.InsertOp">
+<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.dataframe.</span></span><span class="sig-name descname"><span class="pre">InsertOp</span></span><a class="headerlink" href="#datafusion.dataframe.InsertOp" title="Link to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-obj docutils literal notranslate"><span class="pre">enum.Enum</span></code></p>
+<p>Insert operation mode.</p>
+<p>These modes are used by the table writing feature to define how record
+batches should be written to a table.</p>
 <dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetColumnOptions.statistics_enabled">
-<span class="sig-name descname"><span class="pre">statistics_enabled</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetColumnOptions.statistics_enabled" title="Link to this definition">¶</a></dt>
-<dd><p>Sets if statistics are enabled for the column Valid values
-are: <cite>none</cite>, <cite>chunk</cite>, and <cite>page</cite> These values are not case sensitive. If
-<cite>None</cite>, uses the default parquet options.</p>
+<dt class="sig sig-object py" id="datafusion.dataframe.InsertOp.APPEND">
+<span class="sig-name descname"><span class="pre">APPEND</span></span><a class="headerlink" href="#datafusion.dataframe.InsertOp.APPEND" title="Link to this definition">¶</a></dt>
+<dd><p>Appends new rows to the existing table without modifying any existing rows.</p>
 </dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetColumnOptions.bloom_filter_enabled">
-<span class="sig-name descname"><span class="pre">bloom_filter_enabled</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetColumnOptions.bloom_filter_enabled" title="Link to this definition">¶</a></dt>
-<dd><p>Sets if bloom filter is enabled for the column path. If
-<cite>None</cite>, uses the default parquet options.</p>
+<dt class="sig sig-object py" id="datafusion.dataframe.InsertOp.OVERWRITE">
+<span class="sig-name descname"><span class="pre">OVERWRITE</span></span><a class="headerlink" href="#datafusion.dataframe.InsertOp.OVERWRITE" title="Link to this definition">¶</a></dt>
+<dd><p>Overwrites all existing rows in the table with the new rows.</p>
 </dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetColumnOptions.bloom_filter_fpp">
-<span class="sig-name descname"><span class="pre">bloom_filter_fpp</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetColumnOptions.bloom_filter_fpp" title="Link to this definition">¶</a></dt>
-<dd><p>Sets bloom filter false positive probability for the column
-path. If <cite>None</cite>, uses the default parquet options.</p>
+<dt class="sig sig-object py" id="datafusion.dataframe.InsertOp.REPLACE">
+<span class="sig-name descname"><span class="pre">REPLACE</span></span><a class="headerlink" href="#datafusion.dataframe.InsertOp.REPLACE" title="Link to this definition">¶</a></dt>
+<dd><p>Replace existing rows that collide with the inserted rows.</p>
+<p>Replacement is typically based on a unique key or primary key.</p>
 </dd></dl>
 
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetColumnOptions.bloom_filter_ndv">
-<span class="sig-name descname"><span class="pre">bloom_filter_ndv</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetColumnOptions.bloom_filter_ndv" title="Link to this definition">¶</a></dt>
-<dd><p>Sets bloom filter number of distinct values. If <cite>None</cite>, uses
-the default parquet options.</p>
 </dd></dl>
 
+<dl class="py class">
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetColumnOptions">
+<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.dataframe.</span></span><span class="sig-name descname"><span class="pre">ParquetColumnOptions</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">encoding</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span cl [...]
+<dd><p>Parquet options for individual columns.</p>
+<p>Contains the available options that can be applied for an individual Parquet column,
+replacing the global options in <code class="docutils literal notranslate"><span class="pre">ParquetWriterOptions</span></code>.</p>
 <p>Initialize the ParquetColumnOptions.</p>
+<dl class="field-list simple">
+<dt class="field-odd">Parameters<span class="colon">:</span></dt>
+<dd class="field-odd"><ul class="simple">
+<li><p><strong>encoding</strong> – Sets encoding for the column path. Valid values are: <code class="docutils literal notranslate"><span class="pre">plain</span></code>,
+<code class="docutils literal notranslate"><span class="pre">plain_dictionary</span></code>, <code class="docutils literal notranslate"><span class="pre">rle</span></code>, <code class="docutils literal notranslate"><span class="pre">bit_packed</span></code>, <code class="docutils literal notranslate"><span class="pre">delta_binary_packed</span></code>,
+<code class="docutils literal notranslate"><span class="pre">delta_length_byte_array</span></code>, <code class="docutils literal notranslate"><span class="pre">delta_byte_array</span></code>, <code class="docutils literal notranslate"><span class="pre">rle_dictionary</span></code>,
+and <code class="docutils literal notranslate"><span class="pre">byte_stream_split</span></code>. These values are not case-sensitive. If
+<code class="docutils literal notranslate"><span class="pre">None</span></code>, uses the default parquet options</p></li>
+<li><p><strong>dictionary_enabled</strong> – Sets if dictionary encoding is enabled for the column
+path. If <cite>None</cite>, uses the default parquet options</p></li>
+<li><p><strong>compression</strong> – Sets default parquet compression codec for the column path.
+Valid values are <code class="docutils literal notranslate"><span class="pre">uncompressed</span></code>, <code class="docutils literal notranslate"><span class="pre">snappy</span></code>, <code class="docutils literal notranslate"><span class="pre">gzip(level)</span></code>, <code class="docutils literal notranslate"><span class="pre">lzo</span></code>,
+<code class="docutils literal notranslate"><span class="pre">brotli(level)</span></code>, <code class="docutils literal notranslate"><span class="pre">lz4</span></code>, <code class="docutils literal notranslate"><span class="pre">zstd(level)</span></code>, and <code class="docutils literal notranslate"><span class="pre">lz4_raw</span></code>. These
+values are not case-sensitive. If <code class="docutils literal notranslate"><span class="pre">None</span></code>, uses the default parquet
+options.</p></li>
+<li><p><strong>statistics_enabled</strong> – Sets if statistics are enabled for the column Valid
+values are: <code class="docutils literal notranslate"><span class="pre">none</span></code>, <code class="docutils literal notranslate"><span class="pre">chunk</span></code>, and <code class="docutils literal notranslate"><span class="pre">page</span></code> These values are not case
+sensitive. If <code class="docutils literal notranslate"><span class="pre">None</span></code>, uses the default parquet options.</p></li>
+<li><p><strong>bloom_filter_enabled</strong> – Sets if bloom filter is enabled for the column path.
+If <code class="docutils literal notranslate"><span class="pre">None</span></code>, uses the default parquet options.</p></li>
+<li><p><strong>bloom_filter_fpp</strong> – Sets bloom filter false positive probability for the
+column path. If <code class="docutils literal notranslate"><span class="pre">None</span></code>, uses the default parquet options.</p></li>
+<li><p><strong>bloom_filter_ndv</strong> – Sets bloom filter number of distinct values. If <code class="docutils literal notranslate"><span class="pre">None</span></code>,
+uses the default parquet options.</p></li>
+</ul>
+</dd>
+</dl>
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id0">
-<span class="sig-name descname"><span class="pre">bloom_filter_enabled</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#id0" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetColumnOptions.bloom_filter_enabled">
+<span class="sig-name descname"><span class="pre">bloom_filter_enabled</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetColumnOptions.bloom_filter_enabled" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id1">
-<span class="sig-name descname"><span class="pre">bloom_filter_fpp</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#id1" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetColumnOptions.bloom_filter_fpp">
+<span class="sig-name descname"><span class="pre">bloom_filter_fpp</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetColumnOptions.bloom_filter_fpp" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id2">
-<span class="sig-name descname"><span class="pre">bloom_filter_ndv</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#id2" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetColumnOptions.bloom_filter_ndv">
+<span class="sig-name descname"><span class="pre">bloom_filter_ndv</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetColumnOptions.bloom_filter_ndv" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id3">
-<span class="sig-name descname"><span class="pre">compression</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#id3" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetColumnOptions.compression">
+<span class="sig-name descname"><span class="pre">compression</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetColumnOptions.compression" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id4">
-<span class="sig-name descname"><span class="pre">dictionary_enabled</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#id4" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetColumnOptions.dictionary_enabled">
+<span class="sig-name descname"><span class="pre">dictionary_enabled</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetColumnOptions.dictionary_enabled" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id5">
-<span class="sig-name descname"><span class="pre">encoding</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#id5" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetColumnOptions.encoding">
+<span class="sig-name descname"><span class="pre">encoding</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetColumnOptions.encoding" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id6">
-<span class="sig-name descname"><span class="pre">statistics_enabled</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#id6" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetColumnOptions.statistics_enabled">
+<span class="sig-name descname"><span class="pre">statistics_enabled</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetColumnOptions.statistics_enabled" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 </dd></dl>
@@ -2565,270 +2606,177 @@ the default parquet options.</p>
 <em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.dataframe.</span></span><span class="sig-name descname"><span class="pre">ParquetWriterOptions</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">data_pagesize_limit</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</sp [...]
 <dd><p>Advanced parquet writer options.</p>
 <p>Allows settings the writer options that apply to the entire file. Some options can
-also be set on a column by column basis, with the field <cite>column_specific_options</cite>
-(see <cite>ParquetColumnOptions</cite>).</p>
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.data_pagesize_limit">
-<span class="sig-name descname"><span class="pre">data_pagesize_limit</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.data_pagesize_limit" title="Link to this definition">¶</a></dt>
-<dd><p>Sets best effort maximum size of data page in bytes.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.write_batch_size">
-<span class="sig-name descname"><span class="pre">write_batch_size</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.write_batch_size" title="Link to this definition">¶</a></dt>
-<dd><p>Sets write_batch_size in bytes.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.writer_version">
-<span class="sig-name descname"><span class="pre">writer_version</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.writer_version" title="Link to this definition">¶</a></dt>
-<dd><p>Sets parquet writer version. Valid values are <cite>1.0</cite> and
-<cite>2.0</cite>.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.skip_arrow_metadata">
-<span class="sig-name descname"><span class="pre">skip_arrow_metadata</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.skip_arrow_metadata" title="Link to this definition">¶</a></dt>
-<dd><p>Skip encoding the embedded arrow metadata in the
-KV_meta.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.compression">
-<span class="sig-name descname"><span class="pre">compression</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.compression" title="Link to this definition">¶</a></dt>
-<dd><p>Compression type to use. Default is “zstd(3)”.
-Available compression types are
-- “uncompressed”: No compression.
-- “snappy”: Snappy compression.
-- “gzip(n)”: Gzip compression with level n.
-- “brotli(n)”: Brotli compression with level n.
-- “lz4”: LZ4 compression.
-- “lz4_raw”: LZ4_RAW compression.
-- “zstd(n)”: Zstandard compression with level n.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.dictionary_enabled">
-<span class="sig-name descname"><span class="pre">dictionary_enabled</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.dictionary_enabled" title="Link to this definition">¶</a></dt>
-<dd><p>Sets if dictionary encoding is enabled. If None, uses
-the default parquet writer setting.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.dictionary_page_size_limit">
-<span class="sig-name descname"><span class="pre">dictionary_page_size_limit</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.dictionary_page_size_limit" title="Link to this definition">¶</a></dt>
-<dd><p>Sets best effort maximum dictionary page size,
-in bytes.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.statistics_enabled">
-<span class="sig-name descname"><span class="pre">statistics_enabled</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.statistics_enabled" title="Link to this definition">¶</a></dt>
-<dd><p>Sets if statistics are enabled for any column Valid
-values are <cite>none</cite>, <cite>chunk</cite>, and <cite>page</cite>. If None, uses the default
-parquet writer setting.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.max_row_group_size">
-<span class="sig-name descname"><span class="pre">max_row_group_size</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.max_row_group_size" title="Link to this definition">¶</a></dt>
-<dd><p>Target maximum number of rows in each row group
-(defaults to 1M rows). Writing larger row groups requires more memory to
-write, but can get better compression and be faster to read.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.created_by">
-<span class="sig-name descname"><span class="pre">created_by</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.created_by" title="Link to this definition">¶</a></dt>
-<dd><p>Sets “created by” property.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.column_index_truncate_length">
-<span class="sig-name descname"><span class="pre">column_index_truncate_length</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.column_index_truncate_length" title="Link to this definition">¶</a></dt>
-<dd><p>Sets column index truncate length.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.statistics_truncate_length">
-<span class="sig-name descname"><span class="pre">statistics_truncate_length</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.statistics_truncate_length" title="Link to this definition">¶</a></dt>
-<dd><p>Sets statistics truncate length. If None, uses
-the default parquet writer setting.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.data_page_row_count_limit">
-<span class="sig-name descname"><span class="pre">data_page_row_count_limit</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.data_page_row_count_limit" title="Link to this definition">¶</a></dt>
-<dd><p>Sets best effort maximum number of rows in a data
-page.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.encoding">
-<span class="sig-name descname"><span class="pre">encoding</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.encoding" title="Link to this definition">¶</a></dt>
-<dd><p>Sets default encoding for any column. Valid values are <cite>plain</cite>,
-<cite>plain_dictionary</cite>, <cite>rle</cite>, <cite>bit_packed</cite>, <cite>delta_binary_packed</cite>,
-<cite>delta_length_byte_array</cite>, <cite>delta_byte_array</cite>, <cite>rle_dictionary</cite>, and
-<cite>byte_stream_split</cite>. If None, uses the default parquet writer setting.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.bloom_filter_on_write">
-<span class="sig-name descname"><span class="pre">bloom_filter_on_write</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.bloom_filter_on_write" title="Link to this definition">¶</a></dt>
-<dd><p>Write bloom filters for all columns when creating
-parquet files.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.bloom_filter_fpp">
-<span class="sig-name descname"><span class="pre">bloom_filter_fpp</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.bloom_filter_fpp" title="Link to this definition">¶</a></dt>
-<dd><p>Sets bloom filter false positive probability. If None,
-uses the default parquet writer setting</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.bloom_filter_ndv">
-<span class="sig-name descname"><span class="pre">bloom_filter_ndv</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.bloom_filter_ndv" title="Link to this definition">¶</a></dt>
-<dd><p>Sets bloom filter number of distinct values. If None, uses
-the default parquet writer setting.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.allow_single_file_parallelism">
-<span class="sig-name descname"><span class="pre">allow_single_file_parallelism</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.allow_single_file_parallelism" title="Link to this definition">¶</a></dt>
-<dd><p>Controls whether DataFusion will attempt to
+also be set on a column by column basis, with the field <code class="docutils literal notranslate"><span class="pre">column_specific_options</span></code>
+(see <code class="docutils literal notranslate"><span class="pre">ParquetColumnOptions</span></code>).</p>
+<p>Initialize the ParquetWriterOptions.</p>
+<dl class="field-list simple">
+<dt class="field-odd">Parameters<span class="colon">:</span></dt>
+<dd class="field-odd"><ul class="simple">
+<li><p><strong>data_pagesize_limit</strong> – Sets best effort maximum size of data page in bytes.</p></li>
+<li><p><strong>write_batch_size</strong> – Sets write_batch_size in bytes.</p></li>
+<li><p><strong>writer_version</strong> – Sets parquet writer version. Valid values are <code class="docutils literal notranslate"><span class="pre">1.0</span></code> and
+<code class="docutils literal notranslate"><span class="pre">2.0</span></code>.</p></li>
+<li><p><strong>skip_arrow_metadata</strong> – Skip encoding the embedded arrow metadata in the
+KV_meta.</p></li>
+<li><p><strong>compression</strong> – <p>Compression type to use. Default is <code class="docutils literal notranslate"><span class="pre">zstd(3)</span></code>.
+Available compression types are</p>
+<ul>
+<li><p><code class="docutils literal notranslate"><span class="pre">uncompressed</span></code>: No compression.</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">snappy</span></code>: Snappy compression.</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">gzip(n)</span></code>: Gzip compression with level n.</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">brotli(n)</span></code>: Brotli compression with level n.</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">lz4</span></code>: LZ4 compression.</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">lz4_raw</span></code>: LZ4_RAW compression.</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">zstd(n)</span></code>: Zstandard compression with level n.</p></li>
+</ul>
+</p></li>
+<li><p><strong>compression_level</strong> – Compression level to set.</p></li>
+<li><p><strong>dictionary_enabled</strong> – Sets if dictionary encoding is enabled. If <code class="docutils literal notranslate"><span class="pre">None</span></code>,
+uses the default parquet writer setting.</p></li>
+<li><p><strong>dictionary_page_size_limit</strong> – Sets best effort maximum dictionary page size,
+in bytes.</p></li>
+<li><p><strong>statistics_enabled</strong> – Sets if statistics are enabled for any column Valid
+values are <code class="docutils literal notranslate"><span class="pre">none</span></code>, <code class="docutils literal notranslate"><span class="pre">chunk</span></code>, and <code class="docutils literal notranslate"><span class="pre">page</span></code>. If <code class="docutils literal notranslate"><span class="pre">None</span></code>, uses the
+default parquet writer setting.</p></li>
+<li><p><strong>max_row_group_size</strong> – Target maximum number of rows in each row group
+(defaults to 1M rows). Writing larger row groups requires more memory
+to write, but can get better compression and be faster to read.</p></li>
+<li><p><strong>created_by</strong> – Sets “created by” property.</p></li>
+<li><p><strong>column_index_truncate_length</strong> – Sets column index truncate length.</p></li>
+<li><p><strong>statistics_truncate_length</strong> – Sets statistics truncate length. If <code class="docutils literal notranslate"><span class="pre">None</span></code>,
+uses the default parquet writer setting.</p></li>
+<li><p><strong>data_page_row_count_limit</strong> – Sets best effort maximum number of rows in a data
+page.</p></li>
+<li><p><strong>encoding</strong> – Sets default encoding for any column. Valid values are <code class="docutils literal notranslate"><span class="pre">plain</span></code>,
+<code class="docutils literal notranslate"><span class="pre">plain_dictionary</span></code>, <code class="docutils literal notranslate"><span class="pre">rle</span></code>, <code class="docutils literal notranslate"><span class="pre">bit_packed</span></code>, <code class="docutils literal notranslate"><span class="pre">delta_binary_packed</span></code>,
+<code class="docutils literal notranslate"><span class="pre">delta_length_byte_array</span></code>, <code class="docutils literal notranslate"><span class="pre">delta_byte_array</span></code>, <code class="docutils literal notranslate"><span class="pre">rle_dictionary</span></code>,
+and <code class="docutils literal notranslate"><span class="pre">byte_stream_split</span></code>. If <code class="docutils literal notranslate"><span class="pre">None</span></code>, uses the default parquet writer
+setting.</p></li>
+<li><p><strong>bloom_filter_on_write</strong> – Write bloom filters for all columns when creating
+parquet files.</p></li>
+<li><p><strong>bloom_filter_fpp</strong> – Sets bloom filter false positive probability. If <code class="docutils literal notranslate"><span class="pre">None</span></code>,
+uses the default parquet writer setting</p></li>
+<li><p><strong>bloom_filter_ndv</strong> – Sets bloom filter number of distinct values. If <code class="docutils literal notranslate"><span class="pre">None</span></code>,
+uses the default parquet writer setting.</p></li>
+<li><p><strong>allow_single_file_parallelism</strong> – Controls whether DataFusion will attempt to
 speed up writing parquet files by serializing them in parallel. Each
 column in each row group in each output file are serialized in parallel
-leveraging a maximum possible core count of n_files * n_row_groups *
-n_columns.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.maximum_parallel_row_group_writers">
-<span class="sig-name descname"><span class="pre">maximum_parallel_row_group_writers</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.maximum_parallel_row_group_writers" title="Link to this definition">¶</a></dt>
-<dd><p>By default parallel parquet writer is
+leveraging a maximum possible core count of
+<code class="docutils literal notranslate"><span class="pre">n_files</span> <span class="pre">*</span> <span class="pre">n_row_groups</span> <span class="pre">*</span> <span class="pre">n_columns</span></code>.</p></li>
+<li><p><strong>maximum_parallel_row_group_writers</strong> – By default parallel parquet writer is
 tuned for minimum memory usage in a streaming execution plan. You may
 see a performance benefit when writing large parquet files by increasing
-<cite>maximum_parallel_row_group_writers</cite> and
-<cite>maximum_buffered_record_batches_per_stream</cite> if your system has idle
+<code class="docutils literal notranslate"><span class="pre">maximum_parallel_row_group_writers</span></code> and
+<code class="docutils literal notranslate"><span class="pre">maximum_buffered_record_batches_per_stream</span></code> if your system has idle
 cores and can tolerate additional memory usage. Boosting these values is
 likely worthwhile when writing out already in-memory data, such as from
-a cached data frame.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.maximum_buffered_record_batches_per_stream">
-<span class="sig-name descname"><span class="pre">maximum_buffered_record_batches_per_stream</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.maximum_buffered_record_batches_per_stream" title="Link to this definition">¶</a></dt>
-<dd><p>See
-<cite>maximum_parallel_row_group_writers</cite>.</p>
-</dd></dl>
-
-<dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.column_specific_options">
-<span class="sig-name descname"><span class="pre">column_specific_options</span></span><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.column_specific_options" title="Link to this definition">¶</a></dt>
-<dd><p>Overrides options for specific columns. If a column
-is not a part of this dictionary, it will use the parameters provided here.</p>
-</dd></dl>
-
-<p>Initialize the ParquetWriterOptions.</p>
+a cached data frame.</p></li>
+<li><p><strong>maximum_buffered_record_batches_per_stream</strong> – See
+<code class="docutils literal notranslate"><span class="pre">maximum_parallel_row_group_writers</span></code>.</p></li>
+<li><p><strong>column_specific_options</strong> – Overrides options for specific columns. If a column
+is not a part of this dictionary, it will use the parameters provided
+here.</p></li>
+</ul>
+</dd>
+</dl>
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id7">
-<span class="sig-name descname"><span class="pre">allow_single_file_parallelism</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">True</span></em><a class="headerlink" href="#id7" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.allow_single_file_parallelism">
+<span class="sig-name descname"><span class="pre">allow_single_file_parallelism</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">True</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.allow_single_file_parallelism" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id8">
-<span class="sig-name descname"><span class="pre">bloom_filter_fpp</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#id8" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.bloom_filter_fpp">
+<span class="sig-name descname"><span class="pre">bloom_filter_fpp</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.bloom_filter_fpp" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id9">
-<span class="sig-name descname"><span class="pre">bloom_filter_ndv</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#id9" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.bloom_filter_ndv">
+<span class="sig-name descname"><span class="pre">bloom_filter_ndv</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.bloom_filter_ndv" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id10">
-<span class="sig-name descname"><span class="pre">bloom_filter_on_write</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">False</span></em><a class="headerlink" href="#id10" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.bloom_filter_on_write">
+<span class="sig-name descname"><span class="pre">bloom_filter_on_write</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">False</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.bloom_filter_on_write" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id11">
-<span class="sig-name descname"><span class="pre">column_index_truncate_length</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">64</span></em><a class="headerlink" href="#id11" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.column_index_truncate_length">
+<span class="sig-name descname"><span class="pre">column_index_truncate_length</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">64</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.column_index_truncate_length" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id12">
-<span class="sig-name descname"><span class="pre">column_specific_options</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#id12" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.column_specific_options">
+<span class="sig-name descname"><span class="pre">column_specific_options</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.column_specific_options" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id13">
-<span class="sig-name descname"><span class="pre">created_by</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'datafusion-python'</span></em><a class="headerlink" href="#id13" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.created_by">
+<span class="sig-name descname"><span class="pre">created_by</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'datafusion-python'</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.created_by" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id14">
-<span class="sig-name descname"><span class="pre">data_page_row_count_limit</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">20000</span></em><a class="headerlink" href="#id14" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.data_page_row_count_limit">
+<span class="sig-name descname"><span class="pre">data_page_row_count_limit</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">20000</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.data_page_row_count_limit" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id15">
-<span class="sig-name descname"><span class="pre">data_pagesize_limit</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">1048576</span></em><a class="headerlink" href="#id15" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.data_pagesize_limit">
+<span class="sig-name descname"><span class="pre">data_pagesize_limit</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">1048576</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.data_pagesize_limit" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id16">
-<span class="sig-name descname"><span class="pre">dictionary_enabled</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">True</span></em><a class="headerlink" href="#id16" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.dictionary_enabled">
+<span class="sig-name descname"><span class="pre">dictionary_enabled</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">True</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.dictionary_enabled" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id17">
-<span class="sig-name descname"><span class="pre">dictionary_page_size_limit</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">1048576</span></em><a class="headerlink" href="#id17" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.dictionary_page_size_limit">
+<span class="sig-name descname"><span class="pre">dictionary_page_size_limit</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">1048576</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.dictionary_page_size_limit" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id18">
-<span class="sig-name descname"><span class="pre">encoding</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#id18" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.encoding">
+<span class="sig-name descname"><span class="pre">encoding</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.encoding" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id19">
-<span class="sig-name descname"><span class="pre">max_row_group_size</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">1048576</span></em><a class="headerlink" href="#id19" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.max_row_group_size">
+<span class="sig-name descname"><span class="pre">max_row_group_size</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">1048576</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.max_row_group_size" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id20">
-<span class="sig-name descname"><span class="pre">maximum_buffered_record_batches_per_stream</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">2</span></em><a class="headerlink" href="#id20" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.maximum_buffered_record_batches_per_stream">
+<span class="sig-name descname"><span class="pre">maximum_buffered_record_batches_per_stream</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">2</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.maximum_buffered_record_batches_per_stream" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id21">
-<span class="sig-name descname"><span class="pre">maximum_parallel_row_group_writers</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">1</span></em><a class="headerlink" href="#id21" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.maximum_parallel_row_group_writers">
+<span class="sig-name descname"><span class="pre">maximum_parallel_row_group_writers</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">1</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.maximum_parallel_row_group_writers" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id22">
-<span class="sig-name descname"><span class="pre">skip_arrow_metadata</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">False</span></em><a class="headerlink" href="#id22" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.skip_arrow_metadata">
+<span class="sig-name descname"><span class="pre">skip_arrow_metadata</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">False</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.skip_arrow_metadata" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id23">
-<span class="sig-name descname"><span class="pre">statistics_enabled</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'page'</span></em><a class="headerlink" href="#id23" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.statistics_enabled">
+<span class="sig-name descname"><span class="pre">statistics_enabled</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'page'</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.statistics_enabled" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id24">
-<span class="sig-name descname"><span class="pre">statistics_truncate_length</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#id24" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.statistics_truncate_length">
+<span class="sig-name descname"><span class="pre">statistics_truncate_length</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.statistics_truncate_length" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id25">
-<span class="sig-name descname"><span class="pre">write_batch_size</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">1024</span></em><a class="headerlink" href="#id25" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.write_batch_size">
+<span class="sig-name descname"><span class="pre">write_batch_size</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">1024</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.write_batch_size" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="id26">
-<span class="sig-name descname"><span class="pre">writer_version</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'1.0'</span></em><a class="headerlink" href="#id26" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe.ParquetWriterOptions.writer_version">
+<span class="sig-name descname"><span class="pre">writer_version</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'1.0'</span></em><a class="headerlink" href="#datafusion.dataframe.ParquetWriterOptions.writer_version" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 </dd></dl>
diff --git a/autoapi/datafusion/dataframe_formatter/index.html b/autoapi/datafusion/dataframe_formatter/index.html
index 2fa77cd1..f611c472 100644
--- a/autoapi/datafusion/dataframe_formatter/index.html
+++ b/autoapi/datafusion/dataframe_formatter/index.html
@@ -243,6 +243,11 @@
    SQL
   </a>
  </li>
+ <li class="toctree-l1">
+  <a class="reference internal" href="../../../user-guide/upgrade-guides.html">
+   Upgrade Guides
+  </a>
+ </li>
 </ul>
 <p aria-level="2" class="caption" role="heading">
  <span class="caption-text">
@@ -354,6 +359,11 @@
        datafusion.object_store
       </a>
      </li>
+     <li class="toctree-l3">
+      <a class="reference internal" href="../options/index.html">
+       datafusion.options
+      </a>
+     </li>
      <li class="toctree-l3">
       <a class="reference internal" href="../plan/index.html">
        datafusion.plan
@@ -613,6 +623,15 @@
        </code>
       </a>
      </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.dataframe_formatter.DataFrameHtmlFormatter._max_rows">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         DataFrameHtmlFormatter._max_rows
+        </span>
+       </code>
+      </a>
+     </li>
      <li class="toc-h4 nav-item toc-entry">
       <a class="reference internal nav-link" href="#datafusion.dataframe_formatter.DataFrameHtmlFormatter._type_formatters">
        <code class="docutils literal notranslate">
@@ -667,6 +686,15 @@
        </code>
       </a>
      </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.dataframe_formatter.DataFrameHtmlFormatter.max_rows">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         DataFrameHtmlFormatter.max_rows
+        </span>
+       </code>
+      </a>
+     </li>
      <li class="toc-h4 nav-item toc-entry">
       <a class="reference internal nav-link" href="#datafusion.dataframe_formatter.DataFrameHtmlFormatter.max_width">
        <code class="docutils literal notranslate">
@@ -677,10 +705,10 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.dataframe_formatter.DataFrameHtmlFormatter.min_rows_display">
+      <a class="reference internal nav-link" href="#datafusion.dataframe_formatter.DataFrameHtmlFormatter.min_rows">
        <code class="docutils literal notranslate">
         <span class="pre">
-         DataFrameHtmlFormatter.min_rows_display
+         DataFrameHtmlFormatter.min_rows
         </span>
        </code>
       </a>
@@ -837,6 +865,15 @@
      </code>
     </a>
    </li>
+   <li class="toc-h3 nav-item toc-entry">
+    <a class="reference internal nav-link" href="#datafusion.dataframe_formatter._validate_formatter_parameters">
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       _validate_formatter_parameters()
+      </span>
+     </code>
+    </a>
+   </li>
    <li class="toc-h3 nav-item toc-entry">
     <a class="reference internal nav-link" href="#datafusion.dataframe_formatter._validate_positive_int">
      <code class="docutils literal notranslate">
@@ -940,19 +977,22 @@
 <tr class="row-even"><td><p><a class="reference internal" href="#datafusion.dataframe_formatter._validate_bool" title="datafusion.dataframe_formatter._validate_bool"><code class="xref py py-obj docutils literal notranslate"><span class="pre">_validate_bool</span></code></a>(→ None)</p></td>
 <td><p>Validate that a parameter is a boolean.</p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.dataframe_formatter._validate_positive_int" title="datafusion.dataframe_formatter._validate_positive_int"><code class="xref py py-obj docutils literal notranslate"><span class="pre">_validate_positive_int</span></code></a>(→ None)</p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.dataframe_formatter._validate_formatter_parameters" title="datafusion.dataframe_formatter._validate_formatter_parameters"><code class="xref py py-obj docutils literal notranslate"><span class="pre">_validate_formatter_parameters</span></code></a>(→ int)</p></td>
+<td><p>Validate all formatter parameters and return resolved max_rows value.</p></td>
+</tr>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.dataframe_formatter._validate_positive_int" title="datafusion.dataframe_formatter._validate_positive_int"><code class="xref py py-obj docutils literal notranslate"><span class="pre">_validate_positive_int</span></code></a>(→ None)</p></td>
 <td><p>Validate that a parameter is a positive integer.</p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.dataframe_formatter.configure_formatter" title="datafusion.dataframe_formatter.configure_formatter"><code class="xref py py-obj docutils literal notranslate"><span class="pre">configure_formatter</span></code></a>(→ None)</p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.dataframe_formatter.configure_formatter" title="datafusion.dataframe_formatter.configure_formatter"><code class="xref py py-obj docutils literal notranslate"><span class="pre">configure_formatter</span></code></a>(→ None)</p></td>
 <td><p>Configure the global DataFrame HTML formatter.</p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.dataframe_formatter.get_formatter" title="datafusion.dataframe_formatter.get_formatter"><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_formatter</span></code></a>(→ DataFrameHtmlFormatter)</p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.dataframe_formatter.get_formatter" title="datafusion.dataframe_formatter.get_formatter"><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_formatter</span></code></a>(→ DataFrameHtmlFormatter)</p></td>
 <td><p>Get the current global DataFrame HTML formatter.</p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.dataframe_formatter.reset_formatter" title="datafusion.dataframe_formatter.reset_formatter"><code class="xref py py-obj docutils literal notranslate"><span class="pre">reset_formatter</span></code></a>(→ None)</p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.dataframe_formatter.reset_formatter" title="datafusion.dataframe_formatter.reset_formatter"><code class="xref py py-obj docutils literal notranslate"><span class="pre">reset_formatter</span></code></a>(→ None)</p></td>
 <td><p>Reset the global DataFrame HTML formatter to default settings.</p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.dataframe_formatter.set_formatter" title="datafusion.dataframe_formatter.set_formatter"><code class="xref py py-obj docutils literal notranslate"><span class="pre">set_formatter</span></code></a>(→ None)</p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.dataframe_formatter.set_formatter" title="datafusion.dataframe_formatter.set_formatter"><code class="xref py py-obj docutils literal notranslate"><span class="pre">set_formatter</span></code></a>(→ None)</p></td>
 <td><p>Set the global DataFrame HTML formatter.</p></td>
 </tr>
 </tbody>
@@ -975,7 +1015,7 @@
 
 <dl class="py class">
 <dt class="sig sig-object py" id="datafusion.dataframe_formatter.DataFrameHtmlFormatter">
-<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.dataframe_formatter.</span></span><span class="sig-name descname"><span class="pre">DataFrameHtmlFormatter</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">max_cell_length</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre" [...]
+<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.dataframe_formatter.</span></span><span class="sig-name descname"><span class="pre">DataFrameHtmlFormatter</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">max_cell_length</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre" [...]
 <dd><p>Configurable HTML formatter for DataFusion DataFrames.</p>
 <p>This class handles the HTML rendering of DataFrames for display in
 Jupyter notebooks and other rich display contexts.</p>
@@ -990,8 +1030,9 @@ Jupyter notebooks and other rich display contexts.</p>
 <li><p><strong>max_width</strong> – Maximum width of the HTML table in pixels</p></li>
 <li><p><strong>max_height</strong> – Maximum height of the HTML table in pixels</p></li>
 <li><p><strong>max_memory_bytes</strong> – Maximum memory in bytes for rendered data (default: 2MB)</p></li>
-<li><p><strong>min_rows_display</strong> – Minimum number of rows to display</p></li>
-<li><p><strong>repr_rows</strong> – Default number of rows to display in repr output</p></li>
+<li><p><strong>min_rows</strong> – Minimum number of rows to display (must be &lt;= max_rows)</p></li>
+<li><p><strong>max_rows</strong> – Maximum number of rows to display in repr output</p></li>
+<li><p><strong>repr_rows</strong> – Deprecated alias for max_rows</p></li>
 <li><p><strong>enable_cell_expansion</strong> – Whether to add expand/collapse buttons for long cell
 values</p></li>
 <li><p><strong>custom_css</strong> – Additional CSS to include in the HTML output</p></li>
@@ -1006,26 +1047,31 @@ session</p></li>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><ul class="simple">
-<li><p><strong>max_cell_length</strong> (<em>int</em><em>, </em><em>default 25</em>) – Maximum length of cell content before truncation.</p></li>
-<li><p><strong>max_width</strong> (<em>int</em><em>, </em><em>default 1000</em>) – Maximum width of the displayed table in pixels.</p></li>
-<li><p><strong>max_height</strong> (<em>int</em><em>, </em><em>default 300</em>) – Maximum height of the displayed table in pixels.</p></li>
-<li><p><strong>max_memory_bytes</strong> (<em>int</em><em>, </em><em>default 2097152</em><em> (</em><em>2MB</em><em>)</em>) – Maximum memory in bytes for rendered data.</p></li>
-<li><p><strong>min_rows_display</strong> (<em>int</em><em>, </em><em>default 20</em>) – Minimum number of rows to display.</p></li>
-<li><p><strong>repr_rows</strong> (<em>int</em><em>, </em><em>default 10</em>) – Default number of rows to display in repr output.</p></li>
-<li><p><strong>enable_cell_expansion</strong> (<em>bool</em><em>, </em><em>default True</em>) – Whether to allow cells to expand when clicked.</p></li>
-<li><p><strong>custom_css</strong> (<em>str</em><em>, </em><em>optional</em>) – Custom CSS to apply to the HTML table.</p></li>
-<li><p><strong>show_truncation_message</strong> (<em>bool</em><em>, </em><em>default True</em>) – Whether to show a message indicating that content has been truncated.</p></li>
-<li><p><strong>style_provider</strong> (<a class="reference internal" href="#datafusion.dataframe_formatter.StyleProvider" title="datafusion.dataframe_formatter.StyleProvider"><em>StyleProvider</em></a><em>, </em><em>optional</em>) – Provider of CSS styles for the HTML table. If None, DefaultStyleProvider
+<li><p><strong>max_cell_length</strong> – Maximum length of cell content before truncation.</p></li>
+<li><p><strong>max_width</strong> – Maximum width of the displayed table in pixels.</p></li>
+<li><p><strong>max_height</strong> – Maximum height of the displayed table in pixels.</p></li>
+<li><p><strong>max_memory_bytes</strong> – Maximum memory in bytes for rendered data. Helps prevent performance
+issues with large datasets.</p></li>
+<li><p><strong>min_rows</strong> – Minimum number of rows to display even if memory limit is reached.
+Must not exceed <code class="docutils literal notranslate"><span class="pre">max_rows</span></code>.</p></li>
+<li><p><strong>max_rows</strong> – Maximum number of rows to display. Takes precedence over memory limits
+when fewer rows are requested.</p></li>
+<li><p><strong>repr_rows</strong> – Deprecated alias for <code class="docutils literal notranslate"><span class="pre">max_rows</span></code>. Use <code class="docutils literal notranslate"><span class="pre">max_rows</span></code> instead.</p></li>
+<li><p><strong>enable_cell_expansion</strong> – Whether to allow cells to expand when clicked.</p></li>
+<li><p><strong>custom_css</strong> – Custom CSS to apply to the HTML table.</p></li>
+<li><p><strong>show_truncation_message</strong> – Whether to show a message indicating that content has been truncated.</p></li>
+<li><p><strong>style_provider</strong> – Provider of CSS styles for the HTML table. If None, DefaultStyleProvider
 is used.</p></li>
-<li><p><strong>use_shared_styles</strong> (<em>bool</em><em>, </em><em>default True</em>) – Whether to use shared styles across multiple tables.</p></li>
+<li><p><strong>use_shared_styles</strong> – Whether to use shared styles across multiple tables. This improves
+performance when displaying many DataFrames in a single notebook.</p></li>
 <li><p><strong>Raises</strong></p></li>
 <li><p><strong>------</strong></p></li>
 <li><p><strong>ValueError</strong> – If max_cell_length, max_width, max_height, max_memory_bytes,
-min_rows_display, or repr_rows is not a positive integer.</p></li>
+min_rows or max_rows is not a positive integer, or if min_rows
+exceeds max_rows.</p></li>
 <li><p><strong>TypeError</strong> – If enable_cell_expansion, show_truncation_message, or use_shared_styles is
-not a boolean,
-or if custom_css is provided but is not a string,
-or if style_provider is provided but does not implement the StyleProvider
+not a boolean, or if custom_css is provided but is not a string, or if
+style_provider is provided but does not implement the StyleProvider
 protocol.</p></li>
 </ul>
 </dd>
@@ -1181,7 +1227,7 @@ a formatted string</p></li>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe_formatter.DataFrameHtmlFormatter.set_custom_cell_builder">
-<span class="sig-name descname"><span class="pre">set_custom_cell_builder</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">builder</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Callable</span><span class="p"><span class="pre">[</span></span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">,</span></span [...]
+<span class="sig-name descname"><span class="pre">set_custom_cell_builder</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">builder</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">collections.abc.Callable</span><span class="p"><span class="pre">[</span></span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre [...]
 <dd><p>Set a custom cell builder function.</p>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
@@ -1192,7 +1238,7 @@ a formatted string</p></li>
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.dataframe_formatter.DataFrameHtmlFormatter.set_custom_header_builder">
-<span class="sig-name descname"><span class="pre">set_custom_header_builder</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">builder</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Callable</span><span class="p"><span class="pre">[</span></span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></sp [...]
+<span class="sig-name descname"><span class="pre">set_custom_header_builder</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">builder</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">collections.abc.Callable</span><span class="p"><span class="pre">[</span></span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="p [...]
 <dd><p>Set a custom header builder function.</p>
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
@@ -1203,12 +1249,17 @@ a formatted string</p></li>
 
 <dl class="py attribute">
 <dt class="sig sig-object py" id="datafusion.dataframe_formatter.DataFrameHtmlFormatter._custom_cell_builder">
-<span class="sig-name descname"><span class="pre">_custom_cell_builder</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">Callable</span><span class="p"><span class="pre">[</span></span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">int</span><span class="p"><span class="pre">,</span></span><span [...]
+<span class="sig-name descname"><span class="pre">_custom_cell_builder</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">collections.abc.Callable</span><span class="p"><span class="pre">[</span></span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">int</span><span class="p"><span class="pre">,</s [...]
 <dd></dd></dl>
 
 <dl class="py attribute">
 <dt class="sig sig-object py" id="datafusion.dataframe_formatter.DataFrameHtmlFormatter._custom_header_builder">
-<span class="sig-name descname"><span class="pre">_custom_header_builder</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">Callable</span><span class="p"><span class="pre">[</span></span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">str</span><sp [...]
+<span class="sig-name descname"><span class="pre">_custom_header_builder</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">collections.abc.Callable</span><span class="p"><span class="pre">[</span></span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pr [...]
+<dd></dd></dl>
+
+<dl class="py attribute">
+<dt class="sig sig-object py" id="datafusion.dataframe_formatter.DataFrameHtmlFormatter._max_rows">
+<span class="sig-name descname"><span class="pre">_max_rows</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#datafusion.dataframe_formatter.DataFrameHtmlFormatter._max_rows" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
@@ -1241,20 +1292,41 @@ a formatted string</p></li>
 <span class="sig-name descname"><span class="pre">max_memory_bytes</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">2097152</span></em><a class="headerlink" href="#datafusion.dataframe_formatter.DataFrameHtmlFormatter.max_memory_bytes" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
+<dl class="py property">
+<dt class="sig sig-object py" id="datafusion.dataframe_formatter.DataFrameHtmlFormatter.max_rows">
+<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">max_rows</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">int</span></em><a class="headerlink" href="#datafusion.dataframe_formatter.DataFrameHtmlFormatter.max_rows" title="Link to this definition">¶</a></dt>
+<dd><p>Get the maximum number of rows to display.</p>
+<dl class="field-list simple">
+<dt class="field-odd">Returns<span class="colon">:</span></dt>
+<dd class="field-odd"><p>The maximum number of rows to display in repr output</p>
+</dd>
+</dl>
+</dd></dl>
+
 <dl class="py attribute">
 <dt class="sig sig-object py" id="datafusion.dataframe_formatter.DataFrameHtmlFormatter.max_width">
 <span class="sig-name descname"><span class="pre">max_width</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">1000</span></em><a class="headerlink" href="#datafusion.dataframe_formatter.DataFrameHtmlFormatter.max_width" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
 <dl class="py attribute">
-<dt class="sig sig-object py" id="datafusion.dataframe_formatter.DataFrameHtmlFormatter.min_rows_display">
-<span class="sig-name descname"><span class="pre">min_rows_display</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">20</span></em><a class="headerlink" href="#datafusion.dataframe_formatter.DataFrameHtmlFormatter.min_rows_display" title="Link to this definition">¶</a></dt>
+<dt class="sig sig-object py" id="datafusion.dataframe_formatter.DataFrameHtmlFormatter.min_rows">
+<span class="sig-name descname"><span class="pre">min_rows</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">10</span></em><a class="headerlink" href="#datafusion.dataframe_formatter.DataFrameHtmlFormatter.min_rows" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
-<dl class="py attribute">
+<dl class="py property">
 <dt class="sig sig-object py" id="datafusion.dataframe_formatter.DataFrameHtmlFormatter.repr_rows">
-<span class="sig-name descname"><span class="pre">repr_rows</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">10</span></em><a class="headerlink" href="#datafusion.dataframe_formatter.DataFrameHtmlFormatter.repr_rows" title="Link to this definition">¶</a></dt>
-<dd></dd></dl>
+<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">repr_rows</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">int</span></em><a class="headerlink" href="#datafusion.dataframe_formatter.DataFrameHtmlFormatter.repr_rows" title="Link to this definition">¶</a></dt>
+<dd><p>Get the maximum number of rows (deprecated name).</p>
+<div class="deprecated">
+<p><span class="versionmodified deprecated">Deprecated since version Use: </span><a class="reference internal" href="#datafusion.dataframe_formatter.DataFrameHtmlFormatter.max_rows" title="datafusion.dataframe_formatter.DataFrameHtmlFormatter.max_rows"><code class="xref py py-attr docutils literal notranslate"><span class="pre">max_rows</span></code></a> instead. This property is provided for
+backward compatibility.</p>
+</div>
+<dl class="field-list simple">
+<dt class="field-odd">Returns<span class="colon">:</span></dt>
+<dd class="field-odd"><p>The maximum number of rows to display</p>
+</dd>
+</dl>
+</dd></dl>
 
 <dl class="py attribute">
 <dt class="sig sig-object py" id="datafusion.dataframe_formatter.DataFrameHtmlFormatter.show_truncation_message">
@@ -1378,6 +1450,40 @@ DataFrames that might be caching the formatter reference.</p>
 </dl>
 </dd></dl>
 
+<dl class="py function">
+<dt class="sig sig-object py" id="datafusion.dataframe_formatter._validate_formatter_parameters">
+<span class="sig-prename descclassname"><span class="pre">datafusion.dataframe_formatter.</span></span><span class="sig-name descname"><span class="pre">_validate_formatter_parameters</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">max_cell_length</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span cla [...]
+<dd><p>Validate all formatter parameters and return resolved max_rows value.</p>
+<dl class="field-list simple">
+<dt class="field-odd">Parameters<span class="colon">:</span></dt>
+<dd class="field-odd"><ul class="simple">
+<li><p><strong>max_cell_length</strong> – Maximum cell length value to validate</p></li>
+<li><p><strong>max_width</strong> – Maximum width value to validate</p></li>
+<li><p><strong>max_height</strong> – Maximum height value to validate</p></li>
+<li><p><strong>max_memory_bytes</strong> – Maximum memory bytes value to validate</p></li>
+<li><p><strong>min_rows</strong> – Minimum rows to display value to validate</p></li>
+<li><p><strong>max_rows</strong> – Maximum rows value to validate (None means use default)</p></li>
+<li><p><strong>repr_rows</strong> – Deprecated repr_rows value to validate</p></li>
+<li><p><strong>enable_cell_expansion</strong> – Boolean expansion flag to validate</p></li>
+<li><p><strong>show_truncation_message</strong> – Boolean message flag to validate</p></li>
+<li><p><strong>use_shared_styles</strong> – Boolean styles flag to validate</p></li>
+<li><p><strong>custom_css</strong> – Custom CSS string to validate</p></li>
+<li><p><strong>style_provider</strong> – Style provider object to validate</p></li>
+</ul>
+</dd>
+<dt class="field-even">Returns<span class="colon">:</span></dt>
+<dd class="field-even"><p>The resolved max_rows value after handling repr_rows deprecation</p>
+</dd>
+<dt class="field-odd">Raises<span class="colon">:</span></dt>
+<dd class="field-odd"><ul class="simple">
+<li><p><strong>ValueError</strong> – If any numeric parameter is invalid or constraints are violated</p></li>
+<li><p><strong>TypeError</strong> – If any parameter has invalid type</p></li>
+<li><p><strong>DeprecationWarning</strong> – If repr_rows parameter is used</p></li>
+</ul>
+</dd>
+</dl>
+</dd></dl>
+
 <dl class="py function">
 <dt class="sig sig-object py" id="datafusion.dataframe_formatter._validate_positive_int">
 <span class="sig-prename descclassname"><span class="pre">datafusion.dataframe_formatter.</span></span><span class="sig-name descname"><span class="pre">_validate_positive_int</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Any</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">param_nam [...]
diff --git a/autoapi/datafusion/expr/index.html b/autoapi/datafusion/expr/index.html
index 0b21f068..44cae013 100644
--- a/autoapi/datafusion/expr/index.html
+++ b/autoapi/datafusion/expr/index.html
@@ -243,6 +243,11 @@
    SQL
   </a>
  </li>
+ <li class="toctree-l1">
+  <a class="reference internal" href="../../../user-guide/upgrade-guides.html">
+   Upgrade Guides
+  </a>
+ </li>
 </ul>
 <p aria-level="2" class="caption" role="heading">
  <span class="caption-text">
@@ -354,6 +359,11 @@
        datafusion.object_store
       </a>
      </li>
+     <li class="toctree-l3">
+      <a class="reference internal" href="../options/index.html">
+       datafusion.options
+      </a>
+     </li>
      <li class="toctree-l3">
       <a class="reference internal" href="../plan/index.html">
        datafusion.plan
@@ -417,6 +427,11 @@
    Classes
   </a>
  </li>
+ <li class="toc-h2 nav-item toc-entry">
+  <a class="reference internal nav-link" href="#functions">
+   Functions
+  </a>
+ </li>
  <li class="toc-h2 nav-item toc-entry">
   <a class="reference internal nav-link" href="#module-contents">
    Module Contents
@@ -1793,6 +1808,24 @@
      </li>
     </ul>
    </li>
+   <li class="toc-h3 nav-item toc-entry">
+    <a class="reference internal nav-link" href="#datafusion.expr.ensure_expr">
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       ensure_expr()
+      </span>
+     </code>
+    </a>
+   </li>
+   <li class="toc-h3 nav-item toc-entry">
+    <a class="reference internal nav-link" href="#datafusion.expr.ensure_expr_list">
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       ensure_expr_list()
+      </span>
+     </code>
+    </a>
+   </li>
    <li class="toc-h3 nav-item toc-entry">
     <a class="reference internal nav-link" href="#datafusion.expr.Aggregate">
      <code class="docutils literal notranslate">
@@ -2027,6 +2060,15 @@
      </code>
     </a>
    </li>
+   <li class="toc-h3 nav-item toc-entry">
+    <a class="reference internal nav-link" href="#datafusion.expr.EXPR_TYPE_ERROR">
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       EXPR_TYPE_ERROR
+      </span>
+     </code>
+    </a>
+   </li>
    <li class="toc-h3 nav-item toc-entry">
     <a class="reference internal nav-link" href="#datafusion.expr.EmptyRelation">
      <code class="docutils literal notranslate">
@@ -2378,6 +2420,15 @@
      </code>
     </a>
    </li>
+   <li class="toc-h3 nav-item toc-entry">
+    <a class="reference internal nav-link" href="#datafusion.expr.SortKey">
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       SortKey
+      </span>
+     </code>
+    </a>
+   </li>
    <li class="toc-h3 nav-item toc-entry">
     <a class="reference internal nav-link" href="#datafusion.expr.Subquery">
      <code class="docutils literal notranslate">
@@ -2613,121 +2664,127 @@
 <tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.DropView" title="datafusion.expr.DropView"><code class="xref py py-obj docutils literal notranslate"><span class="pre">DropView</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.EmptyRelation" title="datafusion.expr.EmptyRelation"><code class="xref py py-obj docutils literal notranslate"><span class="pre">EmptyRelation</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.EXPR_TYPE_ERROR" title="datafusion.expr.EXPR_TYPE_ERROR"><code class="xref py py-obj docutils literal notranslate"><span class="pre">EXPR_TYPE_ERROR</span></code></a></p></td>
+<td><p></p></td>
+</tr>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.EmptyRelation" title="datafusion.expr.EmptyRelation"><code class="xref py py-obj docutils literal notranslate"><span class="pre">EmptyRelation</span></code></a></p></td>
+<td><p></p></td>
+</tr>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.Execute" title="datafusion.expr.Execute"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Execute</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Execute" title="datafusion.expr.Execute"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Execute</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Exists" title="datafusion.expr.Exists"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Exists</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.Exists" title="datafusion.expr.Exists"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Exists</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.Explain" title="datafusion.expr.Explain"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Explain</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Explain" title="datafusion.expr.Explain"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Explain</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Extension" title="datafusion.expr.Extension"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Extension</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.Extension" title="datafusion.expr.Extension"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Extension</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.FileType" title="datafusion.expr.FileType"><code class="xref py py-obj docutils literal notranslate"><span class="pre">FileType</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.FileType" title="datafusion.expr.FileType"><code class="xref py py-obj docutils literal notranslate"><span class="pre">FileType</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Filter" title="datafusion.expr.Filter"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Filter</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.Filter" title="datafusion.expr.Filter"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Filter</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.GroupingSet" title="datafusion.expr.GroupingSet"><code class="xref py py-obj docutils literal notranslate"><span class="pre">GroupingSet</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.GroupingSet" title="datafusion.expr.GroupingSet"><code class="xref py py-obj docutils literal notranslate"><span class="pre">GroupingSet</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.ILike" title="datafusion.expr.ILike"><code class="xref py py-obj docutils literal notranslate"><span class="pre">ILike</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.ILike" title="datafusion.expr.ILike"><code class="xref py py-obj docutils literal notranslate"><span class="pre">ILike</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.InList" title="datafusion.expr.InList"><code class="xref py py-obj docutils literal notranslate"><span class="pre">InList</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.InList" title="datafusion.expr.InList"><code class="xref py py-obj docutils literal notranslate"><span class="pre">InList</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.InSubquery" title="datafusion.expr.InSubquery"><code class="xref py py-obj docutils literal notranslate"><span class="pre">InSubquery</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.InSubquery" title="datafusion.expr.InSubquery"><code class="xref py py-obj docutils literal notranslate"><span class="pre">InSubquery</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.IsFalse" title="datafusion.expr.IsFalse"><code class="xref py py-obj docutils literal notranslate"><span class="pre">IsFalse</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.IsFalse" title="datafusion.expr.IsFalse"><code class="xref py py-obj docutils literal notranslate"><span class="pre">IsFalse</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.IsNotFalse" title="datafusion.expr.IsNotFalse"><code class="xref py py-obj docutils literal notranslate"><span class="pre">IsNotFalse</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.IsNotFalse" title="datafusion.expr.IsNotFalse"><code class="xref py py-obj docutils literal notranslate"><span class="pre">IsNotFalse</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.IsNotNull" title="datafusion.expr.IsNotNull"><code class="xref py py-obj docutils literal notranslate"><span class="pre">IsNotNull</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.IsNotNull" title="datafusion.expr.IsNotNull"><code class="xref py py-obj docutils literal notranslate"><span class="pre">IsNotNull</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.IsNotTrue" title="datafusion.expr.IsNotTrue"><code class="xref py py-obj docutils literal notranslate"><span class="pre">IsNotTrue</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.IsNotTrue" title="datafusion.expr.IsNotTrue"><code class="xref py py-obj docutils literal notranslate"><span class="pre">IsNotTrue</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.IsNotUnknown" title="datafusion.expr.IsNotUnknown"><code class="xref py py-obj docutils literal notranslate"><span class="pre">IsNotUnknown</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.IsNotUnknown" title="datafusion.expr.IsNotUnknown"><code class="xref py py-obj docutils literal notranslate"><span class="pre">IsNotUnknown</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.IsNull" title="datafusion.expr.IsNull"><code class="xref py py-obj docutils literal notranslate"><span class="pre">IsNull</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.IsNull" title="datafusion.expr.IsNull"><code class="xref py py-obj docutils literal notranslate"><span class="pre">IsNull</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.IsTrue" title="datafusion.expr.IsTrue"><code class="xref py py-obj docutils literal notranslate"><span class="pre">IsTrue</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.IsTrue" title="datafusion.expr.IsTrue"><code class="xref py py-obj docutils literal notranslate"><span class="pre">IsTrue</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.IsUnknown" title="datafusion.expr.IsUnknown"><code class="xref py py-obj docutils literal notranslate"><span class="pre">IsUnknown</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.IsUnknown" title="datafusion.expr.IsUnknown"><code class="xref py py-obj docutils literal notranslate"><span class="pre">IsUnknown</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.Join" title="datafusion.expr.Join"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Join</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Join" title="datafusion.expr.Join"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Join</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.JoinConstraint" title="datafusion.expr.JoinConstraint"><code class="xref py py-obj docutils literal notranslate"><span class="pre">JoinConstraint</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.JoinConstraint" title="datafusion.expr.JoinConstraint"><code class="xref py py-obj docutils literal notranslate"><span class="pre">JoinConstraint</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.JoinType" title="datafusion.expr.JoinType"><code class="xref py py-obj docutils literal notranslate"><span class="pre">JoinType</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.JoinType" title="datafusion.expr.JoinType"><code class="xref py py-obj docutils literal notranslate"><span class="pre">JoinType</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Like" title="datafusion.expr.Like"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Like</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.Like" title="datafusion.expr.Like"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Like</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.Limit" title="datafusion.expr.Limit"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Limit</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Limit" title="datafusion.expr.Limit"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Limit</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Literal" title="datafusion.expr.Literal"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Literal</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.Literal" title="datafusion.expr.Literal"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Literal</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.Negative" title="datafusion.expr.Negative"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Negative</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Negative" title="datafusion.expr.Negative"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Negative</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Not" title="datafusion.expr.Not"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Not</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.Not" title="datafusion.expr.Not"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Not</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.OperateFunctionArg" title="datafusion.expr.OperateFunctionArg"><code class="xref py py-obj docutils literal notranslate"><span class="pre">OperateFunctionArg</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.OperateFunctionArg" title="datafusion.expr.OperateFunctionArg"><code class="xref py py-obj docutils literal notranslate"><span class="pre">OperateFunctionArg</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Partitioning" title="datafusion.expr.Partitioning"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Partitioning</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.Partitioning" title="datafusion.expr.Partitioning"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Partitioning</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.Placeholder" title="datafusion.expr.Placeholder"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Placeholder</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Placeholder" title="datafusion.expr.Placeholder"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Placeholder</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Prepare" title="datafusion.expr.Prepare"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Prepare</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.Prepare" title="datafusion.expr.Prepare"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Prepare</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.Projection" title="datafusion.expr.Projection"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Projection</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Projection" title="datafusion.expr.Projection"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Projection</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.RecursiveQuery" title="datafusion.expr.RecursiveQuery"><code class="xref py py-obj docutils literal notranslate"><span class="pre">RecursiveQuery</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.RecursiveQuery" title="datafusion.expr.RecursiveQuery"><code class="xref py py-obj docutils literal notranslate"><span class="pre">RecursiveQuery</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.Repartition" title="datafusion.expr.Repartition"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Repartition</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Repartition" title="datafusion.expr.Repartition"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Repartition</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.ScalarSubquery" title="datafusion.expr.ScalarSubquery"><code class="xref py py-obj docutils literal notranslate"><span class="pre">ScalarSubquery</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.ScalarSubquery" title="datafusion.expr.ScalarSubquery"><code class="xref py py-obj docutils literal notranslate"><span class="pre">ScalarSubquery</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.ScalarVariable" title="datafusion.expr.ScalarVariable"><code class="xref py py-obj docutils literal notranslate"><span class="pre">ScalarVariable</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.ScalarVariable" title="datafusion.expr.ScalarVariable"><code class="xref py py-obj docutils literal notranslate"><span class="pre">ScalarVariable</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.SetVariable" title="datafusion.expr.SetVariable"><code class="xref py py-obj docutils literal notranslate"><span class="pre">SetVariable</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.SetVariable" title="datafusion.expr.SetVariable"><code class="xref py py-obj docutils literal notranslate"><span class="pre">SetVariable</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.SimilarTo" title="datafusion.expr.SimilarTo"><code class="xref py py-obj docutils literal notranslate"><span class="pre">SimilarTo</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.SimilarTo" title="datafusion.expr.SimilarTo"><code class="xref py py-obj docutils literal notranslate"><span class="pre">SimilarTo</span></code></a></p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Sort" title="datafusion.expr.Sort"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Sort</span></code></a></p></td>
 <td><p></p></td>
 </tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.Sort" title="datafusion.expr.Sort"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Sort</span></code></a></p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.SortKey" title="datafusion.expr.SortKey"><code class="xref py py-obj docutils literal notranslate"><span class="pre">SortKey</span></code></a></p></td>
 <td><p></p></td>
 </tr>
 <tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.Subquery" title="datafusion.expr.Subquery"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Subquery</span></code></a></p></td>
@@ -2800,6 +2857,19 @@
 </tbody>
 </table>
 </section>
+<section id="functions">
+<h2>Functions<a class="headerlink" href="#functions" title="Link to this heading">¶</a></h2>
+<table class="autosummary longtable table autosummary">
+<tbody>
+<tr class="row-odd"><td><p><a class="reference internal" href="#datafusion.expr.ensure_expr" title="datafusion.expr.ensure_expr"><code class="xref py py-obj docutils literal notranslate"><span class="pre">ensure_expr</span></code></a>(→ datafusion._internal.expr.Expr)</p></td>
+<td><p>Return the internal expression from <code class="docutils literal notranslate"><span class="pre">Expr</span></code> or raise <code class="docutils literal notranslate"><span class="pre">TypeError</span></code>.</p></td>
+</tr>
+<tr class="row-even"><td><p><a class="reference internal" href="#datafusion.expr.ensure_expr_list" title="datafusion.expr.ensure_expr_list"><code class="xref py py-obj docutils literal notranslate"><span class="pre">ensure_expr_list</span></code></a>(→ list[datafusion._internal.expr.Expr])</p></td>
+<td><p>Flatten an iterable of expressions, validating each via <code class="docutils literal notranslate"><span class="pre">ensure_expr</span></code>.</p></td>
+</tr>
+</tbody>
+</table>
+</section>
 <section id="module-contents">
 <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to this heading">¶</a></h2>
 <dl class="py class">
@@ -2810,7 +2880,7 @@
 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span><span class="w"> </span><span class="nn">datafusion.functions</span><span class="w"> </span><span class="k">as</span><span class="w"> </span><span class="nn">f</span>
 <span class="kn">from</span><span class="w"> </span><span class="nn">datafusion</span><span class="w"> </span><span class="kn">import</span> <span class="n">lit</span><span class="p">,</span> <span class="n">col</span>
 <span class="n">df</span><span class="o">.</span><span class="n">select</span><span class="p">(</span>
-    <span class="n">f</span><span class="o">.</span><span class="n">case</span><span class="p">(</span><span class="n">col</span><span class="p">(</span><span class="s2">&quot;column_a&quot;</span><span class="p">)</span>
+    <span class="n">f</span><span class="o">.</span><span class="n">case</span><span class="p">(</span><span class="n">col</span><span class="p">(</span><span class="s2">&quot;column_a&quot;</span><span class="p">))</span>
     <span class="o">.</span><span class="n">when</span><span class="p">(</span><span class="n">lit</span><span class="p">(</span><span class="mi">1</span><span class="p">),</span> <span class="n">lit</span><span class="p">(</span><span class="s2">&quot;One&quot;</span><span class="p">))</span>
     <span class="o">.</span><span class="n">when</span><span class="p">(</span><span class="n">lit</span><span class="p">(</span><span class="mi">2</span><span class="p">),</span> <span class="n">lit</span><span class="p">(</span><span class="s2">&quot;Two&quot;</span><span class="p">))</span>
     <span class="o">.</span><span class="n">otherwise</span><span class="p">(</span><span class="n">lit</span><span class="p">(</span><span class="s2">&quot;Unknown&quot;</span><span class="p">))</span>
@@ -2886,7 +2956,12 @@
 <dd><p>Retrieve sub-object.</p>
 <p>If <code class="docutils literal notranslate"><span class="pre">key</span></code> is a string, returns the subfield of the struct.
 If <code class="docutils literal notranslate"><span class="pre">key</span></code> is an integer, retrieves the element in the array. Note that the
-element index begins at <code class="docutils literal notranslate"><span class="pre">0</span></code>, unlike <cite>array_element</cite> which begins at <code class="docutils literal notranslate"><span class="pre">1</span></code>.</p>
+element index begins at <code class="docutils literal notranslate"><span class="pre">0</span></code>, unlike
+<a class="reference internal" href="../functions/index.html#datafusion.functions.array_element" title="datafusion.functions.array_element"><code class="xref py py-func docutils literal notranslate"><span class="pre">array_element()</span></code></a> which begins at <code class="docutils literal notranslate"><span class="pre">1</span></code>.
+If <code class="docutils literal notranslate"><span class="pre">key</span></code> is a slice, returns an array that contains a slice of the
+original array. Similar to integer indexing, this follows Python convention
+where the index begins at <code class="docutils literal notranslate"><span class="pre">0</span></code> unlike
+<a class="reference internal" href="../functions/index.html#datafusion.functions.array_slice" title="datafusion.functions.array_slice"><code class="xref py py-func docutils literal notranslate"><span class="pre">array_slice()</span></code></a> which begins at <code class="docutils literal notranslate"><span class="pre">1</span></code>.</p>
 </dd></dl>
 
 <dl class="py method">
@@ -3137,7 +3212,7 @@ element index begins at <code class="docutils literal notranslate"><span class="
 
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.expr.Expr.cast">
-<span class="sig-name descname"><span class="pre">cast</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">to</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">pyarrow.DataType</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</spa [...]
+<span class="sig-name descname"><span class="pre">cast</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">to</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">pyarrow.DataType</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</spa [...]
 <dd><p>Cast to a new data type.</p>
 </dd></dl>
 
@@ -3453,7 +3528,7 @@ type of expression, an error will be generated when <code class="docutils litera
 <dl class="py method">
 <dt class="sig sig-object py" id="datafusion.expr.Expr.python_value">
 <span class="sig-name descname"><span class="pre">python_value</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">Any</span></span></span><a class="headerlink" href="#datafusion.expr.Expr.python_value" title="Link to this definition">¶</a></dt>
-<dd><p>Extracts the Expr value into a PyObject.</p>
+<dd><p>Extracts the Expr value into <cite>Any</cite>.</p>
 <p>This is only valid for literal expressions.</p>
 <dl class="field-list simple">
 <dt class="field-odd">Returns<span class="colon">:</span></dt>
@@ -3734,7 +3809,7 @@ type of expression, an error will be generated when <code class="docutils litera
 
 <dl class="py class">
 <dt class="sig sig-object py" id="datafusion.expr.Window">
-<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.expr.</span></span><span class="sig-name descname"><span class="pre">Window</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">partition_by</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="p"><span  [...]
+<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">datafusion.expr.</span></span><span class="sig-name descname"><span class="pre">Window</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">partition_by</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="p"><span  [...]
 <dd><p>Define reusable window parameters.</p>
 <p>Construct a window definition.</p>
 <dl class="field-list simple">
@@ -3861,6 +3936,43 @@ parameter must be set.</p></li>
 
 </dd></dl>
 
+<dl class="py function">
+<dt class="sig sig-object py" id="datafusion.expr.ensure_expr">
+<span class="sig-prename descclassname"><span class="pre">datafusion.expr.</span></span><span class="sig-name descname"><span class="pre">ensure_expr</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre">Expr</span></a><span class= [...]
+<dd><p>Return the internal expression from <code class="docutils literal notranslate"><span class="pre">Expr</span></code> or raise <code class="docutils literal notranslate"><span class="pre">TypeError</span></code>.</p>
+<p>This helper rejects plain strings and other non-<a class="reference internal" href="#datafusion.expr.Expr" title="datafusion.expr.Expr"><code class="xref py py-class docutils literal notranslate"><span class="pre">Expr</span></code></a> values so
+higher level APIs consistently require explicit <a class="reference internal" href="../index.html#datafusion.col" title="datafusion.col"><code class="xref py py-func docutils literal notranslate"><span class="pre">col()</span></code></a> or
+<a class="reference internal" href="../index.html#datafusion.lit" title="datafusion.lit"><code class="xref py py-func docutils literal notranslate"><span class="pre">lit()</span></code></a> expressions.</p>
+<dl class="field-list simple">
+<dt class="field-odd">Parameters<span class="colon">:</span></dt>
+<dd class="field-odd"><p><strong>value</strong> – Candidate expression or other object.</p>
+</dd>
+<dt class="field-even">Returns<span class="colon">:</span></dt>
+<dd class="field-even"><p>The internal expression representation.</p>
+</dd>
+<dt class="field-odd">Raises<span class="colon">:</span></dt>
+<dd class="field-odd"><p><strong>TypeError</strong> – If <code class="docutils literal notranslate"><span class="pre">value</span></code> is not an instance of <a class="reference internal" href="#datafusion.expr.Expr" title="datafusion.expr.Expr"><code class="xref py py-class docutils literal notranslate"><span class="pre">Expr</span></code></a>.</p>
+</dd>
+</dl>
+</dd></dl>
+
+<dl class="py function">
+<dt class="sig sig-object py" id="datafusion.expr.ensure_expr_list">
+<span class="sig-prename descclassname"><span class="pre">datafusion.expr.</span></span><span class="sig-name descname"><span class="pre">ensure_expr_list</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">exprs</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">collections.abc.Iterable</span><span class="p"><span class="pre">[</span></span><a class="reference internal"  [...]
+<dd><p>Flatten an iterable of expressions, validating each via <code class="docutils literal notranslate"><span class="pre">ensure_expr</span></code>.</p>
+<dl class="field-list simple">
+<dt class="field-odd">Parameters<span class="colon">:</span></dt>
+<dd class="field-odd"><p><strong>exprs</strong> – Possibly nested iterable containing expressions.</p>
+</dd>
+<dt class="field-even">Returns<span class="colon">:</span></dt>
+<dd class="field-even"><p>A flat list of raw expressions.</p>
+</dd>
+<dt class="field-odd">Raises<span class="colon">:</span></dt>
+<dd class="field-odd"><p><strong>TypeError</strong> – If any item is not an instance of <a class="reference internal" href="#datafusion.expr.Expr" title="datafusion.expr.Expr"><code class="xref py py-class docutils literal notranslate"><span class="pre">Expr</span></code></a>.</p>
+</dd>
+</dl>
+</dd></dl>
+
 <dl class="py data">
 <dt class="sig sig-object py" id="datafusion.expr.Aggregate">
 <span class="sig-prename descclassname"><span class="pre">datafusion.expr.</span></span><span class="sig-name descname"><span class="pre">Aggregate</span></span><a class="headerlink" href="#datafusion.expr.Aggregate" title="Link to this definition">¶</a></dt>
@@ -3991,6 +4103,11 @@ parameter must be set.</p></li>
 <span class="sig-prename descclassname"><span class="pre">datafusion.expr.</span></span><span class="sig-name descname"><span class="pre">DropView</span></span><a class="headerlink" href="#datafusion.expr.DropView" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
+<dl class="py data">
+<dt class="sig sig-object py" id="datafusion.expr.EXPR_TYPE_ERROR">
+<span class="sig-prename descclassname"><span class="pre">datafusion.expr.</span></span><span class="sig-name descname"><span class="pre">EXPR_TYPE_ERROR</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'Use</span> <span class="pre">col()/column()</span> <span class="pre">or</span> <span class="pre">lit()/literal()</span> <span class="pre">to</span> <span class="pre">construct</span> <span [...]
+<dd></dd></dl>
+
 <dl class="py data">
 <dt class="sig sig-object py" id="datafusion.expr.EmptyRelation">
 <span class="sig-prename descclassname"><span class="pre">datafusion.expr.</span></span><span class="sig-name descname"><span class="pre">EmptyRelation</span></span><a class="headerlink" href="#datafusion.expr.EmptyRelation" title="Link to this definition">¶</a></dt>
@@ -4186,6 +4303,11 @@ parameter must be set.</p></li>
 <span class="sig-prename descclassname"><span class="pre">datafusion.expr.</span></span><span class="sig-name descname"><span class="pre">Sort</span></span><a class="headerlink" href="#datafusion.expr.Sort" title="Link to this definition">¶</a></dt>
 <dd></dd></dl>
 
+<dl class="py data">
+<dt class="sig sig-object py" id="datafusion.expr.SortKey">
+<span class="sig-prename descclassname"><span class="pre">datafusion.expr.</span></span><span class="sig-name descname"><span class="pre">SortKey</span></span><a class="headerlink" href="#datafusion.expr.SortKey" title="Link to this definition">¶</a></dt>
+<dd></dd></dl>
+
 <dl class="py data">
 <dt class="sig sig-object py" id="datafusion.expr.Subquery">
 <span class="sig-prename descclassname"><span class="pre">datafusion.expr.</span></span><span class="sig-name descname"><span class="pre">Subquery</span></span><a class="headerlink" href="#datafusion.expr.Subquery" title="Link to this definition">¶</a></dt>
diff --git a/autoapi/datafusion/functions/index.html b/autoapi/datafusion/functions/index.html
index 47247ab9..bc1a0b1f 100644
--- a/autoapi/datafusion/functions/index.html
+++ b/autoapi/datafusion/functions/index.html
@@ -243,6 +243,11 @@
    SQL
   </a>
  </li>
+ <li class="toctree-l1">
+  <a class="reference internal" href="../../../user-guide/upgrade-guides.html">
+   Upgrade Guides
+  </a>
+ </li>
 </ul>
 <p aria-level="2" class="caption" role="heading">
  <span class="caption-text">
@@ -354,6 +359,11 @@
        datafusion.object_store
       </a>
      </li>
+     <li class="toctree-l3">
+      <a class="reference internal" href="../options/index.html">
+       datafusion.options
+      </a>
+     </li>
      <li class="toctree-l3">
       <a class="reference internal" href="../plan/index.html">
        datafusion.plan
@@ -3433,7 +3443,7 @@ the options <code class="docutils literal notranslate"><span class="pre">order_b
 
 <dl class="py function">
 <dt class="sig sig-object py" id="datafusion.functions.approx_percentile_cont">
-<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">approx_percentile_cont</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">expression</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span  [...]
+<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">approx_percentile_cont</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sort_expression</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr">< [...]
 <dd><p>Returns the value that is approximately at a given percentile of <code class="docutils literal notranslate"><span class="pre">expr</span></code>.</p>
 <p>This aggregate function assumes the input values form a continuous distribution.
 Suppose you have a DataFrame which consists of 100 different test scores. If you
@@ -3448,7 +3458,7 @@ the options <code class="docutils literal notranslate"><span class="pre">order_b
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><ul class="simple">
-<li><p><strong>expression</strong> – Values for which to find the approximate percentile</p></li>
+<li><p><strong>sort_expression</strong> – Values for which to find the approximate percentile</p></li>
 <li><p><strong>percentile</strong> – This must be between 0.0 and 1.0, inclusive</p></li>
 <li><p><strong>num_centroids</strong> – Max bin size for the t-digest algorithm</p></li>
 <li><p><strong>filter</strong> – If provided, only compute against rows for which the filter is True</p></li>
@@ -3459,7 +3469,7 @@ the options <code class="docutils literal notranslate"><span class="pre">order_b
 
 <dl class="py function">
 <dt class="sig sig-object py" id="datafusion.functions.approx_percentile_cont_with_weight">
-<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">approx_percentile_cont_with_weight</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">expression</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr. [...]
+<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">approx_percentile_cont_with_weight</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sort_expression</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion. [...]
 <dd><p>Returns the value of the weighted approximate percentile.</p>
 <p>This aggregate function is similar to <a class="reference internal" href="#datafusion.functions.approx_percentile_cont" title="datafusion.functions.approx_percentile_cont"><code class="xref py py-func docutils literal notranslate"><span class="pre">approx_percentile_cont()</span></code></a> except that
 it uses the associated associated weights.</p>
@@ -3468,9 +3478,10 @@ the options <code class="docutils literal notranslate"><span class="pre">order_b
 <dl class="field-list simple">
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><ul class="simple">
-<li><p><strong>expression</strong> – Values for which to find the approximate percentile</p></li>
+<li><p><strong>sort_expression</strong> – Values for which to find the approximate percentile</p></li>
 <li><p><strong>weight</strong> – Relative weight for each of the values in <code class="docutils literal notranslate"><span class="pre">expression</span></code></p></li>
 <li><p><strong>percentile</strong> – This must be between 0.0 and 1.0, inclusive</p></li>
+<li><p><strong>num_centroids</strong> – Max bin size for the t-digest algorithm</p></li>
 <li><p><strong>filter</strong> – If provided, only compute against rows for which the filter is True</p></li>
 </ul>
 </dd>
@@ -3486,7 +3497,7 @@ the options <code class="docutils literal notranslate"><span class="pre">order_b
 
 <dl class="py function">
 <dt class="sig sig-object py" id="datafusion.functions.array_agg">
-<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">array_agg</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">expression</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre">d [...]
+<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">array_agg</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">expression</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre">d [...]
 <dd><p>Aggregate values into an array.</p>
 <p>Currently <code class="docutils literal notranslate"><span class="pre">distinct</span></code> and <code class="docutils literal notranslate"><span class="pre">order_by</span></code> cannot be used together. As a work around,
 consider <a class="reference internal" href="#datafusion.functions.array_sort" title="datafusion.functions.array_sort"><code class="xref py py-func docutils literal notranslate"><span class="pre">array_sort()</span></code></a> after aggregation.
@@ -3499,10 +3510,14 @@ the option <code class="docutils literal notranslate"><span class="pre">null_tre
 <li><p><strong>expression</strong> – Values to combine into an array</p></li>
 <li><p><strong>distinct</strong> – If True, a single entry for each distinct value will be in the result</p></li>
 <li><p><strong>filter</strong> – If provided, only compute against rows for which the filter is True</p></li>
-<li><p><strong>order_by</strong> – Order the resultant array values</p></li>
+<li><p><strong>order_by</strong> – Order the resultant array values. Accepts column names or expressions.</p></li>
 </ul>
 </dd>
 </dl>
+<p>For example:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">df</span><span class="o">.</span><span class="n">select</span><span class="p">(</span><span class="n">array_agg</span><span class="p">(</span><span class="n">col</span><span class="p">(</span><span class="s2">&quot;a&quot;</span><span class="p">),</span> <span class="n">order_by</span><span class="o">=</span><span class="s2">&quot;b&quot;</span><span class="p">))</span>
+</pre></div>
+</div>
 </dd></dl>
 
 <dl class="py function">
@@ -4094,7 +4109,7 @@ the options <code class="docutils literal notranslate"><span class="pre">order_b
 
 <dl class="py function">
 <dt class="sig sig-object py" id="datafusion.functions.cume_dist">
-<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">cume_dist</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">partition_by</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../expr/i [...]
+<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">cume_dist</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">partition_by</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../expr/i [...]
 <dd><p>Create a cumulative distribution window function.</p>
 <p>This window function is similar to <a class="reference internal" href="#datafusion.functions.rank" title="datafusion.functions.rank"><code class="xref py py-func docutils literal notranslate"><span class="pre">rank()</span></code></a> except that the returned values
 are the ratio of the row number to the total number of rows. Here is an example of a
@@ -4114,10 +4129,15 @@ cumulative distribution:</p>
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><ul class="simple">
 <li><p><strong>partition_by</strong> – Expressions to partition the window frame on.</p></li>
-<li><p><strong>order_by</strong> – Set ordering within the window frame.</p></li>
+<li><p><strong>order_by</strong> – Set ordering within the window frame. Accepts
+column names or expressions.</p></li>
 </ul>
 </dd>
 </dl>
+<p>For example:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">cume_dist</span><span class="p">(</span><span class="n">order_by</span><span class="o">=</span><span class="s2">&quot;points&quot;</span><span class="p">)</span>
+</pre></div>
+</div>
 </dd></dl>
 
 <dl class="py function">
@@ -4178,7 +4198,7 @@ cumulative distribution:</p>
 
 <dl class="py function">
 <dt class="sig sig-object py" id="datafusion.functions.dense_rank">
-<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">dense_rank</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">partition_by</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../expr/ [...]
+<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">dense_rank</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">partition_by</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../expr/ [...]
 <dd><p>Create a dense_rank window function.</p>
 <p>This window function is similar to <a class="reference internal" href="#datafusion.functions.rank" title="datafusion.functions.rank"><code class="xref py py-func docutils literal notranslate"><span class="pre">rank()</span></code></a> except that the returned values
 will be consecutive. Here is an example of a dataframe with a window ordered by
@@ -4197,10 +4217,15 @@ descending <code class="docutils literal notranslate"><span class="pre">points</
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><ul class="simple">
 <li><p><strong>partition_by</strong> – Expressions to partition the window frame on.</p></li>
-<li><p><strong>order_by</strong> – Set ordering within the window frame.</p></li>
+<li><p><strong>order_by</strong> – Set ordering within the window frame. Accepts
+column names or expressions.</p></li>
 </ul>
 </dd>
 </dl>
+<p>For example:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">dense_rank</span><span class="p">(</span><span class="n">order_by</span><span class="o">=</span><span class="s2">&quot;points&quot;</span><span class="p">)</span>
+</pre></div>
+</div>
 </dd></dl>
 
 <dl class="py function">
@@ -4259,7 +4284,7 @@ blake2b, and blake3.</p>
 
 <dl class="py function">
 <dt class="sig sig-object py" id="datafusion.functions.first_value">
-<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">first_value</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">expression</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre" [...]
+<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">first_value</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">expression</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre" [...]
 <dd><p>Returns the first value in a group of values.</p>
 <p>This aggregate function will return the first value in the partition.</p>
 <p>If using the builder functions described in ref:<cite>_aggregation</cite> this function ignores
@@ -4269,11 +4294,16 @@ the option <code class="docutils literal notranslate"><span class="pre">distinct
 <dd class="field-odd"><ul class="simple">
 <li><p><strong>expression</strong> – Argument to perform bitwise calculation on</p></li>
 <li><p><strong>filter</strong> – If provided, only compute against rows for which the filter is True</p></li>
-<li><p><strong>order_by</strong> – Set the ordering of the expression to evaluate</p></li>
+<li><p><strong>order_by</strong> – Set the ordering of the expression to evaluate. Accepts
+column names or expressions.</p></li>
 <li><p><strong>null_treatment</strong> – Assign whether to respect or ignore null values.</p></li>
 </ul>
 </dd>
 </dl>
+<p>For example:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">df</span><span class="o">.</span><span class="n">select</span><span class="p">(</span><span class="n">first_value</span><span class="p">(</span><span class="n">col</span><span class="p">(</span><span class="s2">&quot;a&quot;</span><span class="p">),</span> <span class="n">order_by</span><span class="o">=</span><span class="s2">&quot;ts&quot;</span><span class="p">))</span>
+</pre></div>
+</div>
 </dd></dl>
 
 <dl class="py function">
@@ -4328,7 +4358,7 @@ characters to lowercase.</p>
 
 <dl class="py function">
 <dt class="sig sig-object py" id="datafusion.functions.lag">
-<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">lag</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">arg</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre">datafusion.exp [...]
+<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">lag</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">arg</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre">datafusion.exp [...]
 <dd><p>Create a lag window function.</p>
 <p>Lag operation will return the argument that is in the previous shift_offset-th row
 in the partition. For example <code class="docutils literal notranslate"><span class="pre">lag(col(&quot;b&quot;),</span> <span class="pre">shift_offset=3,</span> <span class="pre">default_value=5)</span></code>
@@ -4353,15 +4383,20 @@ functions on a simple DataFrame:</p>
 <li><p><strong>shift_offset</strong> – Number of rows before the current row.</p></li>
 <li><p><strong>default_value</strong> – Value to return if shift_offet row does not exist.</p></li>
 <li><p><strong>partition_by</strong> – Expressions to partition the window frame on.</p></li>
-<li><p><strong>order_by</strong> – Set ordering within the window frame.</p></li>
+<li><p><strong>order_by</strong> – Set ordering within the window frame. Accepts
+column names or expressions.</p></li>
 </ul>
 </dd>
 </dl>
+<p>For example:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">lag</span><span class="p">(</span><span class="n">col</span><span class="p">(</span><span class="s2">&quot;b&quot;</span><span class="p">),</span> <span class="n">order_by</span><span class="o">=</span><span class="s2">&quot;ts&quot;</span><span class="p">)</span>
+</pre></div>
+</div>
 </dd></dl>
 
 <dl class="py function">
 <dt class="sig sig-object py" id="datafusion.functions.last_value">
-<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">last_value</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">expression</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre"> [...]
+<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">last_value</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">expression</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre"> [...]
 <dd><p>Returns the last value in a group of values.</p>
 <p>This aggregate function will return the last value in the partition.</p>
 <p>If using the builder functions described in ref:<cite>_aggregation</cite> this function ignores
@@ -4371,11 +4406,16 @@ the option <code class="docutils literal notranslate"><span class="pre">distinct
 <dd class="field-odd"><ul class="simple">
 <li><p><strong>expression</strong> – Argument to perform bitwise calculation on</p></li>
 <li><p><strong>filter</strong> – If provided, only compute against rows for which the filter is True</p></li>
-<li><p><strong>order_by</strong> – Set the ordering of the expression to evaluate</p></li>
+<li><p><strong>order_by</strong> – Set the ordering of the expression to evaluate. Accepts
+column names or expressions.</p></li>
 <li><p><strong>null_treatment</strong> – Assign whether to respect or ignore null values.</p></li>
 </ul>
 </dd>
 </dl>
+<p>For example:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">df</span><span class="o">.</span><span class="n">select</span><span class="p">(</span><span class="n">last_value</span><span class="p">(</span><span class="n">col</span><span class="p">(</span><span class="s2">&quot;a&quot;</span><span class="p">),</span> <span class="n">order_by</span><span class="o">=</span><span class="s2">&quot;ts&quot;</span><span class="p">))</span>
+</pre></div>
+</div>
 </dd></dl>
 
 <dl class="py function">
@@ -4386,7 +4426,7 @@ the option <code class="docutils literal notranslate"><span class="pre">distinct
 
 <dl class="py function">
 <dt class="sig sig-object py" id="datafusion.functions.lead">
-<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">lead</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">arg</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre">datafusion.ex [...]
+<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">lead</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">arg</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre">datafusion.ex [...]
 <dd><p>Create a lead window function.</p>
 <p>Lead operation will return the argument that is in the next shift_offset-th row in
 the partition. For example <code class="docutils literal notranslate"><span class="pre">lead(col(&quot;b&quot;),</span> <span class="pre">shift_offset=3,</span> <span class="pre">default_value=5)</span></code> will
@@ -4413,10 +4453,15 @@ ref:<cite>_window_functions</cite> online documentation.</p>
 <li><p><strong>shift_offset</strong> – Number of rows following the current row.</p></li>
 <li><p><strong>default_value</strong> – Value to return if shift_offet row does not exist.</p></li>
 <li><p><strong>partition_by</strong> – Expressions to partition the window frame on.</p></li>
-<li><p><strong>order_by</strong> – Set ordering within the window frame.</p></li>
+<li><p><strong>order_by</strong> – Set ordering within the window frame. Accepts
+column names or expressions.</p></li>
 </ul>
 </dd>
 </dl>
+<p>For example:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">lead</span><span class="p">(</span><span class="n">col</span><span class="p">(</span><span class="s2">&quot;b&quot;</span><span class="p">),</span> <span class="n">order_by</span><span class="o">=</span><span class="s2">&quot;ts&quot;</span><span class="p">)</span>
+</pre></div>
+</div>
 </dd></dl>
 
 <dl class="py function">
@@ -4799,7 +4844,7 @@ the options <code class="docutils literal notranslate"><span class="pre">order_b
 
 <dl class="py function">
 <dt class="sig sig-object py" id="datafusion.functions.nth_value">
-<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">nth_value</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">expression</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre">d [...]
+<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">nth_value</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">expression</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre">d [...]
 <dd><p>Returns the n-th value in a group of values.</p>
 <p>This aggregate function will return the n-th value in the partition.</p>
 <p>If using the builder functions described in ref:<cite>_aggregation</cite> this function ignores
@@ -4810,16 +4855,21 @@ the option <code class="docutils literal notranslate"><span class="pre">distinct
 <li><p><strong>expression</strong> – Argument to perform bitwise calculation on</p></li>
 <li><p><strong>n</strong> – Index of value to return. Starts at 1.</p></li>
 <li><p><strong>filter</strong> – If provided, only compute against rows for which the filter is True</p></li>
-<li><p><strong>order_by</strong> – Set the ordering of the expression to evaluate</p></li>
+<li><p><strong>order_by</strong> – Set the ordering of the expression to evaluate. Accepts
+column names or expressions.</p></li>
 <li><p><strong>null_treatment</strong> – Assign whether to respect or ignore null values.</p></li>
 </ul>
 </dd>
 </dl>
+<p>For example:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">df</span><span class="o">.</span><span class="n">select</span><span class="p">(</span><span class="n">nth_value</span><span class="p">(</span><span class="n">col</span><span class="p">(</span><span class="s2">&quot;a&quot;</span><span class="p">),</span> <span class="mi">2</span><span class="p">,</span> <span class="n">order_by</span><span class="o">=</span><span class="s2">&quot;ts&quot;< [...]
+</pre></div>
+</div>
 </dd></dl>
 
 <dl class="py function">
 <dt class="sig sig-object py" id="datafusion.functions.ntile">
-<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">ntile</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">groups</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">partition_by</span></span><span cla [...]
+<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">ntile</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">groups</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">partition_by</span></span><span cla [...]
 <dd><p>Create a n-tile window function.</p>
 <p>This window function orders the window frame into a give number of groups based on
 the ordering criteria. It then returns which group the current row is assigned to.
@@ -4842,10 +4892,15 @@ and the associated n-tile function:</p>
 <dd class="field-odd"><ul class="simple">
 <li><p><strong>groups</strong> – Number of groups for the n-tile to be divided into.</p></li>
 <li><p><strong>partition_by</strong> – Expressions to partition the window frame on.</p></li>
-<li><p><strong>order_by</strong> – Set ordering within the window frame.</p></li>
+<li><p><strong>order_by</strong> – Set ordering within the window frame. Accepts
+column names or expressions.</p></li>
 </ul>
 </dd>
 </dl>
+<p>For example:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">ntile</span><span class="p">(</span><span class="mi">3</span><span class="p">,</span> <span class="n">order_by</span><span class="o">=</span><span class="s2">&quot;points&quot;</span><span class="p">)</span>
+</pre></div>
+</div>
 </dd></dl>
 
 <dl class="py function">
@@ -4883,7 +4938,7 @@ extends for <code class="docutils literal notranslate"><span class="pre">length<
 
 <dl class="py function">
 <dt class="sig sig-object py" id="datafusion.functions.percent_rank">
-<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">percent_rank</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">partition_by</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../exp [...]
+<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">percent_rank</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">partition_by</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../exp [...]
 <dd><p>Create a percent_rank window function.</p>
 <p>This window function is similar to <a class="reference internal" href="#datafusion.functions.rank" title="datafusion.functions.rank"><code class="xref py py-func docutils literal notranslate"><span class="pre">rank()</span></code></a> except that the returned values
 are the percentage from 0.0 to 1.0 from first to last. Here is an example of a
@@ -4903,10 +4958,15 @@ rank:</p>
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><ul class="simple">
 <li><p><strong>partition_by</strong> – Expressions to partition the window frame on.</p></li>
-<li><p><strong>order_by</strong> – Set ordering within the window frame.</p></li>
+<li><p><strong>order_by</strong> – Set ordering within the window frame. Accepts
+column names or expressions.</p></li>
 </ul>
 </dd>
 </dl>
+<p>For example:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">percent_rank</span><span class="p">(</span><span class="n">order_by</span><span class="o">=</span><span class="s2">&quot;points&quot;</span><span class="p">)</span>
+</pre></div>
+</div>
 </dd></dl>
 
 <dl class="py function">
@@ -4948,7 +5008,7 @@ rank:</p>
 
 <dl class="py function">
 <dt class="sig sig-object py" id="datafusion.functions.rank">
-<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">rank</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">partition_by</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../expr/index. [...]
+<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">rank</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">partition_by</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../expr/index. [...]
 <dd><p>Create a rank window function.</p>
 <p>Returns the rank based upon the window order. Consecutive equal values will receive
 the same rank, but the next different value will not be consecutive but rather the
@@ -4971,10 +5031,15 @@ associated rank.</p>
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><ul class="simple">
 <li><p><strong>partition_by</strong> – Expressions to partition the window frame on.</p></li>
-<li><p><strong>order_by</strong> – Set ordering within the window frame.</p></li>
+<li><p><strong>order_by</strong> – Set ordering within the window frame. Accepts
+column names or expressions.</p></li>
 </ul>
 </dd>
 </dl>
+<p>For example:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">rank</span><span class="p">(</span><span class="n">order_by</span><span class="o">=</span><span class="s2">&quot;points&quot;</span><span class="p">)</span>
+</pre></div>
+</div>
 </dd></dl>
 
 <dl class="py function">
@@ -5217,7 +5282,7 @@ decimal places. You can specify a negative number of decimal places. For example
 
 <dl class="py function">
 <dt class="sig sig-object py" id="datafusion.functions.row_number">
-<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">row_number</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">partition_by</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../expr/ [...]
+<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">row_number</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">partition_by</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../expr/ [...]
 <dd><p>Create a row number window function.</p>
 <p>Returns the row number of the window function.</p>
 <p>Here is an example of the <code class="docutils literal notranslate"><span class="pre">row_number</span></code> on a simple DataFrame:</p>
@@ -5235,10 +5300,15 @@ decimal places. You can specify a negative number of decimal places. For example
 <dt class="field-odd">Parameters<span class="colon">:</span></dt>
 <dd class="field-odd"><ul class="simple">
 <li><p><strong>partition_by</strong> – Expressions to partition the window frame on.</p></li>
-<li><p><strong>order_by</strong> – Set ordering within the window frame.</p></li>
+<li><p><strong>order_by</strong> – Set ordering within the window frame. Accepts
+column names or expressions.</p></li>
 </ul>
 </dd>
 </dl>
+<p>For example:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">row_number</span><span class="p">(</span><span class="n">order_by</span><span class="o">=</span><span class="s2">&quot;points&quot;</span><span class="p">)</span>
+</pre></div>
+</div>
 </dd></dl>
 
 <dl class="py function">
@@ -5358,7 +5428,7 @@ the options <code class="docutils literal notranslate"><span class="pre">order_b
 
 <dl class="py function">
 <dt class="sig sig-object py" id="datafusion.functions.string_agg">
-<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">string_agg</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">expression</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre"> [...]
+<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">string_agg</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">expression</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../expr/index.html#datafusion.expr.Expr" title="datafusion.expr.Expr"><span class="pre"> [...]
 <dd><p>Concatenates the input strings.</p>
 <p>This aggregate function will concatenate input strings, ignoring null values, and
 separating them with the specified delimiter. Non-string values will be converted to
@@ -5371,10 +5441,15 @@ the options <code class="docutils literal notranslate"><span class="pre">distinc
 <li><p><strong>expression</strong> – Argument to perform bitwise calculation on</p></li>
 <li><p><strong>delimiter</strong> – Text to place between each value of expression</p></li>
 <li><p><strong>filter</strong> – If provided, only compute against rows for which the filter is True</p></li>
-<li><p><strong>order_by</strong> – Set the ordering of the expression to evaluate</p></li>
+<li><p><strong>order_by</strong> – Set the ordering of the expression to evaluate. Accepts
+column names or expressions.</p></li>
 </ul>
 </dd>
 </dl>
+<p>For example:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">df</span><span class="o">.</span><span class="n">select</span><span class="p">(</span><span class="n">string_agg</span><span class="p">(</span><span class="n">col</span><span class="p">(</span><span class="s2">&quot;a&quot;</span><span class="p">),</span> <span class="s2">&quot;,&quot;</span><span class="p">,</span> <span class="n">order_by</span><span class="o">=</span><span class="s2">&q [...]
+</pre></div>
+</div>
 </dd></dl>
 
 <dl class="py function">
@@ -5573,7 +5648,7 @@ detailed usage.</p>
 
 <dl class="py function">
 <dt class="sig sig-object py" id="datafusion.functions.window">
-<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">window</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">args</span></span><span class="p"><s [...]
+<span class="sig-prename descclassname"><span class="pre">datafusion.functions.</span></span><span class="sig-name descname"><span class="pre">window</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">args</span></span><span class="p"><s [...]
 <dd><p>Creates a new Window function expression.</p>
 <p>This interface will soon be deprecated. Instead of using this interface,
 users should call the window functions directly. For example, to perform a
@@ -5581,6 +5656,10 @@ lag use:</p>
 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">df</span><span class="o">.</span><span class="n">select</span><span class="p">(</span><span class="n">functions</span><span class="o">.</span><span class="n">lag</span><span class="p">(</span><span class="n">col</span><span class="p">(</span><span class="s2">&quot;a&quot;</span><span class="p">))</span><span class="o">.</span><span class="n">partition_by</span><span class="p">(</span><span [...]
 </pre></div>
 </div>
+<p>The <code class="docutils literal notranslate"><span class="pre">order_by</span></code> parameter accepts column names or expressions, e.g.:</p>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">window</span><span class="p">(</span><span class="s2">&quot;lag&quot;</span><span class="p">,</span> <span class="p">[</span><span class="n">col</span><span class="p">(</span><span class="s2">&quot;a&quot;</span><span class="p">)],</span> <span class="n">order_by</span><span class="o">=</span><span class="s2">&quot;ts&quot;</span><span class="p">)</span>
+</pre></div>
+</div>
 </dd></dl>
 
 </section>
diff --git a/autoapi/datafusion/html_formatter/index.html b/autoapi/datafusion/html_formatter/index.html
index 3bb3d0f0..d344fefc 100644
--- a/autoapi/datafusion/html_formatter/index.html
+++ b/autoapi/datafusion/html_formatter/index.html
@@ -243,6 +243,11 @@
    SQL
   </a>
  </li>
+ <li class="toctree-l1">
+  <a class="reference internal" href="../../../user-guide/upgrade-guides.html">
+   Upgrade Guides
+  </a>
+ </li>
 </ul>
 <p aria-level="2" class="caption" role="heading">
  <span class="caption-text">
@@ -354,6 +359,11 @@
        datafusion.object_store
       </a>
      </li>
+     <li class="toctree-l3">
+      <a class="reference internal" href="../options/index.html">
+       datafusion.options
+      </a>
+     </li>
      <li class="toctree-l3">
       <a class="reference internal" href="../plan/index.html">
        datafusion.plan
diff --git a/autoapi/datafusion/index.html b/autoapi/datafusion/index.html
index 390ae840..ccd25b43 100644
--- a/autoapi/datafusion/index.html
+++ b/autoapi/datafusion/index.html
@@ -243,6 +243,11 @@
    SQL
   </a>
  </li>
+ <li class="toctree-l1">
+  <a class="reference internal" href="../../user-guide/upgrade-guides.html">
+   Upgrade Guides
+  </a>
+ </li>
 </ul>
 <p aria-level="2" class="caption" role="heading">
  <span class="caption-text">
@@ -354,6 +359,11 @@
        datafusion.object_store
       </a>
      </li>
+     <li class="toctree-l3">
+      <a class="reference internal" href="options/index.html">
+       datafusion.options
+      </a>
+     </li>
      <li class="toctree-l3">
       <a class="reference internal" href="plan/index.html">
        datafusion.plan
@@ -433,102 +443,91 @@
   </a>
   <ul class="visible nav section-nav flex-column">
    <li class="toc-h3 nav-item toc-entry">
-    <a class="reference internal nav-link" href="#datafusion.Accumulator">
+    <a class="reference internal nav-link" href="#datafusion.Catalog">
      <code class="docutils literal notranslate">
       <span class="pre">
-       Accumulator
+       Catalog
       </span>
      </code>
     </a>
     <ul class="nav section-nav flex-column">
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.Accumulator.evaluate">
+      <a class="reference internal nav-link" href="#datafusion.Catalog.__repr__">
        <code class="docutils literal notranslate">
         <span class="pre">
-         Accumulator.evaluate()
+         Catalog.__repr__()
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.Accumulator.merge">
+      <a class="reference internal nav-link" href="#datafusion.Catalog.database">
        <code class="docutils literal notranslate">
         <span class="pre">
-         Accumulator.merge()
+         Catalog.database()
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.Accumulator.state">
+      <a class="reference internal nav-link" href="#datafusion.Catalog.deregister_schema">
        <code class="docutils literal notranslate">
         <span class="pre">
-         Accumulator.state()
+         Catalog.deregister_schema()
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.Accumulator.update">
+      <a class="reference internal nav-link" href="#datafusion.Catalog.memory_catalog">
        <code class="docutils literal notranslate">
         <span class="pre">
-         Accumulator.update()
+         Catalog.memory_catalog()
         </span>
        </code>
       </a>
      </li>
-    </ul>
-   </li>
-   <li class="toc-h3 nav-item toc-entry">
-    <a class="reference internal nav-link" href="#datafusion.AggregateUDF">
-     <code class="docutils literal notranslate">
-      <span class="pre">
-       AggregateUDF
-      </span>
-     </code>
-    </a>
-    <ul class="nav section-nav flex-column">
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.AggregateUDF.__call__">
+      <a class="reference internal nav-link" href="#datafusion.Catalog.names">
        <code class="docutils literal notranslate">
         <span class="pre">
-         AggregateUDF.__call__()
+         Catalog.names()
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.AggregateUDF.__repr__">
+      <a class="reference internal nav-link" href="#datafusion.Catalog.register_schema">
        <code class="docutils literal notranslate">
         <span class="pre">
-         AggregateUDF.__repr__()
+         Catalog.register_schema()
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.AggregateUDF.from_pycapsule">
+      <a class="reference internal nav-link" href="#datafusion.Catalog.schema">
        <code class="docutils literal notranslate">
         <span class="pre">
-         AggregateUDF.from_pycapsule()
+         Catalog.schema()
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.AggregateUDF.udaf">
+      <a class="reference internal nav-link" href="#datafusion.Catalog.schema_names">
        <code class="docutils literal notranslate">
         <span class="pre">
-         AggregateUDF.udaf()
+         Catalog.schema_names()
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.AggregateUDF._udaf">
+      <a class="reference internal nav-link" href="#datafusion.Catalog.catalog">
        <code class="docutils literal notranslate">
         <span class="pre">
-         AggregateUDF._udaf
+         Catalog.catalog
         </span>
        </code>
       </a>
@@ -536,91 +535,309 @@
     </ul>
    </li>
    <li class="toc-h3 nav-item toc-entry">
-    <a class="reference internal nav-link" href="#datafusion.Catalog">
+    <a class="reference internal nav-link" href="#datafusion.CsvReadOptions">
      <code class="docutils literal notranslate">
       <span class="pre">
-       Catalog
+       CsvReadOptions
       </span>
      </code>
     </a>
     <ul class="nav section-nav flex-column">
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.Catalog.__repr__">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.to_inner">
        <code class="docutils literal notranslate">
         <span class="pre">
-         Catalog.__repr__()
+         CsvReadOptions.to_inner()
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.Catalog.database">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.with_comment">
        <code class="docutils literal notranslate">
         <span class="pre">
-         Catalog.database()
+         CsvReadOptions.with_comment()
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.Catalog.deregister_schema">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.with_delimiter">
        <code class="docutils literal notranslate">
         <span class="pre">
-         Catalog.deregister_schema()
+         CsvReadOptions.with_delimiter()
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.Catalog.memory_catalog">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.with_escape">
        <code class="docutils literal notranslate">
         <span class="pre">
-         Catalog.memory_catalog()
+         CsvReadOptions.with_escape()
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.Catalog.names">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.with_file_compression_type">
        <code class="docutils literal notranslate">
         <span class="pre">
-         Catalog.names()
+         CsvReadOptions.with_file_compression_type()
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.Catalog.register_schema">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.with_file_extension">
        <code class="docutils literal notranslate">
         <span class="pre">
-         Catalog.register_schema()
+         CsvReadOptions.with_file_extension()
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.Catalog.schema">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.with_file_sort_order">
        <code class="docutils literal notranslate">
         <span class="pre">
-         Catalog.schema()
+         CsvReadOptions.with_file_sort_order()
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.Catalog.schema_names">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.with_has_header">
        <code class="docutils literal notranslate">
         <span class="pre">
-         Catalog.schema_names()
+         CsvReadOptions.with_has_header()
         </span>
        </code>
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.Catalog.catalog">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.with_newlines_in_values">
        <code class="docutils literal notranslate">
         <span class="pre">
-         Catalog.catalog
+         CsvReadOptions.with_newlines_in_values()
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.with_null_regex">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.with_null_regex()
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.with_quote">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.with_quote()
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.with_schema">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.with_schema()
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.with_schema_infer_max_records">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.with_schema_infer_max_records()
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.with_table_partition_cols">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.with_table_partition_cols()
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.with_terminator">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.with_terminator()
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.with_truncated_rows">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.with_truncated_rows()
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.comment">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.comment
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.delimiter">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.delimiter
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.escape">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.escape
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.file_compression_type">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.file_compression_type
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.file_extension">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.file_extension
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.file_sort_order">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.file_sort_order
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.has_header">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.has_header
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.newlines_in_values">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.newlines_in_values
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.null_regex">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.null_regex
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.quote">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.quote
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.schema">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.schema
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.schema_infer_max_records">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.schema_infer_max_records
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.table_partition_cols">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.table_partition_cols
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.terminator">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.terminator
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.CsvReadOptions.truncated_rows">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         CsvReadOptions.truncated_rows
+        </span>
+       </code>
+      </a>
+     </li>
+    </ul>
+   </li>
+   <li class="toc-h3 nav-item toc-entry">
+    <a class="reference internal nav-link" href="#datafusion.DataFrameWriteOptions">
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       DataFrameWriteOptions
+      </span>
+     </code>
+    </a>
+    <ul class="nav section-nav flex-column">
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.DataFrameWriteOptions._raw_write_options">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         DataFrameWriteOptions._raw_write_options
         </span>
        </code>
       </a>
@@ -1819,6 +2036,44 @@
      </li>
     </ul>
    </li>
+   <li class="toc-h3 nav-item toc-entry">
+    <a class="reference internal nav-link" href="#datafusion.InsertOp">
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       InsertOp
+      </span>
+     </code>
+    </a>
+    <ul class="nav section-nav flex-column">
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.InsertOp.APPEND">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         InsertOp.APPEND
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.InsertOp.OVERWRITE">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         InsertOp.OVERWRITE
+        </span>
+       </code>
+      </a>
+     </li>
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.InsertOp.REPLACE">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         InsertOp.REPLACE
+        </span>
+       </code>
+      </a>
+     </li>
+    </ul>
+   </li>
    <li class="toc-h3 nav-item toc-entry">
     <a class="reference internal nav-link" href="#datafusion.LogicalPlan">
      <code class="docutils literal notranslate">
@@ -1929,42 +2184,6 @@
      </code>
     </a>
     <ul class="nav section-nav flex-column">
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetColumnOptions.encoding">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.encoding
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetColumnOptions.dictionary_enabled">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.dictionary_enabled
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetColumnOptions.compression">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.compression
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetColumnOptions.statistics_enabled">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.statistics_enabled
-        </span>
-       </code>
-      </a>
-     </li>
      <li class="toc-h4 nav-item toc-entry">
       <a class="reference internal nav-link" href="#datafusion.ParquetColumnOptions.bloom_filter_enabled">
        <code class="docutils literal notranslate">
@@ -1993,34 +2212,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id0">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.bloom_filter_enabled
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id2">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.bloom_filter_fpp
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id3">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetColumnOptions.bloom_filter_ndv
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id4">
+      <a class="reference internal nav-link" href="#datafusion.ParquetColumnOptions.compression">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetColumnOptions.compression
@@ -2029,7 +2221,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id5">
+      <a class="reference internal nav-link" href="#datafusion.ParquetColumnOptions.dictionary_enabled">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetColumnOptions.dictionary_enabled
@@ -2038,7 +2230,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id6">
+      <a class="reference internal nav-link" href="#datafusion.ParquetColumnOptions.encoding">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetColumnOptions.encoding
@@ -2047,7 +2239,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id7">
+      <a class="reference internal nav-link" href="#datafusion.ParquetColumnOptions.statistics_enabled">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetColumnOptions.statistics_enabled
@@ -2066,159 +2258,6 @@
      </code>
     </a>
     <ul class="nav section-nav flex-column">
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.data_pagesize_limit">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.data_pagesize_limit
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.write_batch_size">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.write_batch_size
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.writer_version">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.writer_version
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.skip_arrow_metadata">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.skip_arrow_metadata
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.compression">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.compression
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.dictionary_enabled">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.dictionary_enabled
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.dictionary_page_size_limit">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.dictionary_page_size_limit
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.statistics_enabled">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.statistics_enabled
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.max_row_group_size">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.max_row_group_size
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.created_by">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.created_by
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.column_index_truncate_length">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.column_index_truncate_length
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.statistics_truncate_length">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.statistics_truncate_length
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.data_page_row_count_limit">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.data_page_row_count_limit
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.encoding">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.encoding
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.bloom_filter_on_write">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.bloom_filter_on_write
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.bloom_filter_fpp">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.bloom_filter_fpp
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.bloom_filter_ndv">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.bloom_filter_ndv
-        </span>
-       </code>
-      </a>
-     </li>
      <li class="toc-h4 nav-item toc-entry">
       <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.allow_single_file_parallelism">
        <code class="docutils literal notranslate">
@@ -2229,43 +2268,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.maximum_parallel_row_group_writers">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.maximum_parallel_row_group_writers
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.maximum_buffered_record_batches_per_stream">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.maximum_buffered_record_batches_per_stream
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.column_specific_options">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.column_specific_options
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id8">
-       <code class="docutils literal notranslate">
-        <span class="pre">
-         ParquetWriterOptions.allow_single_file_parallelism
-        </span>
-       </code>
-      </a>
-     </li>
-     <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id9">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.bloom_filter_fpp">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.bloom_filter_fpp
@@ -2274,7 +2277,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id10">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.bloom_filter_ndv">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.bloom_filter_ndv
@@ -2283,7 +2286,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id11">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.bloom_filter_on_write">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.bloom_filter_on_write
@@ -2292,7 +2295,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id12">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.column_index_truncate_length">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.column_index_truncate_length
@@ -2301,7 +2304,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id13">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.column_specific_options">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.column_specific_options
@@ -2310,7 +2313,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id14">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.created_by">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.created_by
@@ -2319,7 +2322,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id15">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.data_page_row_count_limit">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.data_page_row_count_limit
@@ -2328,7 +2331,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id16">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.data_pagesize_limit">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.data_pagesize_limit
@@ -2337,7 +2340,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id17">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.dictionary_enabled">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.dictionary_enabled
@@ -2346,7 +2349,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id18">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.dictionary_page_size_limit">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.dictionary_page_size_limit
@@ -2355,7 +2358,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id19">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.encoding">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.encoding
@@ -2364,7 +2367,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id20">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.max_row_group_size">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.max_row_group_size
@@ -2373,7 +2376,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id21">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.maximum_buffered_record_batches_per_stream">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.maximum_buffered_record_batches_per_stream
@@ -2382,7 +2385,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id22">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.maximum_parallel_row_group_writers">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.maximum_parallel_row_group_writers
@@ -2391,7 +2394,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id23">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.skip_arrow_metadata">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.skip_arrow_metadata
@@ -2400,7 +2403,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id24">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.statistics_enabled">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.statistics_enabled
@@ -2409,7 +2412,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id25">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.statistics_truncate_length">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.statistics_truncate_length
@@ -2418,7 +2421,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id26">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.write_batch_size">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.write_batch_size
@@ -2427,7 +2430,7 @@
       </a>
      </li>
      <li class="toc-h4 nav-item toc-entry">
-      <a class="reference internal nav-link" href="#id27">
+      <a class="reference internal nav-link" href="#datafusion.ParquetWriterOptions.writer_version">
        <code class="docutils literal notranslate">
         <span class="pre">
          ParquetWriterOptions.writer_version
@@ -2446,6 +2449,15 @@
      </code>
     </a>
     <ul class="nav section-nav flex-column">
+     <li class="toc-h4 nav-item toc-entry">
+      <a class="reference internal nav-link" href="#datafusion.RecordBatch.__arrow_c_array__">
+       <code class="docutils literal notranslate">
+        <span class="pre">
+         RecordBatch.__arrow_c_array__()
+        </span>
+       </code>
+      </a>
+     </li>
      <li class="toc-h4 nav-item toc-entry">
       <a class="reference internal nav-link" href="#datafusion.RecordBatch.to_pyarrow">
        <code class="docutils literal notranslate">
@@ -2661,62 +2673,6 @@
      </li>
     </ul>
    </li>
-   <li class="toc-h3 nav-item toc-entry">
-    <a class="reference internal nav-link" href="#datafusion.ScalarUDF">
-     <code class="docutils literal notranslate">
-      <span class="pre">
-       ScalarUDF
-      </span>
-     </code>
-    </a>
-    <ul class="nav section-nav flex-column">
... 7421 lines suppressed ...


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org