-
Notifications
You must be signed in to change notification settings - Fork 52
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
"select distinct arn ..." (and similar) should be "select distinct on (arn) arn ..." #493
Labels
bug
Something isn't working
help wanted
We are asking the community to submit a PR to resolve this issue
Comments
e-gineer
added
bug
Something isn't working
help wanted
We are asking the community to submit a PR to resolve this issue
labels
Aug 26, 2022
1 task
'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
added
the
stale
No recent activity has been detected on this issue/PR and it will be closed
label
Dec 14, 2022
'This issue was closed because it has been stalled for 90 days with no activity.' |
github-actions
bot
removed
the
stale
No recent activity has been detected on this issue/PR and it will be closed
label
Jan 15, 2023
'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
added
the
stale
No recent activity has been detected on this issue/PR and it will be closed
label
Apr 24, 2023
cbruno10
removed
the
stale
No recent activity has been detected on this issue/PR and it will be closed
label
Apr 25, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
help wanted
We are asking the community to submit a PR to resolve this issue
Many queries in this mod use distinct to prevent duplicates. For example:
steampipe-mod-aws-compliance/query/vpc/vpc_flow_logs_enabled.sql
Lines 1 to 3 in 56d5f70
Distinct checks all elements in the tuple (row), as opposed to ensuring the specific
arn
orname
(common ones) is actually distinct.So, queries like this:
should actually be:
A an example to see the difference, please try these two queries:
The text was updated successfully, but these errors were encountered: