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

commit 5ce63c8cd9a184a0e5dd9ed9d86f38f731a4e947
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Oct 16 17:22:32 2025 +0000

    Publish built docs triggered by ea83c2644eb559e55401ce2f7f975032e8d7845d
---
 _sources/library-user-guide/upgrading.md.txt    |  8 ++++++
 _sources/user-guide/sql/scalar_functions.md.txt |  2 +-
 library-user-guide/upgrading.html               | 35 +++++++++++++++++++++++++
 searchindex.js                                  |  2 +-
 user-guide/sql/scalar_functions.html            |  2 +-
 5 files changed, 46 insertions(+), 3 deletions(-)

diff --git a/_sources/library-user-guide/upgrading.md.txt 
b/_sources/library-user-guide/upgrading.md.txt
index e936598725..0b9da1b5a8 100644
--- a/_sources/library-user-guide/upgrading.md.txt
+++ b/_sources/library-user-guide/upgrading.md.txt
@@ -86,6 +86,14 @@ See [issue #17601] for more details.
 
 [issue #17601]: https://github.com/apache/datafusion/issues/17601
 
+### `SessionState`'s `sql_to_statement` method takes `Dialect` rather than a 
`str`
+
+The `dialect` parameter of `sql_to_statement` method defined in 
`datafusion::execution::session_state::SessionState`
+has changed from `&str` to `&Dialect`.
+`Dialect` is an enum defined in the `datafusion-common`
+crate under the `config` module that provides type safety
+and better validation for SQL dialect selection
+
 ## DataFusion `50.0.0`
 
 ### ListingTable automatically detects Hive Partitioned tables
diff --git a/_sources/user-guide/sql/scalar_functions.md.txt 
b/_sources/user-guide/sql/scalar_functions.md.txt
index 9fcaac7628..ec2faf8b3d 100644
--- a/_sources/user-guide/sql/scalar_functions.md.txt
+++ b/_sources/user-guide/sql/scalar_functions.md.txt
@@ -1056,7 +1056,7 @@ nullif(expression1, expression2)
 
 ### `nvl`
 
-Returns _expression2_ if _expression1_ is NULL otherwise it returns 
_expression1_.
+Returns _expression2_ if _expression1_ is NULL otherwise it returns 
_expression1_ and _expression2_ is not evaluated. This function can be used to 
substitute a default value for NULL values.
 
 ```sql
 nvl(expression1, expression2)
diff --git a/library-user-guide/upgrading.html 
b/library-user-guide/upgrading.html
index 604b45fcdd..d2a7813644 100644
--- a/library-user-guide/upgrading.html
+++ b/library-user-guide/upgrading.html
@@ -613,6 +613,33 @@
      in physical plan serde methods
     </a>
    </li>
+   <li class="toc-h3 nav-item toc-entry">
+    <a class="reference internal nav-link" 
href="#sessionstate-s-sql-to-statement-method-takes-dialect-rather-than-a-str">
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       SessionState
+      </span>
+     </code>
+     ’s
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       sql_to_statement
+      </span>
+     </code>
+     method takes
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       Dialect
+      </span>
+     </code>
+     rather than a
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       str
+      </span>
+     </code>
+    </a>
+   </li>
   </ul>
  </li>
  <li class="toc-h2 nav-item toc-entry">
@@ -1419,6 +1446,14 @@
 </div>
 <p>See <a class="reference external" 
href="https://github.com/apache/datafusion/issues/17601";>issue #17601</a> for 
more details.</p>
 </section>
+<section 
id="sessionstate-s-sql-to-statement-method-takes-dialect-rather-than-a-str">
+<h3><code class="docutils literal notranslate"><span 
class="pre">SessionState</span></code>’s <code class="docutils literal 
notranslate"><span class="pre">sql_to_statement</span></code> method takes 
<code class="docutils literal notranslate"><span 
class="pre">Dialect</span></code> rather than a <code class="docutils literal 
notranslate"><span class="pre">str</span></code><a class="headerlink" 
href="#sessionstate-s-sql-to-statement-method-takes-dialect-rather-than-a-str" 
title="Link to th [...]
+<p>The <code class="docutils literal notranslate"><span 
class="pre">dialect</span></code> parameter of <code class="docutils literal 
notranslate"><span class="pre">sql_to_statement</span></code> method defined in 
<code class="docutils literal notranslate"><span 
class="pre">datafusion::execution::session_state::SessionState</span></code>
+has changed from <code class="docutils literal notranslate"><span 
class="pre">&amp;str</span></code> to <code class="docutils literal 
notranslate"><span class="pre">&amp;Dialect</span></code>.
+<code class="docutils literal notranslate"><span 
class="pre">Dialect</span></code> is an enum defined in the <code 
class="docutils literal notranslate"><span 
class="pre">datafusion-common</span></code>
+crate under the <code class="docutils literal notranslate"><span 
class="pre">config</span></code> module that provides type safety
+and better validation for SQL dialect selection</p>
+</section>
 </section>
 <section id="datafusion-50-0-0">
 <h2>DataFusion <code class="docutils literal notranslate"><span 
class="pre">50.0.0</span></code><a class="headerlink" href="#datafusion-50-0-0" 
title="Link to this heading">¶</a></h2>
diff --git a/searchindex.js b/searchindex.js
index 0ff097f45b..139ae2f26a 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
diff --git a/user-guide/sql/scalar_functions.html 
b/user-guide/sql/scalar_functions.html
index c28cafecba..5c7589269b 100644
--- a/user-guide/sql/scalar_functions.html
+++ b/user-guide/sql/scalar_functions.html
@@ -5961,7 +5961,7 @@ This can be used to perform the inverse operation of <a 
class="reference interna
 </section>
 <section id="nvl">
 <h3><code class="docutils literal notranslate"><span 
class="pre">nvl</span></code><a class="headerlink" href="#nvl" title="Link to 
this heading">¶</a></h3>
-<p>Returns <em>expression2</em> if <em>expression1</em> is NULL otherwise it 
returns <em>expression1</em>.</p>
+<p>Returns <em>expression2</em> if <em>expression1</em> is NULL otherwise it 
returns <em>expression1</em> and <em>expression2</em> is not evaluated. This 
function can be used to substitute a default value for NULL values.</p>
 <div class="highlight-sql notranslate"><div 
class="highlight"><pre><span></span><span class="n">nvl</span><span 
class="p">(</span><span class="n">expression1</span><span 
class="p">,</span><span class="w"> </span><span 
class="n">expression2</span><span class="p">)</span>
 </pre></div>
 </div>


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

Reply via email to