steampipe-postgres-fdw icon indicating copy to clipboard operation
steampipe-postgres-fdw copied to clipboard

`List` call for tables with required quals fails if used with `Left Join`

Open Subhajit97 opened this issue 3 years ago • 1 comments

We have table net_dns_record where domain is required to perform the LIST operation. We have a use case where we have a CSV file (domains.csv) containing a list of domains, and we will use these domains to query the net_dns_record table.

domains.csv

domain
steampipe.io

Query:

select
    Q.domain,
    N.value
from
    domains Q
left join
    net_dns_record N
    on N.domain = concat('_dmarc.', Q.domain) 
    and N.type = 'TXT'

When executing the above query, getting below error

Error: rpc error: code = Internal desc = 'List' call for table 'net_dns_record' is missing 1 required qual: column:'domain' operator: =
 (SQLSTATE HV000)

Subhajit97 avatar Jul 26 '22 16:07 Subhajit97

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar May 01 '25 08:05 github-actions[bot]

This issue was closed because it has been stalled for 90 days with no activity.

github-actions[bot] avatar Jun 01 '25 08:06 github-actions[bot]