[BUG] Copying a table with hyphens from the Show Databases flyover does not add backquotes
Opened this issue · 1 comments
engechas commented
What is the bug?
This bug is related to direct query.
The LogExplorer for data sources has an option to "View databases and tables". Clicking this button opens a flyover where the ..
can be copied. When the db has hyphens in the name, backquotes are added to make it valid SQL syntax.Example:
Database with name my-db
becomes <backquote>my-db<backquote>
(backquote = `)
The same behavior is not seen for tables with hyphens in the name
Example:
Table with name my-table
does not get backquotes added when copying
How can one reproduce the bug?
Steps to reproduce the behavior:
- Create a Glue table with hyphens in the name
- Go to the LogExplorer page for a data source
- Open the "View databases and tables" flyover
- Copy the ..
What is the expected behavior?
Table names with hyphens should be backquoted the same way database names with hyphens are
What is your host/environment?
- Version: 2.13
Do you have any additional context?
Add any other context about the problem.