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

Kevin Tham closed SPARK-2006.
-----------------------------


> Spark Sql example throws ClassCastException: Long -> Int
> --------------------------------------------------------
>
>                 Key: SPARK-2006
>                 URL: https://issues.apache.org/jira/browse/SPARK-2006
>             Project: Spark
>          Issue Type: Bug
>          Components: Examples
>    Affects Versions: 1.0.0
>            Reporter: Kevin Tham
>            Priority: Minor
>
> getInt() is being called on a spark sql COUNT query whose output datatype is 
> of type Long. Casting a Long to Int is an illegal operation and the example 
> should use getLong() instead.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to