Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-25075 Build and test Spark against Scala 2.13
  3. SPARK-30011

Use DoubleAsIfIntegral / FloatAsIfIntegral workalike in 2.13

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • SQL
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              srowen Sean R. Owen
              srowen Sean R. Owen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: