Skip to content

Commit 45f0b68

Browse files
timsaucerclaude
andcommitted
docs: clarify spark functions cover DataFrame API too
The intro wording implied "SQL functions" only; the same wrappers are the primary entry point for the DataFrame API as well. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c8ca27f commit 45f0b68

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

docs/source/user-guide/common-operations/spark-functions.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@
1818
Spark-Compatible Functions
1919
==========================
2020

21-
DataFusion ships Spark-compatible versions of a wide set of SQL functions
21+
DataFusion ships Spark-compatible versions of a wide set of functions
2222
(string, math, datetime, hash, array, aggregate) through the upstream
2323
``datafusion-spark`` crate. ``datafusion-python`` exposes these under
24-
``datafusion.functions.spark`` for the DataFrame API and via
25-
:py:meth:`~datafusion.SessionContext.enable_spark_functions` for SQL.
24+
``datafusion.functions.spark`` for use from the DataFrame API, and via
25+
:py:meth:`~datafusion.SessionContext.enable_spark_functions` for use from
26+
SQL.
2627

2728
Why a Separate Namespace?
2829
-------------------------

0 commit comments

Comments
 (0)