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

Item names including a Dollar-sign are modified by datasource plugin #109

Open
1 task done
jbsgh opened this issue Jul 4, 2024 · 0 comments
Open
1 task done

Item names including a Dollar-sign are modified by datasource plugin #109

jbsgh opened this issue Jul 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jbsgh
Copy link

jbsgh commented Jul 4, 2024

To reproduce

Using item names including a Dollar sign (e. g. "my$item") are modified by the datasource plugin

Steps to reproduce:

  1. Switch to SQL Editor
  2. Enter simple SQL statement: SELECT time,my$item FROM "my_table"; (this query shouldn't be too complex to convert)
  3. Switch to Query Builder; Confirm warning

Observations:

  1. The query is of type "Time series"
  2. The SQL preview contains SELECT time as time FROM "my_table" WHERE $__timeFilter(time) SAMPLE BY $__sampleByInterval LIMIT 100. my$item is missing

Steps to reproduce:
4. Switch to Query Type "Table"

Observations:
3. The field "time" is missing now
4. The listbox "Fields" contains myf9qx7sitem instead of my$item
5. The SQL Preview contains SELECT myf9qx7sitem FROM "my_table" LIMIT 100
6. The Dollar sign of field "my$item" has been replaced with a random string like "f9qx7s"

QuestDB version:

8.0.1

Grafana version:

11.1.0

Plugin version:

0.13.0

OS, in case of Docker specify Docker and the Host OS:

Debian 12

Full Name:

Jan Bartels

Affiliation:

Siempelkamp

Have you followed Linux, MacOs kernel configuration steps to increase Maximum open files and Maximum virtual memory areas limit?

  • Yes, I have

Additional context

No response

@jbsgh jbsgh added the bug Something isn't working label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant