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

Any output format other than table does not display Time, Rows fetched and Hydrate calls information #2699

Closed
misraved opened this issue Nov 8, 2022 · 0 comments · Fixed by #2720
Assignees
Labels
bug Something isn't working

Comments

@misraved
Copy link
Contributor

misraved commented Nov 8, 2022

Describe the bug
Any output format other than table does not display Time, Rows fetched, and Hydrate calls information.

Steampipe version (steampipe -v)
Example: v0.17.0-rc.7

To reproduce

  1. Open a fresh terminal session
  2. set .output to one of json, csv or line
  3. Run a query and you will observe that Time, Rows fetched, and Hydrate calls information is not returned

Expected behavior
Every output format should display Time, Rows fetched, and Hydrate calls information.

Additional context
Sample output:

> select  title from aws_account
[
 {
  "title": "jon_doe-aaa"
 }
]
> .output csv
> select  title from aws_account
title
jon_doe-aaa
> .output line
> select  title from aws_account
-[ RECORD 1  ]---------------------------------------------------------------------------
title | jon_doej-aaa
> .output table
> select  title from aws_account
+------------+
| title      |
+------------+
| jon_doe-aaa |
+------------+

Time: 1.3s. Rows fetched: 1. Hydrate calls: 0.
@misraved misraved added the bug Something isn't working label Nov 8, 2022
kaidaguerre pushed a commit that referenced this issue Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants