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

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


The following commit(s) were added to refs/heads/asf-site by this push:
     new 5475f63238 Publish built docs triggered by 
7dff1e1f3240e0372b2cd7b0fb3f9e5c0ce3d812
5475f63238 is described below

commit 5475f63238bfd5d7cda6d41d4f87315b2794b9b9
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Oct 2 14:18:26 2025 +0000

    Publish built docs triggered by 7dff1e1f3240e0372b2cd7b0fb3f9e5c0ce3d812
---
 _sources/library-user-guide/upgrading.md.txt | 19 +++++++++++++++++++
 library-user-guide/upgrading.html            | 28 ++++++++++++++++++++++++++++
 searchindex.js                               |  2 +-
 3 files changed, 48 insertions(+), 1 deletion(-)

diff --git a/_sources/library-user-guide/upgrading.md.txt 
b/_sources/library-user-guide/upgrading.md.txt
index d70413467a..e936598725 100644
--- a/_sources/library-user-guide/upgrading.md.txt
+++ b/_sources/library-user-guide/upgrading.md.txt
@@ -31,6 +31,25 @@ The Minimum Supported Rust Version (MSRV) has been updated 
to [`1.87.0`].
 
 [`1.87.0`]: https://releases.rs/docs/1.87.0/
 
+### `FunctionRegistry` exposes two additional methods
+
+`FunctionRegistry` exposes two additional methods `udafs` and `udwfs` which 
expose set of registered user defined aggregation and window function names. To 
upgrade implement methods returning set of registered function names:
+
+```diff
+impl FunctionRegistry for FunctionRegistryImpl {
+      fn udfs(&self) -> HashSet<String> {
+         self.scalar_functions.keys().cloned().collect()
+     }
++    fn udafs(&self) -> HashSet<String> {
++        self.aggregate_functions.keys().cloned().collect()
++    }
++
++    fn udwfs(&self) -> HashSet<String> {
++        self.window_functions.keys().cloned().collect()
++    }
+}
+```
+
 ### `datafusion-proto` use `TaskContext` rather than `SessionContext` in 
physical plan serde methods
 
 There have been changes in the public API methods of `datafusion-proto` which 
handle physical plan serde.
diff --git a/library-user-guide/upgrading.html 
b/library-user-guide/upgrading.html
index cced31efca..604b45fcdd 100644
--- a/library-user-guide/upgrading.html
+++ b/library-user-guide/upgrading.html
@@ -581,6 +581,16 @@
      updated to 1.87.0
     </a>
    </li>
+   <li class="toc-h3 nav-item toc-entry">
+    <a class="reference internal nav-link" 
href="#functionregistry-exposes-two-additional-methods">
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       FunctionRegistry
+      </span>
+     </code>
+     exposes two additional methods
+    </a>
+   </li>
    <li class="toc-h3 nav-item toc-entry">
     <a class="reference internal nav-link" 
href="#datafusion-proto-use-taskcontext-rather-than-sessioncontext-in-physical-plan-serde-methods">
      <code class="docutils literal notranslate">
@@ -1364,6 +1374,24 @@
 <h3><code class="docutils literal notranslate"><span 
class="pre">MSRV</span></code> updated to 1.87.0<a class="headerlink" 
href="#msrv-updated-to-1-87-0" title="Link to this heading">¶</a></h3>
 <p>The Minimum Supported Rust Version (MSRV) has been updated to <a 
class="reference external" href="https://releases.rs/docs/1.87.0/";><code 
class="docutils literal notranslate"><span 
class="pre">1.87.0</span></code></a>.</p>
 </section>
+<section id="functionregistry-exposes-two-additional-methods">
+<h3><code class="docutils literal notranslate"><span 
class="pre">FunctionRegistry</span></code> exposes two additional methods<a 
class="headerlink" href="#functionregistry-exposes-two-additional-methods" 
title="Link to this heading">¶</a></h3>
+<p><code class="docutils literal notranslate"><span 
class="pre">FunctionRegistry</span></code> exposes two additional methods <code 
class="docutils literal notranslate"><span class="pre">udafs</span></code> and 
<code class="docutils literal notranslate"><span 
class="pre">udwfs</span></code> which expose set of registered user defined 
aggregation and window function names. To upgrade implement methods returning 
set of registered function names:</p>
+<div class="highlight-diff notranslate"><div 
class="highlight"><pre><span></span>impl FunctionRegistry for 
FunctionRegistryImpl {
+<span class="w"> </span>     fn udfs(&amp;self) -&gt; HashSet&lt;String&gt; {
+<span class="w"> </span>        self.scalar_functions.keys().cloned().collect()
+<span class="w"> </span>    }
+<span class="gi">+    fn udafs(&amp;self) -&gt; HashSet&lt;String&gt; {</span>
+<span class="gi">+        
self.aggregate_functions.keys().cloned().collect()</span>
+<span class="gi">+    }</span>
+<span class="gi">+</span>
+<span class="gi">+    fn udwfs(&amp;self) -&gt; HashSet&lt;String&gt; {</span>
+<span class="gi">+        
self.window_functions.keys().cloned().collect()</span>
+<span class="gi">+    }</span>
+}
+</pre></div>
+</div>
+</section>
 <section 
id="datafusion-proto-use-taskcontext-rather-than-sessioncontext-in-physical-plan-serde-methods">
 <h3><code class="docutils literal notranslate"><span 
class="pre">datafusion-proto</span></code> use <code class="docutils literal 
notranslate"><span class="pre">TaskContext</span></code> rather than <code 
class="docutils literal notranslate"><span 
class="pre">SessionContext</span></code> in physical plan serde methods<a 
class="headerlink" 
href="#datafusion-proto-use-taskcontext-rather-than-sessioncontext-in-physical-plan-serde-methods"
 title="Link to this heading">¶</a></h3>
 <p>There have been changes in the public API methods of <code class="docutils 
literal notranslate"><span class="pre">datafusion-proto</span></code> which 
handle physical plan serde.</p>
diff --git a/searchindex.js b/searchindex.js
index 4ea324c7ae..0ea1ac40fc 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles":{"!=":[[58,"op-neq"]],"!~":[[58,"op-re-not-match"]],"!~*":[[58,"op-re-not-match-i"]],"!~~":[[58,"id19"]],"!~~*":[[58,"id20"]],"#":[[58,"op-bit-xor"]],"%":[[58,"op-modulo"]],"&":[[58,"op-bit-and"]],"(relation,
 name) tuples in logical fields and logical columns are 
unique":[[13,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[58,"op-multiply"]],"+":[[58,"op-plus"]],"-":[[58,"op-minus"]],"/":[[58,"op-divide"]],"<":[[58,"op-lt"]],"<
 [...]
\ No newline at end of file
+Search.setIndex({"alltitles":{"!=":[[58,"op-neq"]],"!~":[[58,"op-re-not-match"]],"!~*":[[58,"op-re-not-match-i"]],"!~~":[[58,"id19"]],"!~~*":[[58,"id20"]],"#":[[58,"op-bit-xor"]],"%":[[58,"op-modulo"]],"&":[[58,"op-bit-and"]],"(relation,
 name) tuples in logical fields and logical columns are 
unique":[[13,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[58,"op-multiply"]],"+":[[58,"op-plus"]],"-":[[58,"op-minus"]],"/":[[58,"op-divide"]],"<":[[58,"op-lt"]],"<
 [...]
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to