You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/09/24 15:09:00 UTC
[jira] [Commented] (IGNITE-9669) Spark Integration fails test after
fix IGNITE-8552
[ https://issues.apache.org/jira/browse/IGNITE-9669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16625948#comment-16625948 ]
ASF GitHub Bot commented on IGNITE-9669:
----------------------------------------
GitHub user SGrimstad opened a pull request:
https://github.com/apache/ignite/pull/4817
IGNITE-9669 implemented
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite IGNITE-9669
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/4817.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4817
----
commit c88061ca99cdb86952cc51e1bbf5d76738f49764
Author: SGrimstad <sg...@...>
Date: 2018-09-24T15:03:06Z
IGNITE-9669 implemented
----
> Spark Integration fails test after fix IGNITE-8552
> --------------------------------------------------
>
> Key: IGNITE-9669
> URL: https://issues.apache.org/jira/browse/IGNITE-9669
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Affects Versions: 2.7
> Reporter: Sergey Grimstad
> Assignee: Sergey Grimstad
> Priority: Major
> Fix For: 2.7
>
>
> ++++_[org.apache.ignite.spark.IgniteOptimizationDateFuncSpec]_ _Supported optimized date functions - FORMATDATETIME_
> ++[00:09:34]++_[Supported optimized date functions - FORMATDATETIME]_ _class org.apache.spark.SparkException: Job aborted due to stage failure: Task 2 in stage 13.0 failed 1 times, most recent failure: Lost task 2.0 in stage 13.0 (TID 80, localhost, executor driver): java.lang.ClassCastException: java.sql.Timestamp cannot be cast to java.sql.Date
_
>
> _Cause: java.lang.ClassCastException: java.sql.Timestamp cannot be cast to java.sql.Date at org.apache.spark.sql.catalyst.CatalystTypeConverters$DateConverter$.toCatalystImpl(CatalystTypeConverters.scala:286) at org.apache.spark.sql.catalyst.CatalystTypeConverters$CatalystTypeConverter.toCatalyst(CatalystTypeConverters.scala:103)_
>
> _Current impl_ of GridH2RowDescriptor maps
> Value.{color:#9876aa}TIMESTAMP{color} (11) to ValueTimestamp and that lead to the attempt to cast j.s.Timestamp to j.s.Date
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)