We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 184c594 commit 0db7ce8Copy full SHA for 0db7ce8
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala
@@ -417,6 +417,9 @@ object HiveContext {
417
case (decimal: Decimal, DecimalType()) => // Hive strips trailing zeros so use its toString
418
HiveShim.createDecimal(decimal.toBigDecimal.underlying()).toString
419
case (other, tpe) if primitiveTypes contains tpe => other.toString
420
+ case (a, b) => println(a.getClass); println(b.getClass);
421
+ println(a.toString + " " + b.toString);
422
+ a.toString + " " + b.toString;
423
}
424
425
/** Hive outputs fields of structs slightly differently than top level attributes. */
0 commit comments