You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by gi...@apache.org on 2025/10/20 21:04:50 UTC

(datafusion) branch asf-site updated: Publish built docs triggered by 37aad28424da933e8966a032b502b9a0cf4b7507

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 7088544673 Publish built docs triggered by 37aad28424da933e8966a032b502b9a0cf4b7507
7088544673 is described below

commit 7088544673d8fa846ca9ba728f57b610c34b1bfc
Author: github-actions[bot] <gi...@users.noreply.github.com>
AuthorDate: Mon Oct 20 21:04:46 2025 +0000

    Publish built docs triggered by 37aad28424da933e8966a032b502b9a0cf4b7507
---
 _sources/user-guide/sql/scalar_functions.md.txt | 4 +++-
 searchindex.js                                  | 2 +-
 user-guide/sql/scalar_functions.html            | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/_sources/user-guide/sql/scalar_functions.md.txt b/_sources/user-guide/sql/scalar_functions.md.txt
index ec2faf8b3d..4ca3a822db 100644
--- a/_sources/user-guide/sql/scalar_functions.md.txt
+++ b/_sources/user-guide/sql/scalar_functions.md.txt
@@ -2417,10 +2417,12 @@ current_date()
 
 ### `current_time`
 
-Returns the current UTC time.
+Returns the current time in the session time zone.
 
 The `current_time()` return value is determined at query time and will return the same time, no matter when in the query plan the function executes.
 
+The session time zone can be set using the statement 'SET datafusion.execution.time_zone = desired time zone'. The time zone can be a value like +00:00, 'Europe/London' etc.
+
 ```sql
 current_time()
 ```
diff --git a/searchindex.js b/searchindex.js
index 5629706bbc..b95cb11b6f 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 c6100a5479..bc8f652aa5 100644
--- a/user-guide/sql/scalar_functions.html
+++ b/user-guide/sql/scalar_functions.html
@@ -3217,8 +3217,9 @@ Can be a constant, column, or function.</p></li>
 </section>
 <section id="current-time">
 <h3><code class="docutils literal notranslate"><span class="pre">current_time</span></code><a class="headerlink" href="#current-time" title="Link to this heading">#</a></h3>
-<p>Returns the current UTC time.</p>
+<p>Returns the current time in the session time zone.</p>
 <p>The <code class="docutils literal notranslate"><span class="pre">current_time()</span></code> return value is determined at query time and will return the same time, no matter when in the query plan the function executes.</p>
+<p>The session time zone can be set using the statement ‘SET datafusion.execution.time_zone = desired time zone’. The time zone can be a value like +00:00, ‘Europe/London’ etc.</p>
 <div class="highlight-sql notranslate"><div class="highlight"><pre><span></span><span class="k">current_time</span><span class="p">()</span>
 </pre></div>
 </div>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org