diff --git a/metricflow-semantics/tests_metricflow_semantics/snapshots/test_semantic_model_container.py/str/test_linkable_elements_for_measure__result0.txt b/metricflow-semantics/tests_metricflow_semantics/snapshots/test_semantic_model_container.py/str/test_linkable_elements_for_measure__result0.txt index 872cc316bc..e5c2016335 100644 --- a/metricflow-semantics/tests_metricflow_semantics/snapshots/test_semantic_model_container.py/str/test_linkable_elements_for_measure__result0.txt +++ b/metricflow-semantics/tests_metricflow_semantics/snapshots/test_semantic_model_container.py/str/test_linkable_elements_for_measure__result0.txt @@ -1,181 +1,5 @@ Model Join-Path Entity Links Name Time Granularity Date Part Properties ------------------------------------------ --------------------------------------------- --------------------------------------------------- ------------------ ----------- ------------------------------------------- -('',) ("('listing',)", "('booking', 'listing')") approximate_continuous_booking_value_p99 ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") approximate_discrete_booking_value_p99 ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") average_booking_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") average_instant_booking_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") bookers ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") booking_fees ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") booking_fees_per_booker ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") booking_payments ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") booking_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") booking_value_for_non_null_listing_id ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") booking_value_p99 ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") booking_value_sub_instant ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") booking_value_sub_instant_add_10 ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") bookings ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") bookings_fill_nulls_with_0 ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") bookings_fill_nulls_with_0_without_time_spine ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") bookings_join_to_time_spine ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") bookings_per_booker ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") bookings_per_dollar ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") derived_bookings_0 ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") derived_bookings_1 ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") discrete_booking_value_p99 ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") double_counted_delayed_bookings ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") instant_booking_fraction_of_max_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") instant_booking_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") instant_booking_value_ratio ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") instant_bookings ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") instant_lux_booking_value_rate ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") instant_plus_non_referred_bookings_pct ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") lux_booking_fraction_of_max_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") lux_booking_value_rate_expr ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") max_booking_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") median_booking_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") min_booking_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") nested_fill_nulls_without_time_spine ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") non_referred_bookings_pct ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") referred_bookings ['JOINED', 'METRIC'] -('',) ("('listing',)", "('booking', 'listing')") twice_bookings_fill_nulls_with_0_without_time_spine ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") active_listings ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") approximate_continuous_booking_value_p99 ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") approximate_discrete_booking_value_p99 ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") average_booking_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") average_instant_booking_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") bookers ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") booking_fees ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") booking_fees_per_booker ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") booking_payments ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") booking_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") booking_value_for_non_null_listing_id ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") booking_value_p99 ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") booking_value_per_view ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") booking_value_per_view ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") booking_value_sub_instant ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") booking_value_sub_instant_add_10 ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") bookings ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") bookings_fill_nulls_with_0 ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") bookings_fill_nulls_with_0_without_time_spine ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") bookings_join_to_time_spine ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") bookings_per_booker ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") bookings_per_dollar ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") bookings_per_listing ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") bookings_per_listing ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") bookings_per_lux_listing_derived ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") bookings_per_lux_listing_derived ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") bookings_per_view ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") bookings_per_view ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") derived_bookings_0 ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") derived_bookings_1 ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") discrete_booking_value_p99 ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") double_counted_delayed_bookings ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") instant_booking_fraction_of_max_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") instant_booking_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") instant_booking_value_ratio ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") instant_bookings ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") instant_lux_booking_value_rate ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") instant_plus_non_referred_bookings_pct ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") largest_listing ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") listings ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") lux_booking_fraction_of_max_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") lux_booking_value_rate_expr ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") lux_listings ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") max_booking_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") median_booking_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") min_booking_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") nested_fill_nulls_without_time_spine ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") non_referred_bookings_pct ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") referred_bookings ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") smallest_listing ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") twice_bookings_fill_nulls_with_0_without_time_spine ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") views ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") views_times_booking_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('listing',)") views_times_booking_value ['JOINED', 'METRIC'] -('',) ("('listing',)", "('view', 'listing')") views ['JOINED', 'METRIC'] -('',) ("('user',)", "('account', 'user')") current_account_balance_by_user ['JOINED', 'METRIC'] -('',) ("('user',)", "('account', 'user')") regional_starting_balance_ratios ['JOINED', 'METRIC'] -('',) ("('user',)", "('account', 'user')") total_account_balance_first_day ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") active_listings ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") approximate_continuous_booking_value_p99 ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") approximate_discrete_booking_value_p99 ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") average_booking_value ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") average_instant_booking_value ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") bookers ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") booking_fees ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") booking_fees_per_booker ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") booking_payments ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") booking_value ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") booking_value_for_non_null_listing_id ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") booking_value_p99 ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") booking_value_per_view ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") booking_value_per_view ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") booking_value_sub_instant ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") booking_value_sub_instant_add_10 ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") bookings ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") bookings_fill_nulls_with_0 ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") bookings_fill_nulls_with_0_without_time_spine ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") bookings_join_to_time_spine ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") bookings_per_booker ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") bookings_per_dollar ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") bookings_per_listing ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") bookings_per_listing ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") bookings_per_lux_listing_derived ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") bookings_per_lux_listing_derived ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") bookings_per_view ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") bookings_per_view ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") derived_bookings_0 ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") derived_bookings_1 ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") discrete_booking_value_p99 ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") double_counted_delayed_bookings ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") instant_booking_fraction_of_max_value ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") instant_booking_value ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") instant_booking_value_ratio ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") instant_bookings ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") instant_lux_booking_value_rate ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") instant_plus_non_referred_bookings_pct ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") largest_listing ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") listings ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") lux_booking_fraction_of_max_value ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") lux_booking_value_rate_expr ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") lux_listings ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") max_booking_value ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") median_booking_value ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") min_booking_value ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") nested_fill_nulls_without_time_spine ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") non_referred_bookings_pct ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") referred_bookings ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") smallest_listing ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") twice_bookings_fill_nulls_with_0_without_time_spine ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") views ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") views_times_booking_value ['JOINED', 'METRIC'] -('',) ("('user',)", "('listing', 'user')") views_times_booking_value ['JOINED', 'METRIC'] -('',) ("('user',)", "('revenue_instance', 'user')") revenue ['JOINED', 'METRIC'] -('',) ("('user',)", "('revenue_instance', 'user')") revenue_all_time ['JOINED', 'METRIC'] -('',) ("('user',)", "('user',)") active_listings ['JOINED', 'METRIC'] -('',) ("('user',)", "('user',)") current_account_balance_by_user ['JOINED', 'METRIC'] -('',) ("('user',)", "('user',)") identity_verifications ['JOINED', 'METRIC'] -('',) ("('user',)", "('user',)") largest_listing ['JOINED', 'METRIC'] -('',) ("('user',)", "('user',)") listings ['JOINED', 'METRIC'] -('',) ("('user',)", "('user',)") lux_listings ['JOINED', 'METRIC'] -('',) ("('user',)", "('user',)") regional_starting_balance_ratios ['JOINED', 'METRIC'] -('',) ("('user',)", "('user',)") revenue ['JOINED', 'METRIC'] -('',) ("('user',)", "('user',)") revenue_all_time ['JOINED', 'METRIC'] -('',) ("('user',)", "('user',)") smallest_listing ['JOINED', 'METRIC'] -('',) ("('user',)", "('user',)") total_account_balance_first_day ['JOINED', 'METRIC'] -('',) ("('user',)", "('user',)") views ['JOINED', 'METRIC'] -('',) ("('user',)", "('user',)") visit_buy_conversion_rate ['JOINED', 'METRIC'] -('',) ("('user',)", "('user',)") visit_buy_conversion_rate_7days ['JOINED', 'METRIC'] -('',) ("('user',)", "('user',)") visit_buy_conversion_rate_7days_fill_nulls_with_0 ['JOINED', 'METRIC'] -('',) ("('user',)", "('user',)") visit_buy_conversion_rate_by_session ['JOINED', 'METRIC'] -('',) ("('user',)", "('user',)") visit_buy_conversions ['JOINED', 'METRIC'] -('',) ("('user',)", "('verification', 'user')") identity_verifications ['JOINED', 'METRIC'] -('',) ("('user',)", "('view', 'user')") views ['JOINED', 'METRIC'] -('',) ("('user',)", "('visit', 'user')") visit_buy_conversion_rate ['JOINED', 'METRIC'] -('',) ("('user',)", "('visit', 'user')") visit_buy_conversion_rate_7days ['JOINED', 'METRIC'] -('',) ("('user',)", "('visit', 'user')") visit_buy_conversion_rate_7days_fill_nulls_with_0 ['JOINED', 'METRIC'] -('',) ("('user',)", "('visit', 'user')") visit_buy_conversion_rate_by_session ['JOINED', 'METRIC'] -('',) ("('user',)", "('visit', 'user')") visit_buy_conversions ['JOINED', 'METRIC'] ('listings_latest',) () listing ['ENTITY', 'LOCAL'] ('listings_latest',) () metric_time DAY ['METRIC_TIME'] ('listings_latest',) () metric_time DAY DAY ['DERIVED_TIME_GRANULARITY', 'METRIC_TIME'] @@ -198,6 +22,182 @@ Model Join-Path Entity Links ('listings_latest',) () metric_time YEAR ['DERIVED_TIME_GRANULARITY', 'METRIC_TIME'] ('listings_latest',) () metric_time YEAR YEAR ['DERIVED_TIME_GRANULARITY', 'METRIC_TIME'] ('listings_latest',) () user ['ENTITY', 'LOCAL'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") approximate_continuous_booking_value_p99 ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") approximate_discrete_booking_value_p99 ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") average_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") average_instant_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") bookers ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") booking_fees ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") booking_fees_per_booker ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") booking_payments ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") booking_value_for_non_null_listing_id ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") booking_value_p99 ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") booking_value_sub_instant ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") booking_value_sub_instant_add_10 ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") bookings ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") bookings_fill_nulls_with_0 ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") bookings_fill_nulls_with_0_without_time_spine ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") bookings_join_to_time_spine ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") bookings_per_booker ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") bookings_per_dollar ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") derived_bookings_0 ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") derived_bookings_1 ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") discrete_booking_value_p99 ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") double_counted_delayed_bookings ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") instant_booking_fraction_of_max_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") instant_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") instant_booking_value_ratio ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") instant_bookings ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") instant_lux_booking_value_rate ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") instant_plus_non_referred_bookings_pct ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") lux_booking_fraction_of_max_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") lux_booking_value_rate_expr ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") max_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") median_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") min_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") nested_fill_nulls_without_time_spine ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") non_referred_bookings_pct ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") referred_bookings ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('booking', 'listing')") twice_bookings_fill_nulls_with_0_without_time_spine ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") active_listings ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") approximate_continuous_booking_value_p99 ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") approximate_discrete_booking_value_p99 ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") average_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") average_instant_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") bookers ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") booking_fees ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") booking_fees_per_booker ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") booking_payments ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") booking_value_for_non_null_listing_id ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") booking_value_p99 ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") booking_value_per_view ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") booking_value_per_view ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") booking_value_sub_instant ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") booking_value_sub_instant_add_10 ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") bookings ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") bookings_fill_nulls_with_0 ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") bookings_fill_nulls_with_0_without_time_spine ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") bookings_join_to_time_spine ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") bookings_per_booker ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") bookings_per_dollar ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") bookings_per_listing ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") bookings_per_listing ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") bookings_per_lux_listing_derived ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") bookings_per_lux_listing_derived ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") bookings_per_view ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") bookings_per_view ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") derived_bookings_0 ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") derived_bookings_1 ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") discrete_booking_value_p99 ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") double_counted_delayed_bookings ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") instant_booking_fraction_of_max_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") instant_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") instant_booking_value_ratio ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") instant_bookings ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") instant_lux_booking_value_rate ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") instant_plus_non_referred_bookings_pct ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") largest_listing ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") listings ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") lux_booking_fraction_of_max_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") lux_booking_value_rate_expr ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") lux_listings ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") max_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") median_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") min_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") nested_fill_nulls_without_time_spine ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") non_referred_bookings_pct ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") referred_bookings ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") smallest_listing ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") twice_bookings_fill_nulls_with_0_without_time_spine ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") views ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") views_times_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('listing',)") views_times_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('listing',)", "('view', 'listing')") views ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('account', 'user')") current_account_balance_by_user ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('account', 'user')") regional_starting_balance_ratios ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('account', 'user')") total_account_balance_first_day ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") active_listings ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") approximate_continuous_booking_value_p99 ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") approximate_discrete_booking_value_p99 ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") average_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") average_instant_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") bookers ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") booking_fees ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") booking_fees_per_booker ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") booking_payments ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") booking_value_for_non_null_listing_id ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") booking_value_p99 ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") booking_value_per_view ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") booking_value_per_view ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") booking_value_sub_instant ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") booking_value_sub_instant_add_10 ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") bookings ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") bookings_fill_nulls_with_0 ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") bookings_fill_nulls_with_0_without_time_spine ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") bookings_join_to_time_spine ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") bookings_per_booker ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") bookings_per_dollar ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") bookings_per_listing ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") bookings_per_listing ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") bookings_per_lux_listing_derived ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") bookings_per_lux_listing_derived ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") bookings_per_view ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") bookings_per_view ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") derived_bookings_0 ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") derived_bookings_1 ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") discrete_booking_value_p99 ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") double_counted_delayed_bookings ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") instant_booking_fraction_of_max_value ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") instant_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") instant_booking_value_ratio ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") instant_bookings ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") instant_lux_booking_value_rate ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") instant_plus_non_referred_bookings_pct ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") largest_listing ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") listings ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") lux_booking_fraction_of_max_value ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") lux_booking_value_rate_expr ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") lux_listings ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") max_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") median_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") min_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") nested_fill_nulls_without_time_spine ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") non_referred_bookings_pct ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") referred_bookings ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") smallest_listing ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") twice_bookings_fill_nulls_with_0_without_time_spine ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") views ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") views_times_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('listing', 'user')") views_times_booking_value ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('revenue_instance', 'user')") revenue ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('revenue_instance', 'user')") revenue_all_time ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('user',)") active_listings ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('user',)") current_account_balance_by_user ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('user',)") identity_verifications ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('user',)") largest_listing ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('user',)") listings ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('user',)") lux_listings ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('user',)") regional_starting_balance_ratios ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('user',)") revenue ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('user',)") revenue_all_time ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('user',)") smallest_listing ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('user',)") total_account_balance_first_day ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('user',)") views ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('user',)") visit_buy_conversion_rate ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('user',)") visit_buy_conversion_rate_7days ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('user',)") visit_buy_conversion_rate_7days_fill_nulls_with_0 ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('user',)") visit_buy_conversion_rate_by_session ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('user',)") visit_buy_conversions ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('verification', 'user')") identity_verifications ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('view', 'user')") views ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('visit', 'user')") visit_buy_conversion_rate ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('visit', 'user')") visit_buy_conversion_rate_7days ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('visit', 'user')") visit_buy_conversion_rate_7days_fill_nulls_with_0 ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('visit', 'user')") visit_buy_conversion_rate_by_session ['JOINED', 'METRIC'] +('listings_latest',) ("('user',)", "('visit', 'user')") visit_buy_conversions ['JOINED', 'METRIC'] ('listings_latest',) ('listing',) capacity_latest ['LOCAL'] ('listings_latest',) ('listing',) country_latest ['LOCAL'] ('listings_latest',) ('listing',) created_at DAY ['LOCAL'] diff --git a/metricflow-semantics/tests_metricflow_semantics/snapshots/test_semantic_model_container.py/str/test_linkable_elements_for_measure_multi_hop_model__result0.txt b/metricflow-semantics/tests_metricflow_semantics/snapshots/test_semantic_model_container.py/str/test_linkable_elements_for_measure_multi_hop_model__result0.txt index 2d7835c2c3..427981431b 100644 --- a/metricflow-semantics/tests_metricflow_semantics/snapshots/test_semantic_model_container.py/str/test_linkable_elements_for_measure_multi_hop_model__result0.txt +++ b/metricflow-semantics/tests_metricflow_semantics/snapshots/test_semantic_model_container.py/str/test_linkable_elements_for_measure_multi_hop_model__result0.txt @@ -1,6 +1,5 @@ Model Join-Path Entity Links Name Time Granularity Date Part Properties ------------------------------------------------------------- -------------------------------------- ---------------------- ------------------ ----------- ------------------------------------------- -('',) ("('account_id',)", "('account_id',)") txn_count ['JOINED', 'METRIC'] ('account_month_txns',) () account_id ['ENTITY', 'LOCAL'] ('account_month_txns',) () metric_time DAY ['METRIC_TIME'] ('account_month_txns',) () metric_time DAY DAY ['DERIVED_TIME_GRANULARITY', 'METRIC_TIME'] @@ -22,6 +21,7 @@ Model Join-Path Entity Links ('account_month_txns',) () metric_time WEEK YEAR ['DERIVED_TIME_GRANULARITY', 'METRIC_TIME'] ('account_month_txns',) () metric_time YEAR ['DERIVED_TIME_GRANULARITY', 'METRIC_TIME'] ('account_month_txns',) () metric_time YEAR YEAR ['DERIVED_TIME_GRANULARITY', 'METRIC_TIME'] +('account_month_txns',) ("('account_id',)", "('account_id',)") txn_count ['JOINED', 'METRIC'] ('account_month_txns',) ('account_id',) account_month ['LOCAL'] ('account_month_txns',) ('account_id',) ds DAY ['LOCAL'] ('account_month_txns',) ('account_id',) ds DAY DAY ['LOCAL']