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/arrow-datafusion.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new d56eaa9d34 Publish built docs triggered by 
777b166282e447c973688e83951f690dd000df32
d56eaa9d34 is described below

commit d56eaa9d347bf66a240655a735365a1c52d6e35e
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Apr 12 19:45:02 2023 +0000

    Publish built docs triggered by 777b166282e447c973688e83951f690dd000df32
---
 _sources/user-guide/expressions.md.txt          |  1 +
 _sources/user-guide/sql/scalar_functions.md.txt |  9 +++++++++
 searchindex.js                                  |  2 +-
 user-guide/expressions.html                     | 17 ++++++++++-------
 user-guide/sql/scalar_functions.html            | 17 +++++++++++++++++
 5 files changed, 38 insertions(+), 8 deletions(-)

diff --git a/_sources/user-guide/expressions.md.txt 
b/_sources/user-guide/expressions.md.txt
index c8eb8f2f58..339bfadfe9 100644
--- a/_sources/user-guide/expressions.md.txt
+++ b/_sources/user-guide/expressions.md.txt
@@ -84,6 +84,7 @@ expressions such as `col("a") + col("b")` to be used.
 | log(base, x)          | logarithm of x for a particular base              |
 | log10(x)              | base 10 logarithm                                 |
 | log2(x)               | base 2 logarithm                                  |
+| pi(base, exponent)    | approximate value of π                            |
 | power(base, exponent) | base raised to the power of exponent              |
 | round(x)              | round to nearest integer                          |
 | signum(x)             | sign of the argument (-1, 0, +1)                  |
diff --git a/_sources/user-guide/sql/scalar_functions.md.txt 
b/_sources/user-guide/sql/scalar_functions.md.txt
index 3fe0f4647d..0414ffdd31 100644
--- a/_sources/user-guide/sql/scalar_functions.md.txt
+++ b/_sources/user-guide/sql/scalar_functions.md.txt
@@ -38,6 +38,7 @@
 - [ln](#ln)
 - [log10](#log10)
 - [log2](#log2)
+- [pi](#pi)
 - [power](#power)
 - [random](#random)
 - [round](#round)
@@ -272,6 +273,14 @@ log2(numeric_expression)
 - **numeric_expression**: Numeric expression to operate on.
   Can be a constant, column, or function, and any combination of arithmetic 
operators.
 
+### `pi`
+
+Returns an approximate value of π.
+
+```
+pi()
+```
+
 ### `power`
 
 Returns a base number raised to the power of an exponent.
diff --git a/searchindex.js b/searchindex.js
index 6c1414bc63..6d706aa1d1 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"docnames": ["contributor-guide/architecture", 
"contributor-guide/communication", "contributor-guide/index", 
"contributor-guide/quarterly_roadmap", "contributor-guide/roadmap", 
"contributor-guide/specification/index", 
"contributor-guide/specification/invariants", 
"contributor-guide/specification/output-field-name-semantic", "index", 
"user-guide/cli", "user-guide/comparison", "user-guide/configs", 
"user-guide/dataframe", "user-guide/example-usage", "user-guide/expressions 
[...]
\ No newline at end of file
+Search.setIndex({"docnames": ["contributor-guide/architecture", 
"contributor-guide/communication", "contributor-guide/index", 
"contributor-guide/quarterly_roadmap", "contributor-guide/roadmap", 
"contributor-guide/specification/index", 
"contributor-guide/specification/invariants", 
"contributor-guide/specification/output-field-name-semantic", "index", 
"user-guide/cli", "user-guide/comparison", "user-guide/configs", 
"user-guide/dataframe", "user-guide/example-usage", "user-guide/expressions 
[...]
\ No newline at end of file
diff --git a/user-guide/expressions.html b/user-guide/expressions.html
index 3ccd0c12d4..7f169c6a59 100644
--- a/user-guide/expressions.html
+++ b/user-guide/expressions.html
@@ -579,25 +579,28 @@ expressions such as <code class="docutils literal 
notranslate"><span class="pre"
 <tr class="row-even"><td><p>log2(x)</p></td>
 <td><p>base 2 logarithm</p></td>
 </tr>
-<tr class="row-odd"><td><p>power(base, exponent)</p></td>
+<tr class="row-odd"><td><p>pi(base, exponent)</p></td>
+<td><p>approximate value of π</p></td>
+</tr>
+<tr class="row-even"><td><p>power(base, exponent)</p></td>
 <td><p>base raised to the power of exponent</p></td>
 </tr>
-<tr class="row-even"><td><p>round(x)</p></td>
+<tr class="row-odd"><td><p>round(x)</p></td>
 <td><p>round to nearest integer</p></td>
 </tr>
-<tr class="row-odd"><td><p>signum(x)</p></td>
+<tr class="row-even"><td><p>signum(x)</p></td>
 <td><p>sign of the argument (-1, 0, +1)</p></td>
 </tr>
-<tr class="row-even"><td><p>sin(x)</p></td>
+<tr class="row-odd"><td><p>sin(x)</p></td>
 <td><p>sine</p></td>
 </tr>
-<tr class="row-odd"><td><p>sqrt(x)</p></td>
+<tr class="row-even"><td><p>sqrt(x)</p></td>
 <td><p>square root</p></td>
 </tr>
-<tr class="row-even"><td><p>tan(x)</p></td>
+<tr class="row-odd"><td><p>tan(x)</p></td>
 <td><p>tangent</p></td>
 </tr>
-<tr class="row-odd"><td><p>trunc(x)</p></td>
+<tr class="row-even"><td><p>trunc(x)</p></td>
 <td><p>truncate toward zero</p></td>
 </tr>
 </tbody>
diff --git a/user-guide/sql/scalar_functions.html 
b/user-guide/sql/scalar_functions.html
index cf8b952a6a..be4810f5f4 100644
--- a/user-guide/sql/scalar_functions.html
+++ b/user-guide/sql/scalar_functions.html
@@ -581,6 +581,15 @@
      </li>
     </ul>
    </li>
+   <li class="toc-h3 nav-item toc-entry">
+    <a class="reference internal nav-link" href="#pi">
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       pi
+      </span>
+     </code>
+    </a>
+   </li>
    <li class="toc-h3 nav-item toc-entry">
     <a class="reference internal nav-link" href="#power">
      <code class="docutils literal notranslate">
@@ -1660,6 +1669,7 @@
 <li><p><a class="reference internal" href="#ln">ln</a></p></li>
 <li><p><a class="reference internal" href="#log10">log10</a></p></li>
 <li><p><a class="reference internal" href="#log2">log2</a></p></li>
+<li><p><a class="reference internal" href="#pi">pi</a></p></li>
 <li><p><a class="reference internal" href="#power">power</a></p></li>
 <li><p><a class="reference internal" href="#random">random</a></p></li>
 <li><p><a class="reference internal" href="#round">round</a></p></li>
@@ -1911,6 +1921,13 @@ Can be a constant, column, or function, and any 
combination of arithmetic operat
 </ul>
 </section>
 </section>
+<section id="pi">
+<h3><code class="docutils literal notranslate"><span 
class="pre">pi</span></code><a class="headerlink" href="#pi" title="Permalink 
to this heading">¶</a></h3>
+<p>Returns an approximate value of π.</p>
+<div class="highlight-default notranslate"><div 
class="highlight"><pre><span></span><span class="n">pi</span><span 
class="p">()</span>
+</pre></div>
+</div>
+</section>
 <section id="power">
 <h3><code class="docutils literal notranslate"><span 
class="pre">power</span></code><a class="headerlink" href="#power" 
title="Permalink to this heading">¶</a></h3>
 <p>Returns a base number raised to the power of an exponent.</p>

Reply via email to