You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ge...@apache.org on 2021/07/05 10:49:20 UTC
[spark] branch branch-3.2 updated: [SPARK-35664][SQL][FOLLOWUP] Fix
incorrect comment for TimestampNTZType
This is an automated email from the ASF dual-hosted git repository.
gengliang pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.2 by this push:
new d3e8c9c [SPARK-35664][SQL][FOLLOWUP] Fix incorrect comment for TimestampNTZType
d3e8c9c is described below
commit d3e8c9c78b364580523e3f915ee51369ca7df0bf
Author: gengjiaan <ge...@360.cn>
AuthorDate: Mon Jul 5 18:48:00 2021 +0800
[SPARK-35664][SQL][FOLLOWUP] Fix incorrect comment for TimestampNTZType
### What changes were proposed in this pull request?
This PR fix the incorrect comment for `TimestampNTZType`.
### Why are the changes needed?
Fix the incorrect comment
### Does this PR introduce _any_ user-facing change?
'No'.
### How was this patch tested?
No need.
Closes #33218 from beliefer/SPARK-35664-followup.
Authored-by: gengjiaan <ge...@360.cn>
Signed-off-by: Gengliang Wang <ge...@apache.org>
(cherry picked from commit c605ba2d46742ca13db794ca1be136a4b10b652e)
Signed-off-by: Gengliang Wang <ge...@apache.org>
---
sql/catalyst/src/main/scala/org/apache/spark/sql/Encoders.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/Encoders.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/Encoders.scala
index 15a93a7..f23f3c6 100644
--- a/sql/catalyst/src/main/scala/org/apache/spark/sql/Encoders.scala
+++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/Encoders.scala
@@ -116,7 +116,7 @@ object Encoders {
/**
* Creates an encoder that serializes instances of the `java.time.LocalDateTime` class
- * to the internal representation of nullable Catalyst's DateType.
+ * to the internal representation of nullable Catalyst's TimestampNTZType.
*
* @since 3.2.0
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org