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/08/09 13:29:42 UTC
(datafusion-python) branch asf-staging updated: Publish built docs triggered by c577c0f41785978918aa1683f6020adab448cc5b
This is an automated email from the ASF dual-hosted git repository.
github-actions[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 75d8505f Publish built docs triggered by c577c0f41785978918aa1683f6020adab448cc5b
75d8505f is described below
commit 75d8505f5487bd00b5a9b92c095a12e0e2284dd9
Author: github-actions[bot] <gi...@users.noreply.github.com>
AuthorDate: Sun Aug 9 13:29:37 2026 +0000
Publish built docs triggered by c577c0f41785978918aa1683f6020adab448cc5b
---
.../datafusion/functions/spark/index.rst.txt | 6 +--
autoapi/datafusion/functions/spark/index.html | 6 +--
searchindex.js | 2 +-
user-guide/common-operations/aggregations.html | 20 +++++-----
user-guide/common-operations/basic-info.html | 46 +++++++++++-----------
user-guide/common-operations/functions.html | 20 +++++-----
user-guide/common-operations/udf-and-udfa.html | 4 +-
7 files changed, 50 insertions(+), 54 deletions(-)
diff --git a/_sources/autoapi/datafusion/functions/spark/index.rst.txt b/_sources/autoapi/datafusion/functions/spark/index.rst.txt
index d69eaa7d..a2eae89b 100644
--- a/_sources/autoapi/datafusion/functions/spark/index.rst.txt
+++ b/_sources/autoapi/datafusion/functions/spark/index.rst.txt
@@ -1196,12 +1196,10 @@ Module Contents
.. rubric:: Examples
>>> ctx = dfn.SessionContext()
- >>> df = ctx.from_pydict({"x": [1]})
+ >>> df = ctx.from_pydict({"x": [[1, 2, 3, 4]]})
>>> r = df.select(
... dfn.functions.spark.slice(
- ... dfn.functions.spark.array(
- ... dfn.lit(1), dfn.lit(2), dfn.lit(3), dfn.lit(4)),
- ... 2, 2,
+ ... dfn.col("x"), 2, 2,
... ).alias("v")
... )
>>> r.collect_column("v")[0].as_py()
diff --git a/autoapi/datafusion/functions/spark/index.html b/autoapi/datafusion/functions/spark/index.html
index 6a71814f..02a7a20a 100644
--- a/autoapi/datafusion/functions/spark/index.html
+++ b/autoapi/datafusion/functions/spark/index.html
@@ -1895,12 +1895,10 @@ Rust binding; passing a non-<code class="docutils literal notranslate"><span cla
native <code class="docutils literal notranslate"><span class="pre">int</span></code> values or <code class="xref py py-class docutils literal notranslate"><span class="pre">Expr</span></code>.</p>
<p class="rubric">Examples</p>
<div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">ctx</span> <span class="o">=</span> <span class="n">dfn</span><span class="o">.</span><span class="n">SessionContext</span><span class="p">()</span>
-<span class="gp">>>> </span><span class="n">df</span> <span class="o">=</span> <span class="n">ctx</span><span class="o">.</span><span class="n">from_pydict</span><span class="p">({</span><span class="s2">"x"</span><span class="p">:</span> <span class="p">[</span><span class="mi">1</span><span class="p">]})</span>
+<span class="gp">>>> </span><span class="n">df</span> <span class="o">=</span> <span class="n">ctx</span><span class="o">.</span><span class="n">from_pydict</span><span class="p">({</span><span class="s2">"x"</span><span class="p">:</span> <span class="p">[[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span><span class="p">,</span> <span class="mi">4</span><span class="p">]]})</span>
<span class="gp">>>> </span><span class="n">r</span> <span class="o">=</span> <span class="n">df</span><span class="o">.</span><span class="n">select</span><span class="p">(</span>
<span class="gp">... </span> <span class="n">dfn</span><span class="o">.</span><span class="n">functions</span><span class="o">.</span><span class="n">spark</span><span class="o">.</span><span class="n">slice</span><span class="p">(</span>
-<span class="gp">... </span> <span class="n">dfn</span><span class="o">.</span><span class="n">functions</span><span class="o">.</span><span class="n">spark</span><span class="o">.</span><span class="n">array</span><span class="p">(</span>
-<span class="gp">... </span> <span class="n">dfn</span><span class="o">.</span><span class="n">lit</span><span class="p">(</span><span class="mi">1</span><span class="p">),</span> <span class="n">dfn</span><span class="o">.</span><span class="n">lit</span><span class="p">(</span><span class="mi">2</span><span class="p">),</span> <span class="n">dfn</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="gp">... </span> <span class="mi">2</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span>
+<span class="gp">... </span> <span class="n">dfn</span><span class="o">.</span><span class="n">col</span><span class="p">(</span><span class="s2">"x"</span><span class="p">),</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span>
<span class="gp">... </span> <span class="p">)</span><span class="o">.</span><span class="n">alias</span><span class="p">(</span><span class="s2">"v"</span><span class="p">)</span>
<span class="gp">... </span><span class="p">)</span>
<span class="gp">>>> </span><span class="n">r</span><span class="o">.</span><span class="n">collect_column</span><span class="p">(</span><span class="s2">"v"</span><span class="p">)[</span><span class="mi">0</span><span class="p">]</span><span class="o">.</span><span class="n">as_py</span><span class="p">()</span>
diff --git a/searchindex.js b/searchindex.js
index 7dc1b4fd..5db8b745 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles": {"API Reference": [[20, null], [41, "api-reference"]], "Accessing the Calling Session": [[36, "accessing-the-calling-session"]], "Additional Resources": [[43, "additional-resources"]], "Aggregate Functions": [[28, "aggregate-functions"], [36, "aggregate-functions"], [38, "aggregate-functions"]], "Aggregated vs Per-Partition Metrics": [[41, "aggregated-vs-per-partition-metrics"]], "Aggregation": [[28, null]], "Alternative Approach": [[21, "alternative-approac [...]
\ No newline at end of file
+Search.setIndex({"alltitles": {"API Reference": [[20, null], [41, "api-reference"]], "Accessing the Calling Session": [[36, "accessing-the-calling-session"]], "Additional Resources": [[43, "additional-resources"]], "Aggregate Functions": [[28, "aggregate-functions"], [36, "aggregate-functions"], [38, "aggregate-functions"]], "Aggregated vs Per-Partition Metrics": [[41, "aggregated-vs-per-partition-metrics"]], "Aggregation": [[28, null]], "Alternative Approach": [[21, "alternative-approac [...]
\ No newline at end of file
diff --git a/user-guide/common-operations/aggregations.html b/user-guide/common-operations/aggregations.html
index 4d275efc..03eba9eb 100644
--- a/user-guide/common-operations/aggregations.html
+++ b/user-guide/common-operations/aggregations.html
@@ -686,14 +686,14 @@ Pokemon set. Since there will be many entries of <code class="docutils literal n
+----------+--------------------------------------------------+
| Type 1 | Type 2 List |
+----------+--------------------------------------------------+
-| Water | [Fighting, , Poison, Flying, Dark, Psychic, Ice] |
-| Rock | [Flying, Water, Ground] |
+| Water | [, Poison, Ice, Flying, Dark, Fighting, Psychic] |
+| Rock | [Ground, Water, Flying] |
| Ghost | [Poison] |
-| Ice | [Psychic, Flying] |
+| Ice | [Flying, Psychic] |
| Dragon | [, Flying] |
| Grass | [, Poison, Psychic] |
-| Fire | [Dragon, , Flying] |
-| Normal | [, Flying, Fairy] |
+| Fire | [, Dragon, Flying] |
+| Normal | [, Fairy, Flying] |
| Poison | [, Ground, Flying] |
| Fighting | [] |
+----------+--------------------------------------------------+
@@ -719,14 +719,14 @@ entries entirely removed. The second is we can use the <code class="docutils lit
+----------+------------------------------------------------+
| Type 1 | Type 2 List |
+----------+------------------------------------------------+
-| Water | [Flying, Poison, Ice, Fighting, Psychic, Dark] |
+| Water | [Poison, Ice, Flying, Dark, Fighting, Psychic] |
| Rock | [Ground, Water, Flying] |
| Ghost | [Poison] |
-| Ice | [Psychic, Flying] |
+| Ice | [Flying, Psychic] |
| Dragon | [Flying] |
-| Grass | [Psychic, Poison] |
-| Fire | [Flying, Dragon] |
-| Normal | [Flying, Fairy] |
+| Grass | [Poison, Psychic] |
+| Fire | [Dragon, Flying] |
+| Normal | [Fairy, Flying] |
| Poison | [Ground, Flying] |
| Fighting | |
+----------+------------------------------------------------+
diff --git a/user-guide/common-operations/basic-info.html b/user-guide/common-operations/basic-info.html
index 0b36d903..48e3d261 100644
--- a/user-guide/common-operations/basic-info.html
+++ b/user-guide/common-operations/basic-info.html
@@ -528,11 +528,11 @@
+-----+---------+--------+--------+
| nrs | names | random | groups |
+-----+---------+--------+--------+
-| 1 | python | 635 | A |
-| 2 | ruby | 620 | A |
-| 3 | java | 100 | B |
-| 4 | haskell | 279 | C |
-| 5 | go | 601 | B |
+| 1 | python | 928 | A |
+| 2 | ruby | 686 | A |
+| 3 | java | 391 | B |
+| 4 | haskell | 755 | C |
+| 5 | go | 175 | B |
+-----+---------+--------+--------+
</pre></div>
</div>
@@ -550,8 +550,8 @@
+-----+--------+--------+--------+
| nrs | names | random | groups |
+-----+--------+--------+--------+
-| 1 | python | 635 | A |
-| 2 | ruby | 620 | A |
+| 1 | python | 928 | A |
+| 2 | ruby | 686 | A |
+-----+--------+--------+--------+
</pre></div>
</div>
@@ -583,11 +583,11 @@ passing them to an Arrow table, and then converting them to a pandas DataFrame.<
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> nrs names random groups
-0 1 python 635 A
-1 2 ruby 620 A
-2 3 java 100 B
-3 4 haskell 279 C
-4 5 go 601 B
+0 1 python 928 A
+1 2 ruby 686 A
+2 3 java 391 B
+3 4 haskell 755 C
+4 5 go 175 B
</pre></div>
</div>
</div>
@@ -601,17 +601,17 @@ passing them to an Arrow table, and then converting them to a pandas DataFrame.<
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>DataFrame()
-+------------+--------------------+-------+-------------------+--------+
-| describe | nrs | names | random | groups |
-+------------+--------------------+-------+-------------------+--------+
-| count | 5.0 | 5 | 5.0 | 5 |
-| null_count | 0.0 | 0 | 0.0 | 0 |
-| mean | 3.0 | null | 447.0 | null |
-| std | 1.5811388300841898 | null | 243.7324352645745 | null |
-| min | 1.0 | go | 100.0 | A |
-| max | 5.0 | ruby | 635.0 | C |
-| median | 3.0 | null | 601.0 | null |
-+------------+--------------------+-------+-------------------+--------+
++------------+--------------------+-------+--------------------+--------+
+| describe | nrs | names | random | groups |
++------------+--------------------+-------+--------------------+--------+
+| count | 5.0 | 5 | 5.0 | 5 |
+| null_count | 0.0 | 0 | 0.0 | 0 |
+| mean | 3.0 | null | 587.0 | null |
+| std | 1.5811388300841898 | null | 301.02574640718024 | null |
+| min | 1.0 | go | 175.0 | A |
+| max | 5.0 | ruby | 928.0 | C |
+| median | 3.0 | null | 686.0 | null |
++------------+--------------------+-------+--------------------+--------+
</pre></div>
</div>
</div>
diff --git a/user-guide/common-operations/functions.html b/user-guide/common-operations/functions.html
index 4229a02e..52ac1570 100644
--- a/user-guide/common-operations/functions.html
+++ b/user-guide/common-operations/functions.html
@@ -611,16 +611,16 @@ NULL-propagation, 1-indexed substrings, HALF_UP rounding, etc.), see
+-------------------------------+
| now() |
+-------------------------------+
-| 2026-08-03T10:31:45.335539937 |
-| 2026-08-03T10:31:45.335539937 |
-| 2026-08-03T10:31:45.335539937 |
-| 2026-08-03T10:31:45.335539937 |
-| 2026-08-03T10:31:45.335539937 |
-| 2026-08-03T10:31:45.335539937 |
-| 2026-08-03T10:31:45.335539937 |
-| 2026-08-03T10:31:45.335539937 |
-| 2026-08-03T10:31:45.335539937 |
-| 2026-08-03T10:31:45.335539937 |
+| 2026-08-09T13:29:09.162471724 |
+| 2026-08-09T13:29:09.162471724 |
+| 2026-08-09T13:29:09.162471724 |
+| 2026-08-09T13:29:09.162471724 |
+| 2026-08-09T13:29:09.162471724 |
+| 2026-08-09T13:29:09.162471724 |
+| 2026-08-09T13:29:09.162471724 |
+| 2026-08-09T13:29:09.162471724 |
+| 2026-08-09T13:29:09.162471724 |
+| 2026-08-09T13:29:09.162471724 |
+-------------------------------+
Data truncated.
</pre></div>
diff --git a/user-guide/common-operations/udf-and-udfa.html b/user-guide/common-operations/udf-and-udfa.html
index a0e264fd..50389746 100644
--- a/user-guide/common-operations/udf-and-udfa.html
+++ b/user-guide/common-operations/udf-and-udfa.html
@@ -675,7 +675,7 @@ over column references and literals, so the optimizer can analyze it:</p>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>FilterExec: brand@1 = A AND qty@2 >= 150
RepartitionExec: partitioning=RoundRobinBatch(4), input_partitions=1
- DataSourceExec: file_groups={1 group: [[tmp/tmp313o150x/items.parquet]]}, projection=[id, brand, qty], file_type=parquet, predicate=brand@1 = A AND qty@2 >= 150, pruning_predicate=brand_null_count@2 != row_count@3 AND brand_min@0 <= A AND A <= brand_max@1 AND qty_null_count@5 != row_count@3 AND qty_max@4 >= 150, required_guarantees=[brand in (A)]
+ DataSourceExec: file_groups={1 group: [[tmp/tmprcd64oh1/items.parquet]]}, projection=[id, brand, qty], file_type=parquet, predicate=brand@1 = A AND qty@2 >= 150, pruning_predicate=brand_null_count@2 != row_count@3 AND brand_min@0 <= A AND A <= brand_max@1 AND qty_null_count@5 != row_count@3 AND qty_max@4 >= 150, required_guarantees=[brand in (A)]
</pre></div>
</div>
</div>
@@ -711,7 +711,7 @@ bloom filter or dictionary is available to skip pages.</p></li>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>FilterExec: brand_qty_filter(CAST(brand@1 AS Utf8), qty@2)
RepartitionExec: partitioning=RoundRobinBatch(4), input_partitions=1
- DataSourceExec: file_groups={1 group: [[tmp/tmp313o150x/items.parquet]]}, projection=[id, brand, qty], file_type=parquet, predicate=brand_qty_filter(CAST(brand@1 AS Utf8), qty@2)
+ DataSourceExec: file_groups={1 group: [[tmp/tmprcd64oh1/items.parquet]]}, projection=[id, brand, qty], file_type=parquet, predicate=brand_qty_filter(CAST(brand@1 AS Utf8), qty@2)
</pre></div>
</div>
</div>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org