Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-9046 Decimal type support improvement and bug fix
  3. SPARK-9356

Remove the internal use of DecimalType.Unlimited

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • SQL
    • None
    • Spark 1.5 release

    Description

      We still have a few places that reference DecimalType.Unlimited, which is deprecated. We should remove those cases (or replace them with fixed precision).

      > git grep Unlimited
      
      sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Cast.scala:      case DecimalType.Unlimited =>
      sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/NullFunctionsSuite.scala:      Literal.create(null, DecimalType.Unlimited),
      sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/PartitioningUtils.scala:   *   DoubleType -> DecimalType.Unlimited ->
      

      Attachments

        Issue Links

          Activity

            People

              yijieshen Yijie Shen
              rxin Reynold Xin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: