Closed gitfortian closed 1 year ago
My idea is:
--partition-keys dt,hr
--computed-column dt=date(ts)
--computed-column hr=hour(ts)
ts
is exsiting column, we can specify that dt
is day of ts and hr
is hour of ts.
ComputedColumn
: store column's name, type, argument column names, and aColumnValueComputer
to compute value from given argument.interface ColumnValueComputer
: has a method Object computeValue(Object... input)
to compute value. We can implement several concrete computers.
ComputedColumn
s to EventParser
. Every time extractRow
is invoked, generate computed column values.Solved by #1109. If we need more processing functions, we can create other issues.
Search before asking
Motivation