Skip to content

Commit 9a65366

Browse files
author
Fokko Driesprong
committed
[SPARK-24603][SQL] Fix findTightestCommonType reference in comments
findTightestCommonTypeOfTwo has been renamed to findTightestCommonType
1 parent bc11146 commit 9a65366

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/json/JsonInferSchema.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,8 @@ private[sql] object JsonInferSchema {
334334
ArrayType(compatibleType(elementType1, elementType2), containsNull1 || containsNull2)
335335

336336
// The case that given `DecimalType` is capable of given `IntegralType` is handled in
337-
// `findTightestCommonTypeOfTwo`. Both cases below will be executed only when
338-
// the given `DecimalType` is not capable of the given `IntegralType`.
337+
// `findTightestCommonType`. Both cases below will be executed only when the given
338+
// `DecimalType` is not capable of the given `IntegralType`.
339339
case (t1: IntegralType, t2: DecimalType) =>
340340
compatibleType(DecimalType.forType(t1), t2)
341341
case (t1: DecimalType, t2: IntegralType) =>

0 commit comments

Comments
 (0)