You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by we...@apache.org on 2020/06/03 12:12:38 UTC

[spark] branch master updated: fix compilation

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 349015d  fix compilation
349015d is described below

commit 349015dce0406cd33bce6baa56b1d56abd54b6fd
Author: Wenchen Fan <we...@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-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org