cloudfuse-io / buzz-rust

Serverless query engine
MIT License
140 stars 11 forks source link

Possible name conflict in query context #13

Closed rdettai closed 3 years ago

rdettai commented 3 years ago

To parse SQL queries with DataFusion, the data table needs to first to be registered to the ExecutionContext so that the right TableProvider can be added to the logical plan.

Currently, in HBees and HCombs, a single ExecutionContext is used across queries. This can be problematic, especially in HCombs where multiple queries with the same table names might come in simultaneously.

rdettai commented 3 years ago

https://github.com/cloudfuse-io/buzz-rust/commit/8a49e6002a29a952298656f66efc71be753fd570