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

DESC TABLE expression not work when table name contains dot #232

Closed
chenlujjj opened this issue Nov 1, 2022 · 3 comments · Fixed by #298
Closed

DESC TABLE expression not work when table name contains dot #232

chenlujjj opened this issue Nov 1, 2022 · 3 comments · Fixed by #298
Assignees

Comments

@chenlujjj
Copy link

Describe the bug
When table name contains dot symbol, the DESC TABLE expression does not work

Versions
Grafana and Plugin versions.
grafana: 9.1.7
plugin: 2.0.2

Query
DESC TABLE db.a.b

table name is a.b

@chenlujjj
Copy link
Author

I have fixed this locally

@gingerwizard
Copy link
Collaborator

try in backticks around the table name? e.g.

DESC TABLE `db.a.b`

If not, can you raise a PR or suggest changes? @chenlujjj

@chenlujjj
Copy link
Author

My solution is:

DESC TABLE db.`a.b`

See this commit: chenlujjj@c82391a

But it contains some inrelevant changes. Maybe I can checkout another branch and make a clean PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

6 participants