influxdata / flux

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.
https://influxdata.com
MIT License
767 stars 153 forks source link

Implement new delegation pattern between Interpreter and Executor #1504

Closed affo closed 2 months ago

affo commented 5 years ago

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 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.

github-actions[bot] commented 3 months ago

This issue has had no recent activity and will be closed soon.