Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit 6a97e8e

Browse files
Fokko DriesprongHyukjinKwon
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 apache#21597 from Fokko/fd-typo.
1 parent 1c9acc2 commit 6a97e8e

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)