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 dba458d97f Publish built docs triggered by
5b6b404b9fbccb8584e8c5d2f1c366f3de736f31
dba458d97f is described below
commit dba458d97fc3c39032adbdd94ad835b9e30653f1
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Sep 12 10:29:48 2024 +0000
Publish built docs triggered by 5b6b404b9fbccb8584e8c5d2f1c366f3de736f31
---
_sources/user-guide/sql/scalar_functions.md.txt | 20 ++++++++++++++
searchindex.js | 2 +-
user-guide/sql/scalar_functions.html | 35 +++++++++++++++++++++++++
3 files changed, 56 insertions(+), 1 deletion(-)
diff --git a/_sources/user-guide/sql/scalar_functions.md.txt
b/_sources/user-guide/sql/scalar_functions.md.txt
index e08524dcd3..14852935dc 100644
--- a/_sources/user-guide/sql/scalar_functions.md.txt
+++ b/_sources/user-guide/sql/scalar_functions.md.txt
@@ -3917,6 +3917,7 @@ sha512(expression)
- [arrow_cast](#arrow_cast)
- [arrow_typeof](#arrow_typeof)
+- [version](#version)
### `arrow_cast`
@@ -3975,3 +3976,22 @@ arrow_typeof(expression)
+---------------------------+------------------------+
1 row in set. Query took 0.001 seconds.
```
+
+### `version`
+
+Returns the version of DataFusion.
+
+```
+version()
+```
+
+#### Example
+
+```
+> select version();
++--------------------------------------------+
+| version() |
++--------------------------------------------+
+| Apache DataFusion 41.0.0, aarch64 on macos |
++--------------------------------------------+
+```
diff --git a/searchindex.js b/searchindex.js
index 0e6f1ecd10..5f6269a93f 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles": {"!=": [[45, "op-neq"]], "!~": [[45,
"op-re-not-match"]], "!~*": [[45, "op-re-not-match-i"]], "!~~": [[45, "id18"]],
"!~~*": [[45, "id19"]], "#": [[45, "op-bit-xor"]], "%": [[45, "op-modulo"]],
"&": [[45, "op-bit-and"]], "(relation, name) tuples in logical fields and
logical columns are unique": [[9,
"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]], "*":
[[45, "op-multiply"]], "+": [[45, "op-plus"]], "-": [[45, "op-minus"]], "/":
[[4 [...]
\ No newline at end of file
+Search.setIndex({"alltitles": {"!=": [[45, "op-neq"]], "!~": [[45,
"op-re-not-match"]], "!~*": [[45, "op-re-not-match-i"]], "!~~": [[45, "id18"]],
"!~~*": [[45, "id19"]], "#": [[45, "op-bit-xor"]], "%": [[45, "op-modulo"]],
"&": [[45, "op-bit-and"]], "(relation, name) tuples in logical fields and
logical columns are unique": [[9,
"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]], "*":
[[45, "op-multiply"]], "+": [[45, "op-plus"]], "-": [[45, "op-minus"]], "/":
[[4 [...]
\ No newline at end of file
diff --git a/user-guide/sql/scalar_functions.html
b/user-guide/sql/scalar_functions.html
index 6db30fee33..f52fa45a29 100644
--- a/user-guide/sql/scalar_functions.html
+++ b/user-guide/sql/scalar_functions.html
@@ -4009,6 +4009,22 @@
</li>
</ul>
</li>
+ <li class="toc-h3 nav-item toc-entry">
+ <a class="reference internal nav-link" href="#version">
+ <code class="docutils literal notranslate">
+ <span class="pre">
+ version
+ </span>
+ </code>
+ </a>
+ <ul class="nav section-nav flex-column">
+ <li class="toc-h4 nav-item toc-entry">
+ <a class="reference internal nav-link" href="#id244">
+ Example
+ </a>
+ </li>
+ </ul>
+ </li>
</ul>
</li>
</ul>
@@ -8149,6 +8165,7 @@ Can be a constant, column, or function, and any
combination of string operators.
<ul class="simple">
<li><p><a class="reference internal" href="#arrow-cast">arrow_cast</a></p></li>
<li><p><a class="reference internal"
href="#arrow-typeof">arrow_typeof</a></p></li>
+<li><p><a class="reference internal" href="#version">version</a></p></li>
</ul>
<section id="arrow-cast">
<h3><code class="docutils literal notranslate"><span
class="pre">arrow_cast</span></code><a class="headerlink" href="#arrow-cast"
title="Link to this heading">¶</a></h3>
@@ -8210,6 +8227,24 @@ string operators.</p></li>
</div>
</section>
</section>
+<section id="version">
+<h3><code class="docutils literal notranslate"><span
class="pre">version</span></code><a class="headerlink" href="#version"
title="Link to this heading">¶</a></h3>
+<p>Returns the version of DataFusion.</p>
+<div class="highlight-default notranslate"><div
class="highlight"><pre><span></span><span class="n">version</span><span
class="p">()</span>
+</pre></div>
+</div>
+<section id="id244">
+<h4>Example<a class="headerlink" href="#id244" title="Link to this
heading">¶</a></h4>
+<div class="highlight-default notranslate"><div
class="highlight"><pre><span></span><span class="o">></span> <span
class="n">select</span> <span class="n">version</span><span class="p">();</span>
+<span class="o">+--------------------------------------------+</span>
+<span class="o">|</span> <span class="n">version</span><span
class="p">()</span> <span class="o">|</span>
+<span class="o">+--------------------------------------------+</span>
+<span class="o">|</span> <span class="n">Apache</span> <span
class="n">DataFusion</span> <span class="mf">41.0.0</span><span
class="p">,</span> <span class="n">aarch64</span> <span class="n">on</span>
<span class="n">macos</span> <span class="o">|</span>
+<span class="o">+--------------------------------------------+</span>
+</pre></div>
+</div>
+</section>
+</section>
</section>
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]