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 2014/09/23 21:23:34 UTC
[jira] [Resolved] (SPARK-3268) DoubleType should support modulus
[ https://issues.apache.org/jira/browse/SPARK-3268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Armbrust resolved SPARK-3268.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
> DoubleType should support modulus
> ----------------------------------
>
> Key: SPARK-3268
> URL: https://issues.apache.org/jira/browse/SPARK-3268
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Chris Grier
> Assignee: Venkata Ramana G
> Priority: Minor
> Fix For: 1.2.0
>
>
> Using the modulus operator (%) on Doubles throws and exception.
> eg:
> SELECT 1388632775.0 % 60 from tablename LIMIT 1
> Throws:
> java.lang.Exception: Type DoubleType does not support numeric operations
--
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