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

Edit Data render the result grid incorrectly when using custom query (Show SQL Pane) #9145

Closed
danielsbarros opened this issue Feb 14, 2020 · 2 comments · Fixed by #9160
Closed

Comments

@danielsbarros
Copy link

  • Azure Data Studio Version:
    Version: 1.15.0
    Commit: e57eb99
    Date: 2020-02-12T20:47:11.037Z
    VS Code: 1.42.0
    Electron: 6.1.6
    Chrome: 76.0.3809.146
    Node.js: 12.4.0
    V8: 7.6.303.31-electron.0
    OS: Darwin x64 19.3.0

Steps to Reproduce:
1 - Connect to SQL Server instance
2 - R-click on a table -> Edit Data
3 - Click Show SQL Pane
4 - Comment or delete some columns from the query
5 - Run

Expected: The grid to show only data from the columns mentioned.
Actual: The header of the grid renders all the columns from the table, but the data respects the query. This way, the data do not correspond to the columns.

Showing default query, with all columns:
Captura de Tela 2020-02-13 às 22 27 50

When commenting two columns, the number of columns rendered are incorrect, and the data on incorrect columns.
Captura de Tela 2020-02-13 às 22 33 10

@Charles-Gagnon
Copy link
Contributor

@smartguest Could you look into this? I verified the issue - although it does look like switching to another tab and back redraws it correctly.

@Charles-Gagnon
Copy link
Contributor

Moving into February Recovery milestone for hotfix consideration.

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

Successfully merging a pull request may close this issue.

5 participants