Fork me on GitHub
#xtdb
<
2021-04-26
>
craftybones13:04:38

@taylor.jeremydavid - if I want duplicates from a result, then is there a way to coerce the query to give me a vector instead of a set?

refset13:04:31

:limit is actually the easiest way to get that, I think. Just set it to Long/MAX_VALUE 🙂 You could also use open-q which returns duplicates. A custom aggregate could probably work too, but may be more painful to maintain over the long term

craftybones13:04:59

I can use :limit but I effectively want the whole result with the duplicates.

craftybones13:04:25

Maybe I can just write a custom aggregate?