What happened:
Whenever I add an ad-hoc filter for a panel, the plugin makes a request SELECT name, type, table FROM system.columns, which adds a few sec. delay.
What you expected to happen:
Do not fetch definitions again, if the plugin already has the necessary data.
How to reproduce it (as minimally and precisely as possible):
- Crete a panel
- add an ad-hoc filter variable
- add a filter
- add another filter
Screenshots

Environment:
- Grafana version: main branch
- Plugin version: v3.1.0
What happened:
Whenever I add an ad-hoc filter for a panel, the plugin makes a request
SELECT name, type, table FROM system.columns, which adds a few sec. delay.What you expected to happen:
Do not fetch definitions again, if the plugin already has the necessary data.
How to reproduce it (as minimally and precisely as possible):
Screenshots

Environment: