You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2019/12/06 16:17:00 UTC

[jira] [Resolved] (SPARK-30011) Use DoubleAsIfIntegral / FloatAsIfIntegral workalike in 2.13

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

Dongjoon Hyun resolved SPARK-30011.
-----------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

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

> Use DoubleAsIfIntegral / FloatAsIfIntegral workalike in 2.13
> ------------------------------------------------------------
>
>                 Key: SPARK-30011
>                 URL: https://issues.apache.org/jira/browse/SPARK-30011
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Sean R. Owen
>            Assignee: Sean R. Owen
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> scala.math.Numeric.DoubleAsIfIntegral doesn't exist in 2.13, and likewise for Float. As with a few other issues, it doesn't look like there's a compat library solution. One solution is to inline the 2.12 implementation for use in both versions. Another is parallel source trees again. Because it's a little tricky to make one implementation work in both 2.12/2.13 anyway, I lean towards the latter, esp. as it looks like we have to have this anyway for other issues.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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