On Fri, Jan 22, 2021 at 08:46:47PM +0800, Wu Fengguang wrote:
Please add comment why it's special treated.
ok
message => .message
ok
Please also support .log
ok
Thanks, Weitao
- if k.end_with?('message')
- result[k] = v
- next
- end
- # only number is valid unless v.numeric? invalid_records.push record_index
@@ -84,6 +90,8 @@ min_cols_stat = '' max_cols_stat = '' zero_stats = [] result.each do |key, val|
- next if val.is_a?(String)
- if max_cols < val.size max_cols = val.size max_cols_stat = key
-- 2.23.0