Skip to content
This repository has been archived by the owner on Jan 3, 2021. It is now read-only.

Schema names that are upper case do not work properly with autocompletion #52

Open
bradleyhurley opened this issue Mar 2, 2017 · 1 comment

Comments

@bradleyhurley
Copy link
Contributor

If I attempt to query a schema that is in the format NAME_ID the autocompletion returns the schema name in double quotes, but then fails to return any additional suggestions. If I query a schema name that only contains lower case letters the autocompletion works as expected.

SELECT * FROM "SCHEMA_NAME_000".

Log:

2017-03-02 12:17:07,666 (56424/MainThread) vcli.key_bindings DEBUG - Detected <Tab> key.
2017-03-02 12:17:07,670 (56424/Thread-104) vcli.vcompleter DEBUG - Suggestion type: 'table'
2017-03-02 12:17:07,671 (56424/Thread-104) vcli.vcompleter DEBUG - Suggestion type: 'view'
@bradleyhurley
Copy link
Contributor Author

I have a fix for this issue that I will open a PR for within the next couple of days.

The regex pattern just needs to be adjusted in the VCompleter class.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant