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

updated to latest version with end_time #6

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
2,492 changes: 2,492 additions & 0 deletions logs/logfile.log

Large diffs are not rendered by default.

89 changes: 53 additions & 36 deletions models/inputs.yaml
Original file line number Diff line number Diff line change
@@ -1,56 +1,73 @@
# This is a sample file, for detailed reference see: https://rudderlabs.github.io/pywht/
inputs:
- name: stripeCustomers
table: analytics_db.data_apps_simulated_stripe.stripe_customers
timestamp_col: timestamp
- name: rsStripeCustomers
table: RUDDERSTACK_TEST_DB.data_apps_simulated_stripe.stripe_customers
occurred_at_col: timestamp
ids:
- sql: "customers_id"
- select: "customers_id"
type: customer_id
- name: stripeCharges
table: analytics_db.data_apps_simulated_stripe.stripe_charges
timestamp_col: created
entity: user
- name: rsStripeCharges
table: RUDDERSTACK_TEST_DB.data_apps_simulated_stripe.stripe_charges
occurred_at_col: created
ids:
- sql: "customer"
- select: "customer"
type: customer_id
- sql: "invoice"
entity: user
- select: "invoice"
type: invoice_id
- sql: "charges_id"
entity: user
- select: "charges_id"
type: charge_id
- sql: "balance_transaction"
entity: user
- select: "balance_transaction"
type: balance_transaction_id
- name: stripeInvoices
table: analytics_db.data_apps_simulated_stripe.stripe_invoices
timestamp_col: to_timestamp(created)
entity: user
- name: rsStripeInvoices
table: RUDDERSTACK_TEST_DB.data_apps_simulated_stripe.stripe_invoices
occurred_at_col: to_timestamp(created)
ids:
- sql: "invoices_id"
- select: "invoices_id"
type: invoice_id
- sql: "customer"
entity: user
- select: "customer"
type: customer_id
- name: stripeBalanceHistory
table: analytics_db.data_apps_simulated_stripe.stripe_balance_history
timestamp_col: created
entity: user
- name: rsStripeBalanceHistory
table: RUDDERSTACK_TEST_DB.data_apps_simulated_stripe.stripe_balance_history
occurred_at_col: created
ids:
- sql: "id"
- select: "id"
type: balance_transaction_id
- name: stripeSubscriptions
table: analytics_db.data_apps_simulated_stripe.stripe_subscriptions
timestamp_col: created
entity: user
- name: rsStripeSubscriptions
table: RUDDERSTACK_TEST_DB.data_apps_simulated_stripe.stripe_subscriptions
occurred_at_col: created
ids:
- sql: "subscriptions_id"
- select: "subscriptions_id"
type: subscription_id
- sql: "customer"
entity: user
- select: "customer"
type: customer_id
- name: stripeRefunds
table: analytics_db.data_apps_simulated_stripe.stripe_refunds
timestamp_col: created
entity: user
- name: rsStripeRefunds
table: RUDDERSTACK_TEST_DB.data_apps_simulated_stripe.stripe_refunds
occurred_at_col: created
ids:
- sql: "charge"
- select: "charge"
type: charge_id
- sql: "balance_transaction"
entity: user
- select: "balance_transaction"
type: balance_transaction_id
- name: stripeInvoicesView
view: ANALYTICS_DB.DATA_APPS_SIMULATED_STRIPE.STG_INVOICES_DATA
timestamp_col: invoice_created_timestamp
ids:
- sql: "customer"
type: customer_id
entity: user
# - name: stripeInvoicesView
# view: ANALYTICS_DB.DATA_APPS_SIMULATED_STRIPE.STG_INVOICES_DATA
# occurred_at_col: invoice_created_timestamp
# ids:
# - select: "customer"
# type: customer_id
# entity: user
- name: rsStripePlans
table: RUDDERSTACK_TEST_DB.DATA_APPS_SIMULATED_STRIPE.STRIPE_PLANS
occurred_at_col: created

Loading