You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ya...@apache.org on 2022/04/01 11:55:45 UTC
[incubator-kyuubi] branch master updated: [KYUUBI #2263] [KYUUBI #2262]Kyuubi Spark Nightly failed - select timestamp_ntz *** FAILED ***
This is an automated email from the ASF dual-hosted git repository.
yao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new 89edeae [KYUUBI #2263] [KYUUBI #2262]Kyuubi Spark Nightly failed - select timestamp_ntz *** FAILED ***
89edeae is described below
commit 89edeaee78740aab26c08529754a0edc053966b1
Author: Nick Song <ch...@163.com>
AuthorDate: Fri Apr 1 19:55:34 2022 +0800
[KYUUBI #2263] [KYUUBI #2262]Kyuubi Spark Nightly failed - select timestamp_ntz *** FAILED ***
### _Why are the changes needed?_
#2262
Kyuubi Spark Nightly failed - select timestamp_ntz *** FAILED ***
### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
- [ ] Add screenshots for manual tests if appropriate
- [X] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request
Closes #2263 from Nick-0723/fix_timestamp_ntz.
Closes #2263
85ed5a38 [Nick Song] fix timestamp_ntz
Authored-by: Nick Song <ch...@163.com>
Signed-off-by: Kent Yao <ya...@apache.org>
---
.../src/main/scala/org/apache/kyuubi/engine/spark/schema/RowSet.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/schema/RowSet.scala b/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/schema/RowSet.scala
index 14dbb45..6e4257f 100644
--- a/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/schema/RowSet.scala
+++ b/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/schema/RowSet.scala
@@ -242,7 +242,7 @@ object RowSet {
case (t: Timestamp, TimestampType) =>
formatTimestamp(t)
- case (t: LocalDateTime, ntz) if ntz.getClass.getName.equals(TIMESTAMP_NTZ) =>
+ case (t: LocalDateTime, ntz) if ntz.getClass.getSimpleName.equals(TIMESTAMP_NTZ) =>
formatLocalDateTime(t)
case (i: Instant, TimestampType) =>