sujith71955 commented on a change in pull request #23899:
[SPARK-26969][spark-thriftserver] Bigdecimal values shall be converted to
HiveDecimal type for succesful processing of query using ODBC interface
URL: https://github.com/apache/spark/pull/23899#discussion_r311953571
##########
File path:
sql/hive-thriftserver/v1.2.1/src/main/java/org/apache/hive/service/cli/ColumnValue.java
##########
@@ -195,7 +195,7 @@ public static TColumnValue toTColumnValue(Type type,
Object value) {
case INTERVAL_DAY_TIME_TYPE:
return stringValue((HiveIntervalDayTime) value);
case DECIMAL_TYPE:
- return stringValue(((HiveDecimal)value));
+ return getDecimalType(value);
Review comment:
k will update just need one clarification 'toPlainString()' conversion
takes care necessariy normalizations as all? because create function does that

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]