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

fix mssql autocomplete #2045

Merged
merged 1 commit into from Mar 25, 2024
Merged

fix mssql autocomplete #2045

merged 1 commit into from Mar 25, 2024

Conversation

azmy60
Copy link
Contributor

@azmy60 azmy60 commented Mar 25, 2024

Also another autocomplete fix for SQL Server, that should be put together with #2044 but I'm not sure if this would cause regressions or not, so here's a separate PR.

This should fix #1985 and it's a bug that has been happening from all the way back to bks version 3.4.1, or even way before it.

So what happens is that the dialect we use for SQL Server text/x-mssql in codemirror kind of mess up with the getToken() method. Instead of returning .columnName, it returns columnName without dot.

Changing it to text/x-sql should work but I'm not sure if it can cause regressions yet.

@rathboma
Copy link
Collaborator

Should be fine.

@azmy60 azmy60 marked this pull request as ready for review March 25, 2024 15:50
@azmy60 azmy60 merged commit edc3cb1 into master Mar 25, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: column name drop down do not show while writing query in sql
2 participants