Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We propose to add the following Thrift struct to transport column statistics,

struct ColumnStatistics

({1: string tableName,
2: string colName,
3: string dbName,
4: string partName,
5: i64 lowValue,
6: i64 highValue,
7: i64 numNulls,
8: i64 numDVs,
9: double avgColLen,
10: i64 maxColLen,
11: i64 numTrues,
12: i64 numFalses,
13: i64 lastAnalyzed,
14: string histogram,
15: bool isTblLevel )}

Field histogram in the above thrift struct takes values of “NONE” or “HEIGHT-BALANCED”.

...