Evan Galpin
03/02/2023, 7:55 PMMayank
Evan Galpin
03/02/2023, 8:04 PMEvan Galpin
03/02/2023, 10:57 PMtoMVtimeBucket(mySVstartTimeEpochMs, mySVendTimeEpochMs, ‘1:HOUR’) which would produce an MV-style result, 1 result for every docId/timeBucket pair where the time buckets are generated from the number of 1-hour intervals occurring between the 2 input columnsKishore G
Evan Galpin
03/03/2023, 3:25 AM_id: 1 and _mv: [“a”, “b”, “c”], I can run a query like this and get 3 rows returned:
SELECT _id, _mv, count(*) where _id=1 group by _id, _mv
I’ll get a result table like:
_id _mv count(*)
1 a 1
1 b 1
1 c 1
It seems technically feasible to have a transform function that maps from SV to MV, or rather having an array output for every scalar input.
I’ll play around a bit