Closed jy4096 closed 3 years ago
go-druid generates limitSpec
"limitSpec": { "Typ": "default", "columns": [ { "string": "d1", "Direction": "descending", "dimensionComparator": "numeric" } ], "limit": 3 }
Where Typ => type string => dimension Direction => direction and dimensionComparator should be dimensionOrder https://druid.apache.org/docs/latest/querying/limitspec.html#defaultlimitspec https://druid.apache.org/docs/latest/querying/limitspec.html#orderbycolumnspec
Typ
type
string
dimension
Direction
direction
dimensionComparator
dimensionOrder
https://github.com/grafadruid/go-druid/pull/53
go-druid generates limitSpec
Where
Typ
=>type
string
=>dimension
Direction
=>direction
anddimensionComparator
should bedimensionOrder
https://druid.apache.org/docs/latest/querying/limitspec.html#defaultlimitspec https://druid.apache.org/docs/latest/querying/limitspec.html#orderbycolumnspec