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

Bump google-cloud-bigquery from 3.28.0 to 3.29.0 #1149

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 22, 2025

Bumps google-cloud-bigquery from 3.28.0 to 3.29.0.

Release notes

Sourced from google-cloud-bigquery's releases.

v3.29.0

3.29.0 (2025-01-21)

Features

  • Add ExternalCatalogTableOptions class and tests (#2116) (cdc1a6e)

Bug Fixes

  • Add default value in SchemaField.from_api_repr() (#2115) (7de6822)
Changelog

Sourced from google-cloud-bigquery's changelog.

3.29.0 (2025-01-21)

Features

  • Add ExternalCatalogTableOptions class and tests (#2116) (cdc1a6e)

Bug Fixes

  • Add default value in SchemaField.from_api_repr() (#2115) (7de6822)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [google-cloud-bigquery](https://github.com/googleapis/python-bigquery) from 3.28.0 to 3.29.0.
- [Release notes](https://github.com/googleapis/python-bigquery/releases)
- [Changelog](https://github.com/googleapis/python-bigquery/blob/main/CHANGELOG.md)
- [Commits](googleapis/python-bigquery@v3.28.0...v3.29.0)

---
updated-dependencies:
- dependency-name: google-cloud-bigquery
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 22, 2025
@dependabot dependabot bot requested a review from a team January 22, 2025 07:02
@dataops-ci-bot
Copy link

Integration report for "Bump google-cloud-bigquery from 3.28.0 to 3.29.0"

lookml.diff

Click to expand!
Only in /tmp/workspace/looker-hub/firefox_desktop/datagroups: fenix_distribution_deal_last_updated.datagroup.lkml
Only in /tmp/workspace/looker-hub/firefox_ios: dashboards
Only in /tmp/workspace/looker-hub/marketing/datagroups: firefox_for_families_forecasted_expectations_last_updated.datagroup.lkml
Only in /tmp/workspace/looker-hub/search_private/datagroups: search_term_data_validation_reports_last_updated.datagroup.lkml
Only in /tmp/workspace/looker-hub/search_private/datagroups: search_term_sanitization_job_metadata_daily_last_updated.datagroup.lkml
Only in /tmp/workspace/looker-hub/: user_journey
diff -x '.*' -bur --no-dereference --new-file /tmp/workspace/looker-hub/firefox_desktop/datagroups/fenix_distribution_deal_last_updated.datagroup.lkml /tmp/workspace/generated-lookml/firefox_desktop/datagroups/fenix_distribution_deal_last_updated.datagroup.lkml
--- /tmp/workspace/looker-hub/firefox_desktop/datagroups/fenix_distribution_deal_last_updated.datagroup.lkml	2025-01-22 07:09:04.342609630 +0000
+++ /tmp/workspace/generated-lookml/firefox_desktop/datagroups/fenix_distribution_deal_last_updated.datagroup.lkml	1970-01-01 00:00:00.000000000 +0000
@@ -1,16 +0,0 @@
-# *Do not manually modify this file*
-
-# This file has been generated via https://github.com/mozilla/lookml-generator
-
-# Using a datagroup in an Explore: https://cloud.google.com/looker/docs/reference/param-explore-persist-with
-# Using a datagroup in a derived table: https://cloud.google.com/looker/docs/reference/param-view-datagroup-trigger
-
-datagroup: fenix_distribution_deal_last_updated {
-  label: "fenix_distribution_deal Last Updated"
-  sql_trigger: SELECT MAX(storage_last_modified_time)
-    FROM `mozdata`.`region-us`.INFORMATION_SCHEMA.TABLE_STORAGE
-    WHERE table_schema = 'analysis'
-    AND table_name = 'fenix_distribution_deal_v1' ;;
-  description: "Updates for fenix_distribution_deal when mozdata.analysis.fenix_distribution_deal_v1 is modified."
-  max_cache_age: "24 hours"
-}
\ No newline at end of file
diff -x '.*' -bur --no-dereference --new-file /tmp/workspace/looker-hub/firefox_desktop/explores/fenix_distribution_deal.explore.lkml /tmp/workspace/generated-lookml/firefox_desktop/explores/fenix_distribution_deal.explore.lkml
--- /tmp/workspace/looker-hub/firefox_desktop/explores/fenix_distribution_deal.explore.lkml	2025-01-22 07:09:04.350609671 +0000
+++ /tmp/workspace/generated-lookml/firefox_desktop/explores/fenix_distribution_deal.explore.lkml	2025-01-22 07:07:25.000000000 +0000
@@ -5,7 +5,6 @@
 # You can extend this view in the looker-spoke-default project (https://github.com/mozilla/looker-spoke-default)
 
 include: "/looker-hub/firefox_desktop/views/fenix_distribution_deal.view.lkml"
-include: "/looker-hub/firefox_desktop/datagroups/fenix_distribution_deal_last_updated.datagroup.lkml"
 
 explore: fenix_distribution_deal {
   sql_always_where: ${fenix_distribution_deal.submission_date} >= '2010-01-01' ;;
@@ -16,6 +15,4 @@
       submission_date: "28 days",
     ]
   }
-
-  persist_with: fenix_distribution_deal_last_updated
 }
\ No newline at end of file
diff -x '.*' -bur --no-dereference --new-file /tmp/workspace/looker-hub/marketing/datagroups/firefox_for_families_forecasted_expectations_last_updated.datagroup.lkml /tmp/workspace/generated-lookml/marketing/datagroups/firefox_for_families_forecasted_expectations_last_updated.datagroup.lkml
--- /tmp/workspace/looker-hub/marketing/datagroups/firefox_for_families_forecasted_expectations_last_updated.datagroup.lkml	2025-01-22 07:09:04.494610402 +0000
+++ /tmp/workspace/generated-lookml/marketing/datagroups/firefox_for_families_forecasted_expectations_last_updated.datagroup.lkml	1970-01-01 00:00:00.000000000 +0000
@@ -1,16 +0,0 @@
-# *Do not manually modify this file*
-
-# This file has been generated via https://github.com/mozilla/lookml-generator
-
-# Using a datagroup in an Explore: https://cloud.google.com/looker/docs/reference/param-explore-persist-with
-# Using a datagroup in a derived table: https://cloud.google.com/looker/docs/reference/param-view-datagroup-trigger
-
-datagroup: firefox_for_families_forecasted_expectations_last_updated {
-  label: "firefox_for_families_forecasted_expectations Last Updated"
-  sql_trigger: SELECT MAX(storage_last_modified_time)
-    FROM `mozdata`.`region-us`.INFORMATION_SCHEMA.TABLE_STORAGE
-    WHERE table_schema = 'analysis'
-    AND table_name = 'marketing_firefox_for_families_forecasted_expectations' ;;
-  description: "Updates for firefox_for_families_forecasted_expectations when mozdata.analysis.marketing_firefox_for_families_forecasted_expectations is modified."
-  max_cache_age: "24 hours"
-}
\ No newline at end of file
diff -x '.*' -bur --no-dereference --new-file /tmp/workspace/looker-hub/monitoring/datagroups/bigquery_table_storage_v1_last_updated.datagroup.lkml /tmp/workspace/generated-lookml/monitoring/datagroups/bigquery_table_storage_v1_last_updated.datagroup.lkml
--- /tmp/workspace/looker-hub/monitoring/datagroups/bigquery_table_storage_v1_last_updated.datagroup.lkml	2025-01-22 07:09:04.498610423 +0000
+++ /tmp/workspace/generated-lookml/monitoring/datagroups/bigquery_table_storage_v1_last_updated.datagroup.lkml	2025-01-22 07:06:54.000000000 +0000
@@ -6,7 +6,7 @@
 # Using a datagroup in a derived table: https://cloud.google.com/looker/docs/reference/param-view-datagroup-trigger
 
 datagroup: bigquery_table_storage_v1_last_updated {
-  label: "bigquery_table_storage_v1 Last Updated"
+  label: "BigQuery Tables Storage Last Updated"
   sql_trigger: SELECT MAX(storage_last_modified_time)
     FROM `moz-fx-data-shared-prod`.`region-us`.INFORMATION_SCHEMA.TABLE_STORAGE
     WHERE table_schema = 'monitoring_derived'
diff -x '.*' -bur --no-dereference --new-file /tmp/workspace/looker-hub/search_private/datagroups/search_term_data_validation_reports_last_updated.datagroup.lkml /tmp/workspace/generated-lookml/search_private/datagroups/search_term_data_validation_reports_last_updated.datagroup.lkml
--- /tmp/workspace/looker-hub/search_private/datagroups/search_term_data_validation_reports_last_updated.datagroup.lkml	2025-01-22 07:09:04.566610768 +0000
+++ /tmp/workspace/generated-lookml/search_private/datagroups/search_term_data_validation_reports_last_updated.datagroup.lkml	1970-01-01 00:00:00.000000000 +0000
@@ -1,16 +0,0 @@
-# *Do not manually modify this file*
-
-# This file has been generated via https://github.com/mozilla/lookml-generator
-
-# Using a datagroup in an Explore: https://cloud.google.com/looker/docs/reference/param-explore-persist-with
-# Using a datagroup in a derived table: https://cloud.google.com/looker/docs/reference/param-view-datagroup-trigger
-
-datagroup: search_term_data_validation_reports_last_updated {
-  label: "search_term_data_validation_reports Last Updated"
-  sql_trigger: SELECT MAX(storage_last_modified_time)
-    FROM `moz-fx-data-shared-prod`.`region-us`.INFORMATION_SCHEMA.TABLE_STORAGE
-    WHERE table_schema = 'search_terms_derived'
-    AND table_name = 'search_term_data_validation_reports_v1' ;;
-  description: "Updates for search_term_data_validation_reports when moz-fx-data-shared-prod.search_terms_derived.search_term_data_validation_reports_v1 is modified."
-  max_cache_age: "24 hours"
-}
\ No newline at end of file
diff -x '.*' -bur --no-dereference --new-file /tmp/workspace/looker-hub/search_private/datagroups/search_term_sanitization_job_metadata_daily_last_updated.datagroup.lkml /tmp/workspace/generated-lookml/search_private/datagroups/search_term_sanitization_job_metadata_daily_last_updated.datagroup.lkml
--- /tmp/workspace/looker-hub/search_private/datagroups/search_term_sanitization_job_metadata_daily_last_updated.datagroup.lkml	2025-01-22 07:09:04.566610768 +0000
+++ /tmp/workspace/generated-lookml/search_private/datagroups/search_term_sanitization_job_metadata_daily_last_updated.datagroup.lkml	1970-01-01 00:00:00.000000000 +0000
@@ -1,16 +0,0 @@
-# *Do not manually modify this file*
-
-# This file has been generated via https://github.com/mozilla/lookml-generator
-
-# Using a datagroup in an Explore: https://cloud.google.com/looker/docs/reference/param-explore-persist-with
-# Using a datagroup in a derived table: https://cloud.google.com/looker/docs/reference/param-view-datagroup-trigger
-
-datagroup: search_term_sanitization_job_metadata_daily_last_updated {
-  label: "search_term_sanitization_job_metadata_daily Last Updated"
-  sql_trigger: SELECT MAX(storage_last_modified_time)
-    FROM `moz-fx-data-shared-prod`.`region-us`.INFORMATION_SCHEMA.TABLE_STORAGE
-    WHERE table_schema = 'search_terms_derived'
-    AND table_name = 'sanitization_job_metadata_v2' ;;
-  description: "Updates for search_term_sanitization_job_metadata_daily when moz-fx-data-shared-prod.search_terms_derived.sanitization_job_metadata_v2 is modified."
-  max_cache_age: "24 hours"
-}
\ No newline at end of file
diff -x '.*' -bur --no-dereference --new-file /tmp/workspace/looker-hub/subscription_platform/views/stripe_subscriptions.view.lkml /tmp/workspace/generated-lookml/subscription_platform/views/stripe_subscriptions.view.lkml
--- /tmp/workspace/looker-hub/subscription_platform/views/stripe_subscriptions.view.lkml	2025-01-22 07:09:04.566610768 +0000
+++ /tmp/workspace/generated-lookml/subscription_platform/views/stripe_subscriptions.view.lkml	2025-01-22 07:05:45.000000000 +0000
@@ -8,11 +8,13 @@
   dimension: cancel_at_period_end {
     sql: ${TABLE}.cancel_at_period_end ;;
     type: yesno
+    description: "If the subscription has been canceled with the `at_period_end` flag set to true, `cancel_at_period_end` on the subscription will be true. You can use this attribute to determine whether a subscription that has a status of \"active\" is scheduled to be canceled at the end of the current period."
   }
 
   dimension: collection_method {
     sql: ${TABLE}.collection_method ;;
     type: string
+    description: "Either \"charge_automatically\", or \"send_invoice\". When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as active."
   }
 
   dimension: customer__address__country {
@@ -20,6 +22,7 @@
     type: string
     group_label: "Customer Address"
     group_item_label: "Country"
+    description: "Two-letter country code (ISO 3166-1 alpha-2)."
   }
 
   dimension: customer__default_source_id {
@@ -27,6 +30,8 @@
     type: string
     group_label: "Customer"
     group_item_label: "Default Source Id"
+    description: "ID of the default payment source for the customer.
+This isn't available for customers that were deleted before the initial Fivetran Stripe sync."
   }
 
   dimension: customer__discount__coupon__amount_off {
@@ -34,6 +39,7 @@
     type: number
     group_label: "Customer Discount Coupon"
     group_item_label: "Amount Off"
+    description: "Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer."
   }
 
   dimension: customer__discount__coupon__currency {
@@ -41,6 +47,7 @@
     type: string
     group_label: "Customer Discount Coupon"
     group_item_label: "Currency"
+    description: "If `amount_off` has been set, the three-letter ISO code for the currency of the amount to take off."
   }
 
   dimension: customer__discount__coupon__duration {
@@ -48,6 +55,10 @@
     type: string
     group_label: "Customer Discount Coupon"
     group_item_label: "Duration"
+    description: "One of \"forever\", \"once\", and \"repeating\". Describes how long a customer who applies this coupon will get the discount.
+\"forever\" applies to all charges from a subscription with this coupon applied.
+\"once\" applies to the first charge from a subscription with this coupon applied.
+\"repeating\" applies to charges in the first `duration_in_months` months from a subscription with this coupon applied."
   }
 
   dimension: customer__discount__coupon__duration_in_months {
@@ -55,6 +66,7 @@
     type: number
     group_label: "Customer Discount Coupon"
     group_item_label: "Duration In Months"
+    description: "If `duration` is \"repeating\", the number of months the coupon applies. Null if coupon `duration` is \"forever\" or \"once\"."
   }
 
   dimension: customer__discount__coupon__id {
@@ -62,11 +74,13 @@
     type: string
     group_label: "Customer Discount Coupon"
     group_item_label: "Id"
+    description: "Coupon ID."
   }
 
   dimension: customer__discount__coupon__metadata {
     sql: ${TABLE}.customer.discount.coupon.metadata ;;
     hidden: yes
+    description: "Set of key-value pairs attached to the coupon, stored as a JSON object."
   }
 
   dimension: customer__discount__coupon__name {
@@ -74,6 +88,7 @@
     type: string
     group_label: "Customer Discount Coupon"
     group_item_label: "Name"
+    description: "Name of the coupon displayed to customers on invoices or receipts."
   }
 
   dimension: customer__discount__coupon__percent_off {
@@ -81,6 +96,7 @@
     type: number
     group_label: "Customer Discount Coupon"
     group_item_label: "Percent Off"
+    description: "Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon. For example, a coupon with `percent_off` of 50 will make a $100 invoice $50 instead."
   }
 
   dimension: customer__discount__id {
@@ -88,6 +104,7 @@
     type: string
     group_label: "Customer Discount"
     group_item_label: "Id"
+    description: "Discount ID."
   }
 
   dimension: customer__discount__invoice_id {
@@ -95,6 +112,7 @@
     type: string
     group_label: "Customer Discount"
     group_item_label: "Invoice Id"
+    description: "ID of the invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice."
   }
 
   dimension: customer__discount__invoice_item_id {
@@ -102,6 +120,7 @@
     type: string
     group_label: "Customer Discount"
     group_item_label: "Invoice Item Id"
+    description: "ID of the invoice item (or invoice line item for invoice line items of `type` = \"subscription\") that the discount's coupon was applied to, if it was applied directly to a particular invoice item or invoice line item."
   }
 
   dimension: customer__discount__promotion_code_id {
@@ -109,6 +128,7 @@
     type: string
     group_label: "Customer Discount"
     group_item_label: "Promotion Code Id"
+    description: "ID of the promotion code applied to create this discount."
   }
 
   dimension: customer__discount__subscription_id {
@@ -116,6 +136,7 @@
     type: string
     group_label: "Customer Discount"
     group_item_label: "Subscription Id"
+    description: "ID of the subscription that this coupon is applied to, if it is applied to a particular subscription."
   }
 
   dimension: customer__id {
@@ -123,6 +144,7 @@
     type: string
     group_label: "Customer"
     group_item_label: "Id"
+    description: "Customer ID."
   }
 
   dimension: customer__is_deleted {
@@ -130,6 +152,7 @@
     type: yesno
     group_label: "Customer"
     group_item_label: "Is Deleted"
+    description: "Whether the customer is deleted."
   }
 
   dimension: customer__metadata__paypalAgreementId {
@@ -137,6 +160,7 @@
     type: string
     group_label: "Customer Metadata"
     group_item_label: "Paypalagreementid"
+    description: "The customer's PayPal agreement ID (if any)."
   }
 
   dimension: customer__metadata__userid {
@@ -144,6 +168,8 @@
     type: string
     group_label: "Customer Metadata"
     group_item_label: "Userid"
+    description: "The customer's Firefox Account user ID.
+This isn't available for customers that were deleted before the initial Fivetran Stripe sync."
   }
 
   dimension: customer__metadata__userid_sha256 {
@@ -151,6 +177,7 @@
     type: string
     group_label: "Customer Metadata"
     group_item_label: "Userid Sha256"
+    description: "SHA256 hash of the customer's Firefox Account user ID."
   }
 
   dimension: customer__shipping__address__country {
@@ -158,6 +185,7 @@
     type: string
     group_label: "Customer Shipping Address"
     group_item_label: "Country"
+    description: "Two-letter country code (ISO 3166-1 alpha-2)."
   }
 
   dimension: customer__tax_exempt {
@@ -165,26 +193,32 @@
     type: string
     group_label: "Customer"
     group_item_label: "Tax Exempt"
+    description: "The customer's tax exemption status. One of \"none\", \"exempt\", or \"reverse\".
+This isn't available for customers that were deleted before the initial Fivetran Stripe sync."
   }
 
   dimension: days_until_due {
     sql: ${TABLE}.days_until_due ;;
     type: number
+    description: "Number of days a customer has to pay invoices generated by this subscription. This value will be null for subscriptions where `collection_method` = \"charge_automatically\"."
   }
 
   dimension: default_payment_method_id {
     sql: ${TABLE}.default_payment_method_id ;;
     type: string
+    description: "ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source_id`. If neither are set, invoices will use the customer's `invoice_settings.default_payment_method` or `default_source`."
   }
 
   dimension: default_source_id {
     sql: ${TABLE}.default_source_id ;;
     type: string
+    description: "ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's `invoice_settings.default_payment_method` or `default_source`."
   }
 
   dimension: default_tax_rates {
     sql: ${TABLE}.default_tax_rates ;;
     hidden: yes
+    description: "The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription."
   }
 
   dimension: discount__coupon__amount_off {
@@ -192,6 +226,7 @@
     type: number
     group_label: "Discount Coupon"
     group_item_label: "Amount Off"
+    description: "Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer."
   }
 
   dimension: discount__coupon__currency {
@@ -199,6 +234,7 @@
     type: string
     group_label: "Discount Coupon"
     group_item_label: "Currency"
+    description: "If `amount_off` has been set, the three-letter ISO code for the currency of the amount to take off."
   }
 
   dimension: discount__coupon__duration {
@@ -206,6 +242,10 @@
     type: string
     group_label: "Discount Coupon"
     group_item_label: "Duration"
+    description: "One of \"forever\", \"once\", and \"repeating\". Describes how long a customer who applies this coupon will get the discount.
+\"forever\" applies to all charges from a subscription with this coupon applied.
+\"once\" applies to the first charge from a subscription with this coupon applied.
+\"repeating\" applies to charges in the first `duration_in_months` months from a subscription with this coupon applied."
   }
 
   dimension: discount__coupon__duration_in_months {
@@ -213,6 +253,7 @@
     type: number
     group_label: "Discount Coupon"
     group_item_label: "Duration In Months"
+    description: "If `duration` is \"repeating\", the number of months the coupon applies. Null if coupon `duration` is \"forever\" or \"once\"."
   }
 
   dimension: discount__coupon__id {
@@ -220,11 +261,13 @@
     type: string
     group_label: "Discount Coupon"
     group_item_label: "Id"
+    description: "Coupon ID."
   }
 
   dimension: discount__coupon__metadata {
     sql: ${TABLE}.discount.coupon.metadata ;;
     hidden: yes
+    description: "Set of key-value pairs attached to the coupon, stored as a JSON object."
   }
 
   dimension: discount__coupon__name {
@@ -232,6 +275,7 @@
     type: string
     group_label: "Discount Coupon"
     group_item_label: "Name"
+    description: "Name of the coupon displayed to customers on invoices or receipts."
   }
 
   dimension: discount__coupon__percent_off {
@@ -239,6 +283,7 @@
     type: number
     group_label: "Discount Coupon"
     group_item_label: "Percent Off"
+    description: "Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon. For example, a coupon with `percent_off` of 50 will make a $100 invoice $50 instead."
   }
 
   dimension: discount__id {
@@ -246,6 +291,7 @@
     type: string
     group_label: "Discount"
     group_item_label: "Id"
+    description: "Discount ID."
   }
 
   dimension: discount__invoice_id {
@@ -253,6 +299,7 @@
     type: string
     group_label: "Discount"
     group_item_label: "Invoice Id"
+    description: "ID of the invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice."
   }
 
   dimension: discount__invoice_item_id {
@@ -260,6 +307,7 @@
     type: string
     group_label: "Discount"
     group_item_label: "Invoice Item Id"
+    description: "ID of the invoice item (or invoice line item for invoice line items of `type` = \"subscription\") that the discount's coupon was applied to, if it was applied directly to a particular invoice item or invoice line item."
   }
 
   dimension: discount__promotion_code_id {
@@ -267,21 +315,25 @@
     type: string
     group_label: "Discount"
     group_item_label: "Promotion Code Id"
+    description: "ID of the promotion code applied to create this discount."
   }
 
   dimension: id {
     sql: ${TABLE}.id ;;
     type: string
+    description: "Subscription ID."
   }
 
   dimension: items {
     sql: ${TABLE}.items ;;
     hidden: yes
+    description: "List of subscription items, each with an attached plan."
   }
 
   dimension: latest_invoice_id {
     sql: ${TABLE}.latest_invoice_id ;;
     type: string
+    description: "ID of the most recent invoice this subscription has generated."
   }
 
   dimension: metadata__appliedPromotionCode {
@@ -289,6 +341,7 @@
     type: string
     group_label: "Metadata"
     group_item_label: "Appliedpromotioncode"
+    description: "Promotion code applied to the subscription (if any)."
   }
 
   dimension: metadata__cancellation_reason {
@@ -296,6 +349,7 @@
     type: string
     group_label: "Metadata"
     group_item_label: "Cancellation Reason"
+    description: "Reason the subscription was canceled (if any)."
   }
 
   dimension: metadata__previous_plan_id {
@@ -303,16 +357,23 @@
     type: string
     group_label: "Metadata"
     group_item_label: "Previous Plan Id"
+    description: "ID of the previous plan the customer was subscribed to via this subscription (if any)."
   }
 
   dimension: pending_setup_intent_id {
     sql: ${TABLE}.pending_setup_intent_id ;;
     type: string
+    description: "ID of a setup intent to collect user authentication when creating a subscription without immediate payment or updating a subscription's payment method."
   }
 
   dimension: status {
     sql: ${TABLE}.status ;;
     type: string
+    description: "Possible values are \"incomplete\", \"incomplete_expired\", \"trialing\", \"active\", \"past_due\", \"canceled\", \"unpaid\", or \"paused\".
+For `collection_method` = \"charge_automatically\" a subscription moves into \"incomplete\" if the initial payment attempt fails. Once the first invoice is paid, the subscription moves into an \"active\" state. If the first invoice is not paid within 23 hours, the subscription transitions to \"incomplete_expired\".
+A subscription that is currently in a trial period is \"trialing\" and moves to \"active\" when the trial period is over.
+If subscription `collection_method` = \"charge_automatically\" it becomes \"past_due\" when payment to renew it fails and \"canceled\" or \"unpaid\" (depending on your subscriptions settings) when Stripe has exhausted all payment retry attempts.
+If subscription `collection_method` = \"send_invoice\" it becomes \"past_due\" when its invoice is not paid by the due date, and \"canceled\" or \"unpaid\" if it is still not paid by an additional deadline after that."
   }
 
   dimension_group: billing_cycle_anchor {
@@ -327,6 +388,7 @@
       quarter,
       year,
     ]
+    description: "The time of the first full invoice, and, for plans with month or year intervals, the day of the month for subsequent invoices."
   }
 
   dimension_group: cancel_at {
@@ -341,6 +403,7 @@
       quarter,
       year,
     ]
+    description: "A time in the future at which the subscription will automatically get canceled."
   }
 
   dimension_group: canceled_at {
@@ -355,6 +418,7 @@
       quarter,
       year,
     ]
+    description: "If the subscription has been canceled, the time at which it was canceled. If the subscription was canceled with `cancel_at_period_end`, `canceled_at` will reflect the time of the most recent update request, not the end of the subscription period when the subscription is automatically moved to a canceled state."
   }
 
   dimension_group: created {
@@ -369,6 +433,7 @@
       quarter,
       year,
     ]
+    description: "Time at which the subscription was created."
   }
 
   dimension_group: current_period_end {
@@ -383,6 +448,7 @@
       quarter,
       year,
     ]
+    description: "End time of the current period that the subscription has been invoiced for. At the end of this period, a new invoice will be created."
   }
 
   dimension_group: current_period_start {
@@ -397,6 +463,7 @@
       quarter,
       year,
     ]
+    description: "Start time of the current period that the subscription has been invoiced for."
   }
 
   dimension_group: customer__created {
@@ -412,6 +479,7 @@
       year,
     ]
     label: "Customer: Created"
+    description: "Time at which the customer was created."
   }
 
   dimension_group: customer__discount__coupon__created {
@@ -427,6 +495,7 @@
       year,
     ]
     label: "Customer Discount Coupon: Created"
+    description: "Time at which the coupon was created."
   }
 
   dimension_group: customer__discount__coupon__redeem_by {
@@ -442,6 +511,7 @@
       year,
     ]
     label: "Customer Discount Coupon: Redeem By"
+    description: "Time after which the coupon can no longer be redeemed."
   }
 
   dimension_group: customer__discount__end {
@@ -457,6 +527,7 @@
       year,
     ]
     label: "Customer Discount: End"
+    description: "If the coupon has a duration of \"repeating\", the time that this discount will end. If the coupon has a duration of \"once\" or \"forever\", this attribute will be null."
   }
 
   dimension_group: customer__discount__start {
@@ -472,6 +543,7 @@
       year,
     ]
     label: "Customer Discount: Start"
+    description: "Time at which the coupon was applied."
   }
 
   dimension_group: customer__metadata__geoip {
@@ -487,6 +559,8 @@
       year,
     ]
     label: "Customer Metadata: Geoip Date"
+    description: "Time at which IP address-based geo-location was done for the customer.
+This isn't available for customers that were deleted before the initial Fivetran Stripe sync."
   }
 
   dimension_group: discount__coupon__created {
@@ -502,6 +576,7 @@
       year,
     ]
     label: "Discount Coupon: Created"
+    description: "Time at which the coupon was created."
   }
 
   dimension_group: discount__coupon__redeem_by {
@@ -517,6 +592,7 @@
       year,
     ]
     label: "Discount Coupon: Redeem By"
+    description: "Time after which the coupon can no longer be redeemed."
   }
 
   dimension_group: discount__end {
@@ -532,6 +608,7 @@
       year,
     ]
     label: "Discount: End"
+    description: "If the coupon has a duration of \"repeating\", the time that this discount will end. If the coupon has a duration of \"once\" or \"forever\", this attribute will be null."
   }
 
   dimension_group: discount__start {
@@ -547,6 +624,7 @@
       year,
     ]
     label: "Discount: Start"
+    description: "Time at which the coupon was applied."
   }
 
   dimension_group: ended_at {
@@ -561,6 +639,7 @@
       quarter,
       year,
     ]
+    description: "If the subscription has ended, the time at which the subscription ended."
   }
 
   dimension_group: metadata__cancelled_for_customer_at {
@@ -576,6 +655,7 @@
       year,
     ]
     label: "Metadata: Cancelled For Customer At"
+    description: "When the customer canceled the subscription, if they've done so."
   }
 
   dimension_group: metadata__plan_change {
@@ -591,6 +671,7 @@
       year,
     ]
     label: "Metadata: Plan Change Date"
+    description: "The most recent time when the subscription plan was changed (if any)."
   }
 
   dimension_group: start {
@@ -605,6 +686,7 @@
       quarter,
       year,
     ]
+    description: "Start time of the subscription. This might differ from `created` due to backdating."
   }
 
   dimension_group: trial_end {
@@ -619,6 +701,7 @@
       quarter,
       year,
     ]
+    description: "If the subscription has a trial, the end time of that trial."
   }
 
   dimension_group: trial_start {
@@ -633,6 +716,7 @@
       quarter,
       year,
     ]
+    description: "If the subscription has a trial, the start time of that trial."
   }
 
   sql_table_name: `moz-fx-data-shared-prod.subscription_platform_derived.stripe_subscriptions_v2` ;;
@@ -642,36 +726,43 @@
   dimension: description {
     sql: ${TABLE}.description ;;
     type: string
+    description: "An arbitrary description of the tax rate for your internal use only. It will not be visible to your customers."
   }
 
   dimension: display_name {
     sql: ${TABLE}.display_name ;;
     type: string
+    description: "The display name of the tax rate as it will appear to your customer on their receipt email, PDF, and the hosted invoice page."
   }
 
   dimension: id {
     sql: ${TABLE}.id ;;
     type: string
+    description: "Tax rate ID."
   }
 
   dimension: inclusive {
     sql: ${TABLE}.inclusive ;;
     type: yesno
+    description: "Whether the tax rate is inclusive."
   }
 
   dimension: jurisdiction {
     sql: ${TABLE}.jurisdiction ;;
     type: string
+    description: "The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer's invoice."
   }
 
   dimension: metadata {
     sql: ${TABLE}.metadata ;;
     hidden: yes
+    description: "Set of key-value pairs attached to the tax rate, stored as a JSON object."
   }
 
   dimension: percentage {
     sql: ${TABLE}.percentage ;;
     type: number
+    description: "Tax rate percentage out of 100. For tax calculations with `automatic_tax[enabled]=true`, this percentage includes the statutory tax rate of non-taxable jurisdictions."
   }
 }
 
@@ -679,11 +770,13 @@
   dimension: id {
     sql: ${TABLE}.id ;;
     type: string
+    description: "Subscription item ID."
   }
 
   dimension: metadata {
     sql: ${TABLE}.metadata ;;
     hidden: yes
+    description: "Set of key-value pairs attached to the subscription item, stored as a JSON object."
   }
 
   dimension: plan__aggregate_usage {
@@ -691,6 +784,7 @@
     type: string
     group_label: "Plan"
     group_item_label: "Aggregate Usage"
+    description: "Specifies a usage aggregation strategy for plans of `usage_type` = \"metered\". Allowed values are \"sum\" for summing up all usage during a period, \"last_during_period\" for using the last usage record reported within a period, \"last_ever\" for using the last usage record ever (across period bounds) or \"max\" which uses the usage record with the maximum reported usage during a period."
   }
 
   dimension: plan__amount {
@@ -698,6 +792,7 @@
     type: number
     group_label: "Plan"
     group_item_label: "Amount"
+    description: "The unit amount in cents to be charged, represented as a whole integer if possible. Only set if `billing_scheme` = \"per_unit\"."
   }
 
   dimension: plan__billing_scheme {
@@ -705,6 +800,7 @@
     type: string
     group_label: "Plan"
     group_item_label: "Billing Scheme"
+    description: "Describes how to compute the price per period. Either \"per_unit\" or \"tiered\". \"per_unit\" indicates that the fixed amount (specified in `amount`) will be charged per unit in `quantity` (for plans with `usage_type` = \"licensed\"), or per unit of total usage (for plans with `usage_type` = \"metered\"). \"tiered\" indicates that the unit pricing will be computed using a tiering strategy as defined using the `tiers` and `tiers_mode` attributes."
   }
 
   dimension: plan__currency {
@@ -712,6 +808,7 @@
     type: string
     group_label: "Plan"
     group_item_label: "Currency"
+    description: "Three-letter ISO currency code, in lowercase."
   }
 
   dimension: plan__id {
@@ -719,6 +816,7 @@
     type: string
     group_label: "Plan"
     group_item_label: "Id"
+    description: "Plan ID."
   }
 
   dimension: plan__interval {
@@ -726,6 +824,7 @@
     type: string
     group_label: "Plan"
     group_item_label: "Interval"
+    description: "The frequency at which a subscription is billed. One of \"day\", \"week\", \"month\" or \"year\"."
   }
 
   dimension: plan__interval_count {
@@ -733,11 +832,13 @@
     type: number
     group_label: "Plan"
     group_item_label: "Interval Count"
+    description: "The number of intervals (specified in the `interval` attribute) between subscription billings."
   }
 
   dimension: plan__metadata {
     sql: ${TABLE}.plan.metadata ;;
     hidden: yes
+    description: "Set of key-value pairs attached to the plan, stored as a JSON object."
   }
 
   dimension: plan__nickname {
@@ -745,6 +846,7 @@
     type: string
     group_label: "Plan"
     group_item_label: "Nickname"
+    description: "A brief description of the plan, hidden from customers."
   }
 
   dimension: plan__product__description {
@@ -752,6 +854,7 @@
     type: string
     group_label: "Plan Product"
     group_item_label: "Description"
+    description: "The product's description, meant to be displayable to the customer."
   }
 
   dimension: plan__product__id {
@@ -759,11 +862,13 @@
     type: string
     group_label: "Plan Product"
     group_item_label: "Id"
+    description: "Product ID."
   }
 
   dimension: plan__product__metadata {
     sql: ${TABLE}.plan.product.metadata ;;
     hidden: yes
+    description: "Set of key-value pairs attached to the product, stored as a JSON object."
   }
 
   dimension: plan__product__name {
@@ -771,6 +876,7 @@
     type: string
     group_label: "Plan Product"
     group_item_label: "Name"
+    description: "The product's name, meant to be displayable to the customer."
   }
 
   dimension: plan__product__statement_descriptor {
@@ -778,6 +884,7 @@
     type: string
     group_label: "Plan Product"
     group_item_label: "Statement Descriptor"
+    description: "Extra information about a product which will appear on your customer's credit card statement."
   }
 
   dimension: plan__tiers_mode {
@@ -785,6 +892,7 @@
     type: string
     group_label: "Plan"
     group_item_label: "Tiers Mode"
+    description: "Defines if the tiering price should be \"graduated\" or \"volume\". In volume-based tiering, the maximum quantity within a period determines the per unit price. In graduated tiering, pricing can change as the quantity grows."
   }
 
   dimension: plan__trial_period_days {
@@ -792,6 +900,7 @@
     type: number
     group_label: "Plan"
     group_item_label: "Trial Period Days"
+    description: "Default number of trial days when subscribing a customer to this plan using `trial_from_plan=true`."
   }
 
   dimension: plan__usage_type {
@@ -799,10 +908,12 @@
     type: string
     group_label: "Plan"
     group_item_label: "Usage Type"
+    description: "Configures how the quantity per period should be determined. Can be either \"metered\" or \"licensed\". \"licensed\" automatically bills the quantity set when adding it to a subscription. \"metered\" aggregates the total usage based on usage records."
   }
 
   dimension: quantity {
     sql: ${TABLE}.quantity ;;
     type: number
+    description: "The quantity of the plan to which the customer should be subscribed."
   }
 }
\ No newline at end of file
diff -x '.*' -bur --no-dereference --new-file /tmp/workspace/looker-hub/user_journey/views/events_daily.view.lkml /tmp/workspace/generated-lookml/user_journey/views/events_daily.view.lkml
--- /tmp/workspace/looker-hub/user_journey/views/events_daily.view.lkml	2025-01-22 07:09:04.606610971 +0000
+++ /tmp/workspace/generated-lookml/user_journey/views/events_daily.view.lkml	1970-01-01 00:00:00.000000000 +0000
@@ -1,71 +0,0 @@
-view: events_daily {
-  sql_table_name: `mozdata.messaging_system.events_daily`
-    ;;
-
-  dimension: addon_version {
-    type: string
-    sql: ${TABLE}.addon_version ;;
-  }
-
-  dimension: app_version {
-    type: string
-    sql: ${TABLE}.app_version ;;
-  }
-
-  dimension: city {
-    type: string
-    sql: ${TABLE}.city ;;
-  }
-
-  dimension: client_id {
-    type: string
-    sql: ${TABLE}.client_id ;;
-  }
-
-  dimension: country {
-    type: string
-    map_layer_name: countries
-    sql: ${TABLE}.country ;;
-  }
-
-  dimension: events {
-    type: string
-    sql: ${TABLE}.events ;;
-    hidden: yes
-  }
-
-  dimension: experiments {
-    hidden: yes
-    sql: ${TABLE}.experiments ;;
-  }
-
-  dimension: locale {
-    type: string
-    sql: ${TABLE}.locale ;;
-  }
-
-  dimension: normalized_channel {
-    type: string
-    sql: ${TABLE}.normalized_channel ;;
-  }
-
-  dimension: os {
-    type: string
-    sql: ${TABLE}.os ;;
-  }
-
-  dimension: sample_id {
-    type: number
-    sql: ${TABLE}.sample_id ;;
-  }
-
-  dimension: subdivision1 {
-    type: string
-    sql: ${TABLE}.subdivision1 ;;
-  }
-
-  dimension: submission_date {
-    type: date
-    sql: CAST(${TABLE}.submission_date AS TIMESTAMP) ;;
-  }
-}

Link to full diff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant