Skip to content

Problem with github_team_member #323

Closed as not planned
Closed as not planned
@ghost

Description

Describe the bug
It is not possible to provide a set instead of a single value for the organization field when querying the github_team_member table.
This is supported for the slug field though.

Steampipe version (steampipe -v)
version 0.16.3

Plugin version (steampipe plugin list)
| hub.steampipe.io/plugins/turbot/github@latest | 0.22.0 | github |

To reproduce
Query:

> select 
    login
  from 
    github_team_member 
  where 
    organization IN (select login from github_my_organization)
    AND slug IN ('team-A', 'team-B')
Error: rpc error: code = Internal desc = 'List' call for table 'github_team_member' is missing 1 required qual: column:'organization' operator: =
 (SQLSTATE HV000)

Expected behavior
Support both = and in for the organization field.

Additional context
There is 1 organization in my github_my_organization.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstale

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions