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

Output for query in --snapshot mode contains duplicate rows #3112

Closed
binaek opened this issue Feb 15, 2023 · 1 comment · Fixed by #3113
Closed

Output for query in --snapshot mode contains duplicate rows #3112

binaek opened this issue Feb 15, 2023 · 1 comment · Fixed by #3113
Assignees
Labels
bug Something isn't working

Comments

@binaek
Copy link
Contributor

binaek commented Feb 15, 2023

Running a query in snapshot mode creates the correct snapshot and uploads to the cloud, but displays a wrong output.

Incorrect output result(duplicate rows):

steampipe query query.static_query_2 --snapshot
+--------+----------+--------+
| status | resource | reason |
+--------+----------+--------+
| ok     | 1        | ok     |
| ok     | 3        | ok     |
| ok     | 3        | ok     |
| error  | 5        | error  |
| error  | 5        | error  |
| info   | 7        | info   |
| info   | 7        | info   |
| ok     | 9        | ok     |
| ok     | 9        | ok     |
| skip   | 11       | skip   |
| skip   | 11       | skip   |
| alarm  | 12       | alarm  |
+--------+----------+--------+

Snapshot uploaded to xxxx

Snapshot:
Screenshot 2023-02-15 at 2 55 36 PM

@binaek binaek added the bug Something isn't working label Feb 15, 2023
@pskrbasu
Copy link
Contributor

Fixed in v0.18.6

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