You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2022/07/15 17:38:17 UTC
[spark-website] branch asf-site updated: Hide TimestampNTZ from Apache Spark 3.2.2 docs (#404)
This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/spark-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 8a71bb912 Hide TimestampNTZ from Apache Spark 3.2.2 docs (#404)
8a71bb912 is described below
commit 8a71bb912708b1586d43162d0162612c75a1ce6c
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Fri Jul 15 10:38:13 2022 -0700
Hide TimestampNTZ from Apache Spark 3.2.2 docs (#404)
---
site/docs/3.2.2/api/java/org/apache/spark/sql/functions.html | 6 +++---
site/docs/3.2.2/api/python/_modules/pyspark/sql/functions.html | 4 ++--
.../api/python/reference/api/pyspark.sql.functions.window.html | 4 ++--
site/docs/3.2.2/api/scala/org/apache/spark/sql/functions$.html | 6 +++---
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/site/docs/3.2.2/api/java/org/apache/spark/sql/functions.html b/site/docs/3.2.2/api/java/org/apache/spark/sql/functions.html
index e10b8063f..91ad1c488 100644
--- a/site/docs/3.2.2/api/java/org/apache/spark/sql/functions.html
+++ b/site/docs/3.2.2/api/java/org/apache/spark/sql/functions.html
@@ -10560,7 +10560,7 @@ extends Object</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>timeColumn</code> - The column or the expression to use as the timestamp for windowing by time.
- The time column must be of TimestampType or TimestampNTZType.</dd>
+ The time column must be of TimestampType.</dd>
<dd><code>windowDuration</code> - A string specifying the width of the window, e.g. <code>10 minutes</code>,
<code>1 second</code>. Check <code>org.apache.spark.unsafe.types.CalendarInterval</code> for
valid duration identifiers. Note that the duration is a fixed length of
@@ -10619,7 +10619,7 @@ extends Object</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>timeColumn</code> - The column or the expression to use as the timestamp for windowing by time.
- The time column must be of TimestampType or TimestampNTZType.</dd>
+ The time column must be of TimestampType.</dd>
<dd><code>windowDuration</code> - A string specifying the width of the window, e.g. <code>10 minutes</code>,
<code>1 second</code>. Check <code>org.apache.spark.unsafe.types.CalendarInterval</code> for
valid duration identifiers. Note that the duration is a fixed length of
@@ -10673,7 +10673,7 @@ extends Object</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>timeColumn</code> - The column or the expression to use as the timestamp for windowing by time.
- The time column must be of TimestampType or TimestampNTZType.</dd>
+ The time column must be of TimestampType.</dd>
<dd><code>windowDuration</code> - A string specifying the width of the window, e.g. <code>10 minutes</code>,
<code>1 second</code>. Check <code>org.apache.spark.unsafe.types.CalendarInterval</code> for
valid duration identifiers.
diff --git a/site/docs/3.2.2/api/python/_modules/pyspark/sql/functions.html b/site/docs/3.2.2/api/python/_modules/pyspark/sql/functions.html
index 075e71a2d..dffb73e86 100644
--- a/site/docs/3.2.2/api/python/_modules/pyspark/sql/functions.html
+++ b/site/docs/3.2.2/api/python/_modules/pyspark/sql/functions.html
@@ -2455,7 +2455,7 @@
<span class="sd"> ----------</span>
<span class="sd"> timeColumn : :class:`~pyspark.sql.Column`</span>
<span class="sd"> The column or the expression to use as the timestamp for windowing by time.</span>
-<span class="sd"> The time column must be of TimestampType or TimestampNTZType.</span>
+<span class="sd"> The time column must be of TimestampType.</span>
<span class="sd"> windowDuration : str</span>
<span class="sd"> A string specifying the width of the window, e.g. `10 minutes`,</span>
<span class="sd"> `1 second`. Check `org.apache.spark.unsafe.types.CalendarInterval` for</span>
@@ -5313,4 +5313,4 @@
</div>
</footer>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/site/docs/3.2.2/api/python/reference/api/pyspark.sql.functions.window.html b/site/docs/3.2.2/api/python/reference/api/pyspark.sql.functions.window.html
index 546d5be1a..8e8fcd37c 100644
--- a/site/docs/3.2.2/api/python/reference/api/pyspark.sql.functions.window.html
+++ b/site/docs/3.2.2/api/python/reference/api/pyspark.sql.functions.window.html
@@ -223,7 +223,7 @@ and ‘end’, where ‘start’ and ‘end’ will be of <a class="reference in
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><dl>
<dt><strong>timeColumn</strong><span class="classifier"><a class="reference internal" href="pyspark.sql.Column.html#pyspark.sql.Column" title="pyspark.sql.Column"><code class="xref py py-class docutils literal notranslate"><span class="pre">Column</span></code></a></span></dt><dd><p>The column or the expression to use as the timestamp for windowing by time.
-The time column must be of TimestampType or TimestampNTZType.</p>
+The time column must be of TimestampType.</p>
</dd>
<dt><strong>windowDuration</strong><span class="classifier">str</span></dt><dd><p>A string specifying the width of the window, e.g. <cite>10 minutes</cite>,
<cite>1 second</cite>. Check <cite>org.apache.spark.unsafe.types.CalendarInterval</cite> for
@@ -287,4 +287,4 @@ start 15 minutes past the hour, e.g. 12:15-13:15, 13:15-14:15… provide
</div>
</footer>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/site/docs/3.2.2/api/scala/org/apache/spark/sql/functions$.html b/site/docs/3.2.2/api/scala/org/apache/spark/sql/functions$.html
index f8638e185..edda20c79 100644
--- a/site/docs/3.2.2/api/scala/org/apache/spark/sql/functions$.html
+++ b/site/docs/3.2.2/api/scala/org/apache/spark/sql/functions$.html
@@ -8416,7 +8416,7 @@ df.groupBy(window($<span class="lit">"timestamp"</span>, <span class="lit">"1 mi
<span class="num">09</span>:<span class="num">02</span>:<span class="num">00</span>-<span class="num">09</span>:<span class="num">03</span>:<span class="num">00</span> ...</pre><p>For a streaming query, you may use the function <code>current_timestamp</code> to generate windows on
processing time.
</p></div><dl class="paramcmts block"><dt class="param">timeColumn</dt><dd class="cmt"><p>The column or the expression to use as the timestamp for windowing by time.
- The time column must be of TimestampType or TimestampNTZType.</p></dd><dt class="param">windowDuration</dt><dd class="cmt"><p>A string specifying the width of the window, e.g. <code>10 minutes</code>,
+ The time column must be of TimestampType.</p></dd><dt class="param">windowDuration</dt><dd class="cmt"><p>A string specifying the width of the window, e.g. <code>10 minutes</code>,
<code>1 second</code>. Check <code>org.apache.spark.unsafe.types.CalendarInterval</code> for
valid duration identifiers.</p></dd></dl><dl class="attributes block"> <dt>Since</dt><dd><p>2.0.0</p></dd></dl></div>
</li><li name="org.apache.spark.sql.functions#window" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="datetime_funcs">
@@ -8445,7 +8445,7 @@ df.groupBy(window($<span class="lit">"timestamp"</span>, <span class="lit">"1 mi
<span class="num">09</span>:<span class="num">00</span>:<span class="num">20</span>-<span class="num">09</span>:<span class="num">01</span>:<span class="num">20</span> ...</pre><p>For a streaming query, you may use the function <code>current_timestamp</code> to generate windows on
processing time.
</p></div><dl class="paramcmts block"><dt class="param">timeColumn</dt><dd class="cmt"><p>The column or the expression to use as the timestamp for windowing by time.
- The time column must be of TimestampType or TimestampNTZType.</p></dd><dt class="param">windowDuration</dt><dd class="cmt"><p>A string specifying the width of the window, e.g. <code>10 minutes</code>,
+ The time column must be of TimestampType.</p></dd><dt class="param">windowDuration</dt><dd class="cmt"><p>A string specifying the width of the window, e.g. <code>10 minutes</code>,
<code>1 second</code>. Check <code>org.apache.spark.unsafe.types.CalendarInterval</code> for
valid duration identifiers. Note that the duration is a fixed length of
time, and does not vary over time according to a calendar. For example,
@@ -8481,7 +8481,7 @@ df.groupBy(window($<span class="lit">"timestamp"</span>, <span class="lit">"1 mi
<span class="num">09</span>:<span class="num">00</span>:<span class="num">25</span>-<span class="num">09</span>:<span class="num">01</span>:<span class="num">25</span> ...</pre><p>For a streaming query, you may use the function <code>current_timestamp</code> to generate windows on
processing time.
</p></div><dl class="paramcmts block"><dt class="param">timeColumn</dt><dd class="cmt"><p>The column or the expression to use as the timestamp for windowing by time.
- The time column must be of TimestampType or TimestampNTZType.</p></dd><dt class="param">windowDuration</dt><dd class="cmt"><p>A string specifying the width of the window, e.g. <code>10 minutes</code>,
+ The time column must be of TimestampType.</p></dd><dt class="param">windowDuration</dt><dd class="cmt"><p>A string specifying the width of the window, e.g. <code>10 minutes</code>,
<code>1 second</code>. Check <code>org.apache.spark.unsafe.types.CalendarInterval</code> for
valid duration identifiers. Note that the duration is a fixed length of
time, and does not vary over time according to a calendar. For example,
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org