New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Expressions] var_set should be allowed to set multiple variables in parallel #69316
Comments
Pinging @elastic/kibana-app-arch (Team:AppArch) |
as var_set just passes the context thru i don't think thats a requirement, you can do:
but i agree that this should not be hard to add |
@ppisljar But wouldn't the first |
even with multiset i am not sure they would run in parallel, as the function (var_set in this case) does not get expression strings passed in but those expressions already evaluated. It depends how exactly interpreter does that argument resolution, but you are right it should at least be possible to make it work in parallel. |
It might be possible to not evaluate the |
Based on the approach described in #68457 where we want to set variables to contain the results of
esaggs
, it is important to run the data fetching in parallel. Therefore we need to be able to set multiple variables, for example:var_set name="table1" value={esaggs ...} name="table2" value={esaggs ...}
I think this is a small change to the
var_set
code, by changing bothname
andvalue
to be multi-value instead of single-value.@ppisljar @streamich @flash1293
The text was updated successfully, but these errors were encountered: