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 780e39df3f Publish built docs triggered by 
873b5f70e3292bcad4e92630a6fa10870d716984
780e39df3f is described below

commit 780e39df3fd20202b01fad51987b31fe575b9dbb
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Feb 18 12:48:41 2025 +0000

    Publish built docs triggered by 873b5f70e3292bcad4e92630a6fa10870d716984
---
 _downloads/6b1061daa902cf2423ed86f1373aefed/optimizer_rule.rs | 10 +++-------
 _sources/contributor-guide/howtos.md.txt                      |  6 ++++++
 contributor-guide/howtos.html                                 | 11 +++++++++++
 searchindex.js                                                |  2 +-
 4 files changed, 21 insertions(+), 8 deletions(-)

diff --git a/_downloads/6b1061daa902cf2423ed86f1373aefed/optimizer_rule.rs 
b/_downloads/6b1061daa902cf2423ed86f1373aefed/optimizer_rule.rs
index 0206c7cd15..63f1748480 100644
--- a/_downloads/6b1061daa902cf2423ed86f1373aefed/optimizer_rule.rs
+++ b/_downloads/6b1061daa902cf2423ed86f1373aefed/optimizer_rule.rs
@@ -20,8 +20,8 @@ use arrow::datatypes::DataType;
 use datafusion::common::tree_node::{Transformed, TreeNode};
 use datafusion::common::{assert_batches_eq, Result, ScalarValue};
 use datafusion::logical_expr::{
-    BinaryExpr, ColumnarValue, Expr, LogicalPlan, Operator, ScalarUDF, 
ScalarUDFImpl,
-    Signature, Volatility,
+    BinaryExpr, ColumnarValue, Expr, LogicalPlan, Operator, ScalarFunctionArgs,
+    ScalarUDF, ScalarUDFImpl, Signature, Volatility,
 };
 use datafusion::optimizer::ApplyOrder;
 use datafusion::optimizer::{OptimizerConfig, OptimizerRule};
@@ -205,11 +205,7 @@ impl ScalarUDFImpl for MyEq {
         Ok(DataType::Boolean)
     }
 
-    fn invoke_batch(
-        &self,
-        _args: &[ColumnarValue],
-        _number_rows: usize,
-    ) -> Result<ColumnarValue> {
+    fn invoke_with_args(&self, _args: ScalarFunctionArgs) -> 
Result<ColumnarValue> {
         // this example simply returns "true" which is not what a real
         // implementation would do.
         Ok(ColumnarValue::Scalar(ScalarValue::from(true)))
diff --git a/_sources/contributor-guide/howtos.md.txt 
b/_sources/contributor-guide/howtos.md.txt
index e406804caa..556242751f 100644
--- a/_sources/contributor-guide/howtos.md.txt
+++ b/_sources/contributor-guide/howtos.md.txt
@@ -19,6 +19,12 @@
 
 # HOWTOs
 
+## How to update the version of Rust used in CI tests
+
+- Make a PR to update the [rust-toolchain] file in the root of the repository:
+
+[rust-toolchain]: 
https://github.com/apache/datafusion/blob/main/rust-toolchain.toml
+
 ## How to add a new scalar function
 
 Below is a checklist of what you need to do to add a new scalar function to 
DataFusion:
diff --git a/contributor-guide/howtos.html b/contributor-guide/howtos.html
index 12bf1b82b2..faa1f60755 100644
--- a/contributor-guide/howtos.html
+++ b/contributor-guide/howtos.html
@@ -513,6 +513,11 @@
 
 <nav id="bd-toc-nav">
     <ul class="visible nav section-nav flex-column">
+ <li class="toc-h2 nav-item toc-entry">
+  <a class="reference internal nav-link" 
href="#how-to-update-the-version-of-rust-used-in-ci-tests">
+   How to update the version of Rust used in CI tests
+  </a>
+ </li>
  <li class="toc-h2 nav-item toc-entry">
   <a class="reference internal nav-link" 
href="#how-to-add-a-new-scalar-function">
    How to add a new scalar function
@@ -608,6 +613,12 @@
 -->
 <section id="howtos">
 <h1>HOWTOs<a class="headerlink" href="#howtos" title="Link to this 
heading">¶</a></h1>
+<section id="how-to-update-the-version-of-rust-used-in-ci-tests">
+<h2>How to update the version of Rust used in CI tests<a class="headerlink" 
href="#how-to-update-the-version-of-rust-used-in-ci-tests" title="Link to this 
heading">¶</a></h2>
+<ul class="simple">
+<li><p>Make a PR to update the <a class="reference external" 
href="https://github.com/apache/datafusion/blob/main/rust-toolchain.toml";>rust-toolchain</a>
 file in the root of the repository:</p></li>
+</ul>
+</section>
 <section id="how-to-add-a-new-scalar-function">
 <h2>How to add a new scalar function<a class="headerlink" 
href="#how-to-add-a-new-scalar-function" title="Link to this heading">¶</a></h2>
 <p>Below is a checklist of what you need to do to add a new scalar function to 
DataFusion:</p>
diff --git a/searchindex.js b/searchindex.js
index f0e8fb6d6a..7b9a440ab6 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles": {"!=": [[50, "op-neq"]], "!~": [[50, 
"op-re-not-match"]], "!~*": [[50, "op-re-not-match-i"]], "!~~": [[50, "id19"]], 
"!~~*": [[50, "id20"]], "#": [[50, "op-bit-xor"]], "%": [[50, "op-modulo"]], 
"&": [[50, "op-bit-and"]], "(relation, name) tuples in logical fields and 
logical columns are unique": [[10, 
"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]], "*": 
[[50, "op-multiply"]], "+": [[50, "op-plus"]], "-": [[50, "op-minus"]], "/": [[ 
[...]
\ No newline at end of file
+Search.setIndex({"alltitles": {"!=": [[50, "op-neq"]], "!~": [[50, 
"op-re-not-match"]], "!~*": [[50, "op-re-not-match-i"]], "!~~": [[50, "id19"]], 
"!~~*": [[50, "id20"]], "#": [[50, "op-bit-xor"]], "%": [[50, "op-modulo"]], 
"&": [[50, "op-bit-and"]], "(relation, name) tuples in logical fields and 
logical columns are unique": [[10, 
"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]], "*": 
[[50, "op-multiply"]], "+": [[50, "op-plus"]], "-": [[50, "op-minus"]], "/": [[ 
[...]
\ No newline at end of file


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

Reply via email to