You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/04/29 13:48:06 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14519176#comment-14519176 ]
Apache Spark commented on SPARK-7234:
-------------------------------------
User 'kaka1992' has created a pull request for this issue:
https://github.com/apache/spark/pull/5778
> 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
>
> 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