You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are querying Steampipe via service mode (e.g. in your own data client, rather than interactively in the CLI) and try to use a relation in a schema that exists, you have to fully-qualify that relation with its schema name.
Expected outcome
If you have a schema called aws and have a table aws_iam_user in it, I should be able to query select * from aws_iam_user and the correct schema be found via the search path.
Actual outcome
select * from aws_iam_user gives this error:
ERROR: relation "aws_iam_user" does not exist
LINE 1: select * from aws_iam_user;
^
SQL state: 42P01
Character: 15
...instead you have to fully-qualify the table with its schema:
select * from aws.aws_iam_user;
Env
CLI: 0.2.0
OS: macOS Big Sur 11.2.1
Terminal: iTerm 3.4.4 / zsh
The text was updated successfully, but these errors were encountered:
MichaelBurgess
changed the title
Connections must be fully qualified with schema when running in service mode
Connections must be fully qualified with their schema when querying via service mode
Feb 22, 2021
Issue
If you are querying Steampipe via service mode (e.g. in your own data client, rather than interactively in the CLI) and try to use a relation in a schema that exists, you have to fully-qualify that relation with its schema name.
Expected outcome
If you have a schema called
aws
and have a tableaws_iam_user
in it, I should be able to queryselect * from aws_iam_user
and the correct schema be found via the search path.Actual outcome
select * from aws_iam_user
gives this error:...instead you have to fully-qualify the table with its schema:
select * from aws.aws_iam_user;
Env
CLI:
0.2.0
OS:
macOS Big Sur 11.2.1
Terminal:
iTerm 3.4.4
/zsh
The text was updated successfully, but these errors were encountered: