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

[Rich Experience] Message pane empty after running command #18447

Closed
EdCallahan opened this issue Nov 21, 2024 · 3 comments · Fixed by #18483
Closed

[Rich Experience] Message pane empty after running command #18447

EdCallahan opened this issue Nov 21, 2024 · 3 comments · Fixed by #18483
Assignees
Labels
Bug Pri: 0 Priority 0 Triage: Done User-filed Filed by a public user

Comments

@EdCallahan
Copy link

EdCallahan commented Nov 21, 2024

  • MSSQL Extension Version: 1.26.0
  • VSCode Version: 1.95.3
  • OS Version: Win11

Steps to Reproduce:

  1. Close any open Query Results (Preview) panes
  2. Run a command such as USE MASTER or an ALTER SCHEMA. Message pane is not populated with messages
  3. Run a SELECT. Now Message pane contains messages
  4. At this point, USE MASTER or ALTER SCHEMA, etc, generate messages on the Message pane

Thanks for your work on this project, VSCode is a nice place to so SQL work.

empty.message.page.mp4
@Fred-Wu
Copy link

Fred-Wu commented Nov 22, 2024

I was about to report the same.

If enableNewQueryResultFeature is set as true, it shows nothing even when a query is being executed.
It should behaviour like the old one, telling you

Image

Also for an empty table gets queried and written to a temporary table, the message pane also shows nothing, which could not tell what's wrong with the table in the first place.

@caohai
Copy link
Member

caohai commented Nov 22, 2024

@EdCallahan @Fred-Wu Thanks for reporting the bug. I can confirm the repro. I'll take a look at the issue.

for an empty table gets queried and written to a temporary table

@Fred-Wu
Are you talking about something like this with source table being an empty table?

SELECT *  
INTO #TempDestinationTable
FROM Source_Table
WHERE ...

@caohai caohai added this to the December Release 2024 milestone Nov 22, 2024
@Fred-Wu
Copy link

Fred-Wu commented Nov 23, 2024

@EdCallahan @Fred-Wu Thanks for reporting the bug. I can confirm the repro. I'll take a look at the issue.

for an empty table gets queried and written to a temporary table

@Fred-Wu Are you talking about something like this with source table being an empty table?

SELECT *  
INTO #TempDestinationTable
FROM Source_Table
WHERE ...

Yes. In the old interface, the message would show how many rows affected. But nothing appears in the new interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Pri: 0 Priority 0 Triage: Done User-filed Filed by a public user
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants