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

updating trends sql to use account_map #1146

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oladuni-aws
Copy link

Issue #, if available:

Description of changes:
replaced the reliance on aws_accounts and payer_account_name_map with account_map.
the goal should be just to update the script and not require extra steps to edit the quicksight dataset.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@@ -19,15 +19,10 @@ WITH
SELECT
"account_name"
, "account_id"
, "parent_account_name" "payer_account_name"
, "parent_account_id"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

account_map does not have to contain parent_account_id or parent_account_name

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and this query will break in this case

@iakov-aws iakov-aws marked this pull request as draft April 2, 2025 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants