[ https://issues.apache.org/jira/browse/SPARK-19446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Li resolved SPARK-19446. ----------------------------- Resolution: Fixed Fix Version/s: 2.2.0 Issue resolved by pull request 16786 [https://github.com/apache/spark/pull/16786] > Remove unused findTightestCommonType in TypeCoercion > ---------------------------------------------------- > > Key: SPARK-19446 > URL: https://issues.apache.org/jira/browse/SPARK-19446 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 2.2.0 > Reporter: Hyukjin Kwon > Priority: Trivial > Fix For: 2.2.0 > > > It seems the codes below is not used anymore. > {code} > /** > * 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) > }) > } > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org