dbcli / dbcli/mssql-cli

Display full statistics time output

Open
#249 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
1.4k
Forks
191
PR merge metrics
No merged PRs in 30d

Description

Given the following statements:

```
SET STATISTICS TIME ON;

SELECT TOP 1 name FROM master.sys.columns;
```

Two statistics time messages are output in SSMS: One for "parse and compile" time and one for "execution time". mssql-cli only outputs "parse and compile" time. Both messages should instead be returned.

I'm on version 0.15.0.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in mssql-cli with SET STATISTICS TIME ON and the shown SELECT, then compare its output with SSMS. Trace how the CLI receives and formats statistics-time messages; done means both the parse-and-compile and execution-time messages are returned.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sql
Domain
cli, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.