Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing Clickhouse query in extended view of SQL Editor is resetting the query #729

Closed
edin008 opened this issue Feb 23, 2024 · 1 comment
Labels
datasource/ClickHouse duplicate This issue or pull request already exists effort/none type/bug Something isn't working

Comments

@edin008
Copy link

edin008 commented Feb 23, 2024

What happened:
This only happens with Clickhouse data source while SQL Editor is extended.
Anything edited in extended view of SQL Editor will be resetted to the latest/default state of query.

What you expected to happen:
No problems with writing query in extended view (+ option).

How to reproduce it (as minimally and precisely as possible):

  1. Write simple query in non extended view (+ should be visible).
    image

  2. Extend the view (- should be visible) and make some changes to the query. Break some lines and add where clause.
    image
    Do some clicking around, run the query and some more clicking.
    After a very short time the query will reset to latest/default state of query that was in non extended view.
    image

Attaching GIF as well.
First there is query in non extended view (visible +).
Then I switch to extended view (visible -), problem of query resets is visible here.
Then I switch back to non extended view (visible +), no problems here.
Then I switch again back to extended view (visible -) and problem of query reset is visible again.

grafana_clickhouse_bug

Screenshots

Anything else we need to know?:

Environment:

  • Grafana version: Tested on 10.3.3, 10.2.4, 10.1.7
  • Plugin version: 4.0.2
  • OS Grafana is installed on: Debian
  • User OS & Browser: Windows, Chrome (Tested also on Firefox)
  • Others: /
@SpencerTorres
Copy link
Collaborator

Hello! Thank you for the detailed report.

This has been reported in #684 and fixed in #687, pending release

@SpencerTorres SpencerTorres added the duplicate This issue or pull request already exists label Feb 23, 2024
@github-project-automation github-project-automation bot moved this from Incoming to Done in Partner Datasources Feb 23, 2024
@taleena taleena closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasource/ClickHouse duplicate This issue or pull request already exists effort/none type/bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

4 participants