File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ object HiveTypeCoercion {
7373 DoubleType )
7474
7575 /**
76+ * Case 1 type widening (see the classdoc comment above for HiveTypeCoercion).
77+ *
7678 * Find the tightest common type of two types that might be used in a binary expression.
7779 * This handles all numeric types except fixed-precision decimals interacting with each other or
7880 * with primitive types, because in that case the precision and scale of the result depends on
@@ -129,7 +131,7 @@ object HiveTypeCoercion {
129131 }
130132
131133 /**
132- * Case 2 type widening (see the classdoc comment above for HiveTypeCoercion.
134+ * Case 2 type widening (see the classdoc comment above for HiveTypeCoercion) .
133135 *
134136 * i.e. the main difference with [[findTightestCommonTypeOfTwo ]] is that here we allow some
135137 * loss of precision when widening decimal and double.
You can’t perform that action at this time.
0 commit comments