datafusion-contrib / datafusion-federation

Allow DataFusion to resolve queries across remote query engines while pushing down as much compute as possible down.
Apache License 2.0
78 stars 18 forks source link

feat: support prepared statement parameters #81

Open nathanielc opened 6 days ago

nathanielc commented 6 days ago

This adds support for prepared statement parameters. Parameters will be parsed from the SQL query and can be supplied using do_put_prepared_statement_query providing a record batch with a single row and a column for each parameter.

The QueryHandler is updated to contain the encoded parameters as a record batch.