Skip to content

Commit 0f534d3

Browse files
Fokko DriesprongHyukjinKwon
Fokko Driesprong
authored andcommitted
[SPARK-24603][SQL] Fix findTightestCommonType reference in comments
findTightestCommonTypeOfTwo has been renamed to findTightestCommonType ## What changes were proposed in this pull request? (Please fill in changes proposed in this fix) ## How was this patch tested? (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests) (If this patch involves UI changes, please attach a screenshot; otherwise, remove this) Please review http://spark.apache.org/contributing.html before opening a pull request. Author: Fokko Driesprong <fokkodriesprong@godatadriven.com> Closes #21597 from Fokko/fd-typo. (cherry picked from commit 6a97e8e) Signed-off-by: hyukjinkwon <gurwls223@apache.org>
1 parent 6e1f5e0 commit 0f534d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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
@@ -329,8 +329,8 @@ private[sql] object JsonInferSchema {
329329
ArrayType(compatibleType(elementType1, elementType2), containsNull1 || containsNull2)
330330

331331
// The case that given `DecimalType` is capable of given `IntegralType` is handled in
332-
// `findTightestCommonTypeOfTwo`. Both cases below will be executed only when
333-
// the given `DecimalType` is not capable of the given `IntegralType`.
332+
// `findTightestCommonType`. Both cases below will be executed only when the given
333+
// `DecimalType` is not capable of the given `IntegralType`.
334334
case (t1: IntegralType, t2: DecimalType) =>
335335
compatibleType(DecimalType.forType(t1), t2)
336336
case (t1: DecimalType, t2: IntegralType) =>

0 commit comments

Comments
 (0)