featurebase/pql
rachithrr 3e42fc7d9f
WIP: Sort extract columns by a field (#2193)
* FB-1251: Add ability to sort Extract queries by some field

There is a sort call which takes a row call and the field, and
based on the field type, the corresponding rows are read. both key and
value are stored in RowKV{}. The value is stored since its required to
merge data from shards. values are sorted in each shard and these sorted
listes are merged in the reduce.
sort-desc flag is sent to comparator to decide the sorting order. ok
flag is added to the compare function to track any error in the
sort.Slice anonymous function
Sorting over set field was removed, since there would be multiple values
for each ids and there would be no right sorting order there.
2022-08-19 13:29:17 -05:00
..
ast.go WIP: Sort extract columns by a field (#2193) 2022-08-19 13:29:17 -05:00
ast_test.go Revert "FB-1491: Revert pql.Decimal commit for the 4.8.5 release (#2117)" 2022-06-17 14:58:30 -05:00
decimal.go make Decimal proto definition backwards compatible 2022-06-17 14:58:30 -05:00
decimal_internal_test.go make Decimal proto definition backwards compatible 2022-06-17 14:58:30 -05:00
decimal_test.go Revert "FB-1491: Revert pql.Decimal commit for the 4.8.5 release (#2117)" 2022-06-17 14:58:30 -05:00
doc.go add copyright notice back in 2021-12-10 11:01:04 -06:00
parser.go catch the panic we throw for an invalid timestamp 2022-02-22 16:20:09 -06:00
parser_test.go Revert "FB-1491: Revert pql.Decimal commit for the 4.8.5 release (#2117)" 2022-06-17 14:58:30 -05:00
pql.peg messing with parser, Rows call 2022-02-07 16:21:35 -06:00
pql.peg.go messing with parser, Rows call 2022-02-07 16:21:35 -06:00
pqlpeg_test.go Parse variables for _field 2022-02-07 15:40:24 -07:00
token.go add copyright notice back in 2021-12-10 11:01:04 -06:00