This is an automated email from the ASF dual-hosted git repository.

wenchen pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 7cdd084  fix compilation
7cdd084 is described below

commit 7cdd0848ba3c8fa58d97e428d64f5a61d2391b98
Author: Wenchen Fan <wenc...@databricks.com>
AuthorDate: Wed Jun 3 20:11:41 2020 +0800

    fix compilation
---
 .../src/main/scala/org/apache/spark/sql/execution/HiveResult.scala     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/sql/core/src/main/scala/org/apache/spark/sql/execution/HiveResult.scala 
b/sql/core/src/main/scala/org/apache/spark/sql/execution/HiveResult.scala
index c6b16fb..9f99bf5 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/execution/HiveResult.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/HiveResult.scala
@@ -86,7 +86,8 @@ object HiveResult {
     zoneId = ZoneOffset.UTC,
     locale = DateFormatter.defaultLocale,
     // Use `FastDateFormat` as the legacy formatter because it is thread-safe.
-    legacyFormat = LegacyDateFormats.FAST_DATE_FORMAT)
+    legacyFormat = LegacyDateFormats.FAST_DATE_FORMAT,
+    isParsing = false)
   private def timestampFormatter = TimestampFormatter.getFractionFormatter(
     DateTimeUtils.getZoneId(SQLConf.get.sessionLocalTimeZone))
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to