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 b56a014cba Publish built docs triggered by 
c19260d6b6cf294cf05d98cc2d7e41855ca358c7
b56a014cba is described below

commit b56a014cbab33b6326cb03ce6629171182c08c0a
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Dec 1 19:53:13 2023 +0000

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

diff --git a/_sources/user-guide/sql/scalar_functions.md.txt 
b/_sources/user-guide/sql/scalar_functions.md.txt
index 49e850ba90..0d9725203c 100644
--- a/_sources/user-guide/sql/scalar_functions.md.txt
+++ b/_sources/user-guide/sql/scalar_functions.md.txt
@@ -1462,6 +1462,9 @@ Strings are parsed as RFC3339 (e.g. '2023-07-20T05:44:00')
 Integers, unsigned integers, and doubles are interpreted as seconds since the 
unix epoch (`1970-01-01T00:00:00Z`)
 return the corresponding timestamp.
 
+Note: `to_timestamp` returns `Timestamp(Nanosecond)`. The supported range for 
integer input is between `-9223372037` and `9223372036`.
+Supported range for string input is between `1677-09-21T00:12:44.0` and 
`2262-04-11T23:47:16.0`. Please use `to_timestamp_seconds` for the input 
outside of supported bounds.
+
 ```
 to_timestamp(expression)
 ```
diff --git a/searchindex.js b/searchindex.js
index 34de5b2d63..387065eb63 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", 
"library-user-guide/adding-udfs", "library-user-guide/building-logical-plans", 
"library-user-guide/catalogs", "library-user-guide/custom-tab [...]
\ 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", 
"library-user-guide/adding-udfs", "library-user-guide/building-logical-plans", 
"library-user-guide/catalogs", "library-user-guide/custom-tab [...]
\ No newline at end of file
diff --git a/user-guide/sql/scalar_functions.html 
b/user-guide/sql/scalar_functions.html
index 607d266199..83483aa9ea 100644
--- a/user-guide/sql/scalar_functions.html
+++ b/user-guide/sql/scalar_functions.html
@@ -4598,6 +4598,8 @@ Supports strings, integer, unsigned integer, and double 
types as input.
 Strings are parsed as RFC3339 (e.g. ‘2023-07-20T05:44:00’)
 Integers, unsigned integers, and doubles are interpreted as seconds since the 
unix epoch (<code class="docutils literal notranslate"><span 
class="pre">1970-01-01T00:00:00Z</span></code>)
 return the corresponding timestamp.</p>
+<p>Note: <code class="docutils literal notranslate"><span 
class="pre">to_timestamp</span></code> returns <code class="docutils literal 
notranslate"><span class="pre">Timestamp(Nanosecond)</span></code>. The 
supported range for integer input is between <code class="docutils literal 
notranslate"><span class="pre">-9223372037</span></code> and <code 
class="docutils literal notranslate"><span class="pre">9223372036</span></code>.
+Supported range for string input is between <code class="docutils literal 
notranslate"><span class="pre">1677-09-21T00:12:44.0</span></code> and <code 
class="docutils literal notranslate"><span 
class="pre">2262-04-11T23:47:16.0</span></code>. Please use <code 
class="docutils literal notranslate"><span 
class="pre">to_timestamp_seconds</span></code> for the input outside of 
supported bounds.</p>
 <div class="highlight-default notranslate"><div 
class="highlight"><pre><span></span><span class="n">to_timestamp</span><span 
class="p">(</span><span class="n">expression</span><span class="p">)</span>
 </pre></div>
 </div>

Reply via email to