I need to create a partial index from two parts where the 1st field is an integer and 2nd field is an array.
Then I'll need to select all tuples where the value of the tuple for 1st key is equal and the value of 2nd key is contained in an array.
I.e
box.space.test:select()
[..., 1, [1, 2, 3]]
[..., 1, [3, 4, 5]]
[..., 2, [3, 7, 9]]
box.space.test.index.test:select({1, 3})
[..., 1, [1, 2, 3]]
[..., 1, [3, 4, 5]]
Can it be done using Tarantool?