Flux is a lightweight scripting language for querying databases (like InfluxDB) and working with data. It's part of InfluxDB 1.7 and 2.0, but can be run independently of those.
The interpreter should decide to delegate the execution to the Executor when it is the proper moment, not only after interpreting the whole query. tableFind can trigger execution, for example.
One way to do this is to make the interpreter pass the Executor to it (this could require a change to values.Function interface). But there could be other ways to do this.
This issue includes the refactoring of tableFind to match the new design.
This issue is considered done when tableFind works.
Parent issue #1499
The interpreter should decide to delegate the execution to the
Executor
when it is the proper moment, not only after interpreting the whole query.tableFind
can trigger execution, for example.One way to do this is to make the interpreter pass the
Executor
to it (this could require a change tovalues.Function
interface). But there could be other ways to do this.This issue includes the refactoring of
tableFind
to match the new design.This issue is considered done when
tableFind
works.