tuor713 / trino-kdb

Trino plugin for kdb+
Apache License 2.0
3 stars 2 forks source link

Support session-level overrides for configuration #5

Closed tuor713 closed 2 years ago

tuor713 commented 3 years ago

ConnectorSession appears to have the ability to retrieve properties from the session.

The use case would for example be to disable push down aggregation selectively for a query where it yields an incorrect or inefficient query plan.

So something like SET SESSION push.down.aggregation = false; would disable aggregation in the user's session.