You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2015/04/30 03:25:05 UTC

[jira] [Resolved] (SPARK-7234) When codegen on DateType defaultPrimitive will throw type mismatch exception

     [ https://issues.apache.org/jira/browse/SPARK-7234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reynold Xin resolved SPARK-7234.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0
                   1.3.2
         Assignee: Chen Song

> When codegen on DateType defaultPrimitive will throw type mismatch exception
> ----------------------------------------------------------------------------
>
>                 Key: SPARK-7234
>                 URL: https://issues.apache.org/jira/browse/SPARK-7234
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Chen Song
>            Assignee: Chen Song
>             Fix For: 1.3.2, 1.4.0
>
>
> When codegen on, the defaultPrimitive of DateType is null. This will rise below error.
> select COUNT(a) from table
> a -> DateType
> type mismatch;
>  found   : Null(null)
>  required: DateType.this.InternalType



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org