Skip to content

Commit 0db7ce8

Browse files
committed
adding debug info
1 parent 184c594 commit 0db7ce8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,9 @@ object HiveContext {
417417
case (decimal: Decimal, DecimalType()) => // Hive strips trailing zeros so use its toString
418418
HiveShim.createDecimal(decimal.toBigDecimal.underlying()).toString
419419
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;
420423
}
421424

422425
/** Hive outputs fields of structs slightly differently than top level attributes. */

0 commit comments

Comments
 (0)