Skip to content

Impossible to query collections with hyphen in name #18

@jonas-maertens-c24

Description

@jonas-maertens-c24

Hi,

I noticed SQL queries (in Superset) with a hyphen in the collection name fail as I could not find a way to escape the hyphen.

SELECT * FROM collection-name LIMIT 100

returns

Error parsing near '-' at line 1:19

The same happens when wrapping the collection name in "`". When wrapping in double quotes ("), no data is returned.

A workaround is of course to create a view without the hyphen in the name for every affected collection, but it would be nice to have a way to use these collections directly.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions