Github user wgtmac commented on a diff in the pull request:
https://github.com/apache/orc/pull/245#discussion_r180959510
--- Diff: site/_docs/file-tail.md ---
@@ -249,12 +249,26 @@ For booleans, the statistics include the count of
false and true values.
}
```
-For decimals, the minimum, maximum, and sum are stored.
+For decimals, the minimum, maximum, and sum are stored. In ORC 2.0,
+string represetion is deprecated and DecimalStatistics uses integers
+which have better performance.
```message DecimalStatistics {
optional string minimum = 1;
optional string maximum = 2;
optional string sum = 3;
+ // for precision <= 18
+ optional sint64 minimum64 = 4;
+ optional sint64 maximum64 = 5;
+ optional sint64 sum64 = 6;
--- End diff --
Make sense, will combine them as sum128.
---