is there a way to represent an array literal in pi...
# troubleshooting
e
is there a way to represent an array literal in pinot sql? I tried
ARRAY[1,2,3]
in a filter and a select and it didn't work.
x
Hmm, do you want exact match of 1,2,3?
e
sure
is there a way to also get array contains?
but exact match also
x
for array contains, you can do col IN (1,2,3). This will match the row contains either 1 or 2 or 3.
πŸ’‘ 1
You van do col=1 and col=2 and col =3 to ensure the row has all 1,2,3 matches
But it will also match 1,2,3,4,5
πŸ‘ 1
e
is there a way to represent an array literal ?
in filter or select?
x
I don’t think we have that right now
πŸ‘ 1
e
ok, thanks! good to know, I'll stop playing around with that then:)
πŸ‘ 1