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

Steampipe CLI remains in Loading results state when executing queries involving the Get API call #382

Closed
misraved opened this issue Aug 18, 2022 · 1 comment · Fixed by #384
Assignees
Labels
bug Something isn't working

Comments

@misraved
Copy link
Contributor

misraved commented Aug 18, 2022

Steampipe plugin SDK version: v4.0.1
Steampipe CLI version: v0.16.0-rc.11

The get API calls do not seem to work with the latest SDK version (v4.0.1).

When I execute the following query the CLI seems to be getting stuck at the loading results phase -
select * from aws_ec2_instance where instance_id = 'i-0237b7320d201234'
After pressing Ctrl+C I get an Error: execution cancelled which is expected. When I execute the query once again the results are rendered correctly (however intermittently).

AWS plugin branch: sdk_v4

@misraved misraved added the bug Something isn't working label Aug 18, 2022
@cbruno10
Copy link
Contributor

I've observed the same behaviour with Steampipe SDK v4.0.1 and Steampipe CLI v0.17.0-alpha.6 and v0.16.0-alpha.11 in the AWS and GitHub plugins. In particular, any time key columns are passed in such that a GetConfig would be called, the query hangs and never finishes or returns successful results.

For instance, the following queries did not succeed for me:

  • select * from aws_ec2_instance where instance_id = 'i-0e3103bcdfe5b3246';
  • select instance_id, image_id from aws_ec2_instance where instance_id = 'i-0e3103bcdfe5b3246';
  • select * from github_team where organization = 'turbot' and slug = 'test-team';

Notably though, queries without any quals, and queries calling a ListConfig with or without key columns all succeeded.

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
Development

Successfully merging a pull request may close this issue.

3 participants