Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-19446

Remove unused findTightestCommonType in TypeCoercion

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • SQL
    • None

    Description

      It seems the codes below is not used anymore.

        /**
         * Find the tightest common type of a set of types by continuously applying
         * `findTightestCommonTypeOfTwo` on these types.
         */
        private def findTightestCommonType(types: Seq[DataType]): Option[DataType] = {
          types.foldLeft[Option[DataType]](Some(NullType))((r, c) => r match {
            case None => None
            case Some(d) => findTightestCommonTypeOfTwo(d, c)
          })
        }
      

      Attachments

        Activity

          People

            gurwls223 Hyukjin Kwon
            gurwls223 Hyukjin Kwon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: