You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Some table names (especially for dynamic tables) need to be quoted because they contain characters that are not legal postgres identifiers. These appear in the autocomplete list , but they are not quoted when you select them so the auto-completed query does not actually work.
Steampipe version (steampipe -v)
All versions is assume, but definitely 0.18
To reproduce
You can reproduce this by adding a table name that requires quoting, then trying to use autocomplete. The CSV plugin is useful for testing this, as is will use the file name as the table name. Create a file like MyFile.csv, then use the autocomplete to create a query - the table name is not quoted:
> select * from MyFile
Error: relation "myfile" does not exist (SQLSTATE 42P01)
Expected behavior
table names that require quoting should be quoted when added by autocomplete
The text was updated successfully, but these errors were encountered:
Describe the bug
Some table names (especially for dynamic tables) need to be quoted because they contain characters that are not legal postgres identifiers. These appear in the autocomplete list , but they are not quoted when you select them so the auto-completed query does not actually work.
Steampipe version (
steampipe -v
)All versions is assume, but definitely 0.18
To reproduce
You can reproduce this by adding a table name that requires quoting, then trying to use autocomplete. The CSV plugin is useful for testing this, as is will use the file name as the table name. Create a file like
MyFile.csv
, then use the autocomplete to create a query - the table name is not quoted:Expected behavior
table names that require quoting should be quoted when added by autocomplete
The text was updated successfully, but these errors were encountered: