You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2018/09/26 10:47:00 UTC

[jira] [Closed] (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:all-tabpanel ]

Vladimir Ozerov closed IGNITE-9669.
-----------------------------------
    Assignee:     (was: Sergey Grimstad)

> 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
>            Priority: Major
>             Fix For: 2.7
>
>         Attachments: sgrimstad_IGNITE_9669_implemented_.patch
>
>
> ++++_[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&#010_
>   
> _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)