You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2015/04/17 02:50:59 UTC

[jira] [Resolved] (SPARK-6899) Type mismatch when using codegen

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

Michael Armbrust resolved SPARK-6899.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

Issue resolved by pull request 5517
[https://github.com/apache/spark/pull/5517]

> Type mismatch when using codegen
> --------------------------------
>
>                 Key: SPARK-6899
>                 URL: https://issues.apache.org/jira/browse/SPARK-6899
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.3.0
>            Reporter: Chen Song
>             Fix For: 1.4.0
>
>
> When I run tests in DataFrameSuite with codegen on, some type mismatched error occured.
> {code}
> test("average") {
>     checkAnswer(
>       decimalData.agg(avg('a)),
>       Row(new java.math.BigDecimal(2.0)))
>   }
> type mismatch;
>  found   : Int(0)
>  required: org.apache.spark.sql.types.DecimalType#JvmType
> {code}



--
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