sources:
- name: metadb_new
  schema: raw_metadb_new
  database: gcp-digital-bi-dev
  file_format: parquet
  source_bucket: gs://metadb
  source_project: gcp-digital-bi
  column_hints:
    "re:.+": "text"
  tables:
  - name: audit_records
    identifier: audit_records
    gcs_glob: metadb/billing/audit_records/*
    path: billing
  - name: billing2_invoices
    identifier: billing2_invoices
    gcs_glob: metadb/billing/billing2_invoices/*
    path: billing
  - name: billing_configs
    identifier: billing_configs
    gcs_glob: metadb/billing/billing_configs/*
    path: billing
  - name: billing_informations
    identifier: billing_informations
    gcs_glob: metadb/billing/billing_informations/*
    path: billing
  - name: binded_packages
    identifier: binded_packages
    gcs_glob: metadb/billing/binded_packages/*
    path: billing
  - name: binded_support_plans
    identifier: binded_support_plans
    gcs_glob: metadb/billing/binded_support_plans/*
    path: billing
  - name: credits_packages
    identifier: credits_packages
    gcs_glob: metadb/billing/credits_packages/*
    path: billing
  - name: packages
    identifier: packages
    gcs_glob: metadb/billing/packages/*
    path: billing
  - name: payment_methods
    identifier: payment_methods
    gcs_glob: metadb/billing/payment_methods/*
    path: billing
  - name: spend_limit_settings
    identifier: spend_limit_settings
    gcs_glob: metadb/billing/spend_limit_settings/*
    path: billing
  - name: support_plans
    identifier: support_plans
    gcs_glob: metadb/billing/support_plans/*
    path: billing
  - name: tenant_discounts
    identifier: tenant_discounts
    gcs_glob: metadb/billing/tenant_discounts/*
    path: billing
  - name: tenant_plans
    identifier: tenant_plans
    gcs_glob: metadb/billing/tenant_plans/*
    path: billing
  - name: units
    identifier: units
    gcs_glob: metadb/billing/units/*
    path: billing
  - name: bot_interact_record
    identifier: bot_interact_record
    gcs_glob: metadb/msg/bot_interact_record/*
    path: msg
- name: metadb_new
  schema: raw_metadb_new
  database: gcp-digital-bi-dev
  file_format: csv
  source_bucket: gs://metadb
  source_project: gcp-digital-bi
  tables:
  - name: access_logs
    identifier: access_logs
    gcs_glob: metadb/account/access_logs/*
    path: account
  - name: auth_server_oauth2_access_tokens
    identifier: auth_server_oauth2_access_tokens
    gcs_glob: metadb/account/auth_server_oauth2_access_tokens/*
    path: account
  - name: auth_server_oauth2_applications
    identifier: auth_server_oauth2_applications
    gcs_glob: metadb/account/auth_server_oauth2_applications/*
    path: account
  - name: event_histories
    identifier: event_histories
    gcs_glob: metadb/account/event_histories/*
    path: account
  # - name: poc_applications
  #   identifier: poc_applications
  #   gcs_glob: metadb/account/poc_applications/*
  #   path: account
  - name: projects
    identifier: projects
    gcs_glob: metadb/account/projects/*
    path: account
  - name: registration_logs
    identifier: registration_logs
    gcs_glob: metadb/account/registration_logs/*
    path: account
  - name: role_bindings
    identifier: role_bindings
    gcs_glob: metadb/account/role_bindings/*
    path: account
  - name: roles
    identifier: roles
    gcs_glob: metadb/account/roles/*
    path: account
  - name: surveys
    identifier: surveys
    gcs_glob: metadb/account/surveys/*
    path: account
  - name: tenants
    identifier: tenants
    gcs_glob: metadb/account/tenants/*
    path: account
  - name: uni_api_keys
    identifier: uni_api_keys
    gcs_glob: metadb/account/uni_api_keys/*
    path: account
  - name: user_projects
    identifier: user_projects
    gcs_glob: metadb/account/user_projects/*
    path: account
  - name: user_roles
    identifier: user_roles
    gcs_glob: metadb/account/user_roles/*
    path: account
  - name: uses
    identifier: uses
    gcs_glob: metadb/account/uses/*
    path: account