deniskuzZ commented on code in PR #6208:
URL: https://github.com/apache/hive/pull/6208#discussion_r2613452855
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/StatObjectConverter.java:
##########
@@ -680,7 +680,15 @@ public static byte[] getHistogram(byte[] bytes) {
return bytes;
}
- // JAVA
+ public static void fillColumnStatisticsData(String colType,
ColumnStatisticsData data,
+ Object lowValue, Object highValue, Object nulls, Object dist, Object
bitVector,
+ Object histogram, Object avglen, Object maxlen, Object trues, Object
falses) throws MetaException {
+ String decLowStr = lowValue != null ? lowValue.toString() : null;
+ String decHighStr = highValue != null ? highValue.toString() : null;
Review Comment:
minor: could be simplified: Objects.toString(highValue, null)
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]