You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now an expression idList[_] = x (assume x is unknown and idList = [1,2,3] ), OPA might generate 3 rules:
{ x = 1 }
{ x = 2 }
{ x = 3 }
We might want to look at if the new in operator can help to reduce the number of rules to one rule { x in [1,2,3] } (and we can handle in operator in our parser accordingly).
Simplify OPA Policy partial evaluation AST result
Right now an expression
idList[_] = x
(assumex
is unknown and idList = [1,2,3] ), OPA might generate 3 rules:We might want to look at if the new
in
operator can help to reduce the number of rules to one rule{ x in [1,2,3] }
(and we can handlein
operator in our parser accordingly).We can translate
in
operator intoin
SQL operator or elasticsearch terms queryRelevant:
The text was updated successfully, but these errors were encountered: