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

refactor: now that nested arrays expand #683

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions data/environments/prod.meltano.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,6 @@ environments:
user: MELTANO
role: REPORTER
warehouse: REPORTER
- name: tap-snowflake-metrics-legacy
config:
tables:
- MELTANO_HUB.FACT_HUB_METRICS
- name: tap-snowflake-metrics
config:
tables:
- MELTANO_HUB.FACT_VARIANT_HUB_METRICS
- name: tap-snowflake-audit
config:
tables:
- MELTANO_HUB.HUB_METRICS_AUDIT
- name: tap-snowflake-singer-activity
config:
tables:
- SLACK_NOTIFICATIONS.SINGER_ACTIVITY_NOTIFICATIONS
- name: tap-snowflake-meltano-activity
config:
tables:
- SLACK_NOTIFICATIONS.MELTANO_ACTIVITY_NOTIFICATIONS
- name: tap-snowflake-hubspot-companies
config:
tables:
Expand Down
16 changes: 0 additions & 16 deletions data/environments/staging.meltano.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,6 @@ environments:
user: STAGING
role: STAGING
warehouse: STAGING
- name: tap-snowflake-metrics
config:
tables:
- MELTANO_HUB.FACT_VARIANT_HUB_METRICS
- name: tap-snowflake-audit
config:
tables:
- MELTANO_HUB.HUB_METRICS_AUDIT
- name: tap-snowflake-singer-activity
config:
tables:
- SLACK_NOTIFICATIONS.SINGER_ACTIVITY_NOTIFICATIONS
- name: tap-snowflake-meltano-activity
config:
tables:
- SLACK_NOTIFICATIONS.MELTANO_ACTIVITY_NOTIFICATIONS
loaders:
- name: target-snowflake
config:
Expand Down
11 changes: 5 additions & 6 deletions data/environments/userdev.meltano.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,26 @@ environments:
user: ${USER_PREFIX}
role: ${USER_PREFIX}
warehouse: CORE
# https://github.com/meltano/meltano/issues/3171 is blocking templating from working so I had to hardcode the user prefix
- name: tap-snowflake-metrics
config:
tables:
- PNADOLNY_MELTANO_HUB.FACT_VARIANT_HUB_METRICS
- ${USER_PREFIX}_MELTANO_HUB.FACT_VARIANT_HUB_METRICS
- name: tap-snowflake-audit
config:
tables:
- PNADOLNY_MELTANO_HUB.HUB_METRICS_AUDIT
- ${USER_PREFIX}_MELTANO_HUB.HUB_METRICS_AUDIT
- name: tap-snowflake-singer-activity
config:
tables:
- PNADOLNY_SLACK_NOTIFICATIONS.SINGER_ACTIVITY_NOTIFICATIONS
- ${USER_PREFIX}_SLACK_NOTIFICATIONS.SINGER_ACTIVITY_NOTIFICATIONS
- name: tap-snowflake-meltano-activity
config:
tables:
- PNADOLNY_SLACK_NOTIFICATIONS.MELTANO_ACTIVITY_NOTIFICATIONS
- ${USER_PREFIX}_SLACK_NOTIFICATIONS.MELTANO_ACTIVITY_NOTIFICATIONS
- name: tap-snowflake-hubspot-companies
config:
tables:
- PNADOLNY_HUBSPOT.ORG_ACTIVITY
- ${USER_PREFIX}_HUBSPOT.ORG_ACTIVITY
stream_maps:
pnadolny_hubspot-org_activity:
org_first_active_date: str(record.get('org_first_active_date')[:10])
Expand Down
11 changes: 11 additions & 0 deletions data/extract/extractors.meltano.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,9 @@ plugins:
- '*fact_variant_hub_metrics.success_execs_by_name'
- '*fact_variant_hub_metrics.success_execs_unstruct_by_name'
- '*fact_variant_hub_metrics.success_execs_unstruct_by_variant'
config:
tables:
- MELTANO_HUB.FACT_VARIANT_HUB_METRICS
- name: tap-snowflake-audit
inherit_from: tap-snowflake
metadata:
Expand All @@ -226,10 +229,15 @@ plugins:
select:
- '*hub_metrics_audit.updated_date'
- '*hub_metrics_audit.metric_type'
config:
tables:
- MELTANO_HUB.HUB_METRICS_AUDIT
- name: tap-snowflake-singer-activity
inherit_from: tap-snowflake
config:
schema: SLACK_NOTIFICATIONS
tables:
- SLACK_NOTIFICATIONS.SINGER_ACTIVITY_NOTIFICATIONS
metadata:
'*':
replication-method: FULL_TABLE
Expand All @@ -244,6 +252,9 @@ plugins:
select:
- '*meltano_activity_notifications.title'
- '*meltano_activity_notifications.body'
config:
tables:
- SLACK_NOTIFICATIONS.MELTANO_ACTIVITY_NOTIFICATIONS
- name: tap-snowflake-hubspot-companies
inherit_from: tap-snowflake
metadata:
Expand Down
Loading