From a2bc038ecece19d76f93c5481dde6d9370b19a04 Mon Sep 17 00:00:00 2001 From: Will Deng Date: Mon, 7 Oct 2024 14:05:38 -0400 Subject: [PATCH] snapshots --- ...st_saved_query_with_metric_joins_and_filter__plan0.sql | 8 ++++---- ...uery_with_metric_joins_and_filter__plan0_optimized.sql | 8 ++++---- ...st_saved_query_with_metric_joins_and_filter__plan0.sql | 8 ++++---- ...uery_with_metric_joins_and_filter__plan0_optimized.sql | 8 ++++---- ...st_saved_query_with_metric_joins_and_filter__plan0.sql | 8 ++++---- ...uery_with_metric_joins_and_filter__plan0_optimized.sql | 8 ++++---- ...st_saved_query_with_metric_joins_and_filter__plan0.sql | 8 ++++---- ...uery_with_metric_joins_and_filter__plan0_optimized.sql | 8 ++++---- ...st_saved_query_with_metric_joins_and_filter__plan0.sql | 8 ++++---- ...uery_with_metric_joins_and_filter__plan0_optimized.sql | 8 ++++---- ...st_saved_query_with_metric_joins_and_filter__plan0.sql | 8 ++++---- ...uery_with_metric_joins_and_filter__plan0_optimized.sql | 8 ++++---- ...st_saved_query_with_metric_joins_and_filter__plan0.sql | 8 ++++---- ...uery_with_metric_joins_and_filter__plan0_optimized.sql | 8 ++++---- 14 files changed, 56 insertions(+), 56 deletions(-) diff --git a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/BigQuery/test_saved_query_with_metric_joins_and_filter__plan0.sql b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/BigQuery/test_saved_query_with_metric_joins_and_filter__plan0.sql index 7651e623a6..285de52878 100644 --- a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/BigQuery/test_saved_query_with_metric_joins_and_filter__plan0.sql +++ b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/BigQuery/test_saved_query_with_metric_joins_and_filter__plan0.sql @@ -386,7 +386,7 @@ FROM ( subq_2.listing = subq_5.listing ) subq_6 ) subq_7 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_8 ) subq_9 GROUP BY @@ -698,7 +698,7 @@ FULL OUTER JOIN ( subq_14.listing = subq_17.listing ) subq_18 ) subq_19 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_20 ) subq_21 GROUP BY @@ -1100,7 +1100,7 @@ FULL OUTER JOIN ( subq_26.listing = subq_29.listing ) subq_30 ) subq_31 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_32 ) subq_33 GROUP BY @@ -1412,7 +1412,7 @@ FULL OUTER JOIN ( subq_38.listing = subq_41.listing ) subq_42 ) subq_43 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_44 ) subq_45 GROUP BY diff --git a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/BigQuery/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/BigQuery/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql index 34d3360c10..dd7995ff8a 100644 --- a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/BigQuery/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql +++ b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/BigQuery/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql @@ -35,7 +35,7 @@ FROM ( ON subq_52.listing = listings_latest_src_28000.listing_id ) subq_57 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_61 @@ -70,7 +70,7 @@ FULL OUTER JOIN ( ON subq_64.listing = listings_latest_src_28000.listing_id ) subq_69 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_73 @@ -113,7 +113,7 @@ FULL OUTER JOIN ( ON subq_76.listing = listings_latest_src_28000.listing_id ) subq_81 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_85 @@ -148,7 +148,7 @@ FULL OUTER JOIN ( ON subq_88.listing = listings_latest_src_28000.listing_id ) subq_93 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_97 diff --git a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Databricks/test_saved_query_with_metric_joins_and_filter__plan0.sql b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Databricks/test_saved_query_with_metric_joins_and_filter__plan0.sql index a9ad15dac1..c8655a1c38 100644 --- a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Databricks/test_saved_query_with_metric_joins_and_filter__plan0.sql +++ b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Databricks/test_saved_query_with_metric_joins_and_filter__plan0.sql @@ -386,7 +386,7 @@ FROM ( subq_2.listing = subq_5.listing ) subq_6 ) subq_7 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_8 ) subq_9 GROUP BY @@ -698,7 +698,7 @@ FULL OUTER JOIN ( subq_14.listing = subq_17.listing ) subq_18 ) subq_19 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_20 ) subq_21 GROUP BY @@ -1100,7 +1100,7 @@ FULL OUTER JOIN ( subq_26.listing = subq_29.listing ) subq_30 ) subq_31 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_32 ) subq_33 GROUP BY @@ -1412,7 +1412,7 @@ FULL OUTER JOIN ( subq_38.listing = subq_41.listing ) subq_42 ) subq_43 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_44 ) subq_45 GROUP BY diff --git a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Databricks/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Databricks/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql index 062477fe3c..2ca354329c 100644 --- a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Databricks/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql +++ b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Databricks/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql @@ -35,7 +35,7 @@ FROM ( ON subq_52.listing = listings_latest_src_28000.listing_id ) subq_57 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_61 @@ -70,7 +70,7 @@ FULL OUTER JOIN ( ON subq_64.listing = listings_latest_src_28000.listing_id ) subq_69 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_73 @@ -113,7 +113,7 @@ FULL OUTER JOIN ( ON subq_76.listing = listings_latest_src_28000.listing_id ) subq_81 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_85 @@ -148,7 +148,7 @@ FULL OUTER JOIN ( ON subq_88.listing = listings_latest_src_28000.listing_id ) subq_93 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_97 diff --git a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/DuckDB/test_saved_query_with_metric_joins_and_filter__plan0.sql b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/DuckDB/test_saved_query_with_metric_joins_and_filter__plan0.sql index ae495323cd..25af00dd94 100644 --- a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/DuckDB/test_saved_query_with_metric_joins_and_filter__plan0.sql +++ b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/DuckDB/test_saved_query_with_metric_joins_and_filter__plan0.sql @@ -386,7 +386,7 @@ FROM ( subq_2.listing = subq_5.listing ) subq_6 ) subq_7 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_8 ) subq_9 GROUP BY @@ -698,7 +698,7 @@ FULL OUTER JOIN ( subq_14.listing = subq_17.listing ) subq_18 ) subq_19 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_20 ) subq_21 GROUP BY @@ -1100,7 +1100,7 @@ FULL OUTER JOIN ( subq_26.listing = subq_29.listing ) subq_30 ) subq_31 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_32 ) subq_33 GROUP BY @@ -1412,7 +1412,7 @@ FULL OUTER JOIN ( subq_38.listing = subq_41.listing ) subq_42 ) subq_43 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_44 ) subq_45 GROUP BY diff --git a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/DuckDB/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/DuckDB/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql index 062477fe3c..2ca354329c 100644 --- a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/DuckDB/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql +++ b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/DuckDB/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql @@ -35,7 +35,7 @@ FROM ( ON subq_52.listing = listings_latest_src_28000.listing_id ) subq_57 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_61 @@ -70,7 +70,7 @@ FULL OUTER JOIN ( ON subq_64.listing = listings_latest_src_28000.listing_id ) subq_69 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_73 @@ -113,7 +113,7 @@ FULL OUTER JOIN ( ON subq_76.listing = listings_latest_src_28000.listing_id ) subq_81 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_85 @@ -148,7 +148,7 @@ FULL OUTER JOIN ( ON subq_88.listing = listings_latest_src_28000.listing_id ) subq_93 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_97 diff --git a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Postgres/test_saved_query_with_metric_joins_and_filter__plan0.sql b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Postgres/test_saved_query_with_metric_joins_and_filter__plan0.sql index 18330a12ed..43ff1fdc74 100644 --- a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Postgres/test_saved_query_with_metric_joins_and_filter__plan0.sql +++ b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Postgres/test_saved_query_with_metric_joins_and_filter__plan0.sql @@ -386,7 +386,7 @@ FROM ( subq_2.listing = subq_5.listing ) subq_6 ) subq_7 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_8 ) subq_9 GROUP BY @@ -698,7 +698,7 @@ FULL OUTER JOIN ( subq_14.listing = subq_17.listing ) subq_18 ) subq_19 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_20 ) subq_21 GROUP BY @@ -1100,7 +1100,7 @@ FULL OUTER JOIN ( subq_26.listing = subq_29.listing ) subq_30 ) subq_31 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_32 ) subq_33 GROUP BY @@ -1412,7 +1412,7 @@ FULL OUTER JOIN ( subq_38.listing = subq_41.listing ) subq_42 ) subq_43 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_44 ) subq_45 GROUP BY diff --git a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Postgres/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Postgres/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql index b92d5c1bd6..5102f461dc 100644 --- a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Postgres/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql +++ b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Postgres/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql @@ -35,7 +35,7 @@ FROM ( ON subq_52.listing = listings_latest_src_28000.listing_id ) subq_57 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_61 @@ -70,7 +70,7 @@ FULL OUTER JOIN ( ON subq_64.listing = listings_latest_src_28000.listing_id ) subq_69 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_73 @@ -113,7 +113,7 @@ FULL OUTER JOIN ( ON subq_76.listing = listings_latest_src_28000.listing_id ) subq_81 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_85 @@ -148,7 +148,7 @@ FULL OUTER JOIN ( ON subq_88.listing = listings_latest_src_28000.listing_id ) subq_93 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_97 diff --git a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Redshift/test_saved_query_with_metric_joins_and_filter__plan0.sql b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Redshift/test_saved_query_with_metric_joins_and_filter__plan0.sql index 5e4e50b599..f70f5cf344 100644 --- a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Redshift/test_saved_query_with_metric_joins_and_filter__plan0.sql +++ b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Redshift/test_saved_query_with_metric_joins_and_filter__plan0.sql @@ -386,7 +386,7 @@ FROM ( subq_2.listing = subq_5.listing ) subq_6 ) subq_7 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_8 ) subq_9 GROUP BY @@ -698,7 +698,7 @@ FULL OUTER JOIN ( subq_14.listing = subq_17.listing ) subq_18 ) subq_19 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_20 ) subq_21 GROUP BY @@ -1100,7 +1100,7 @@ FULL OUTER JOIN ( subq_26.listing = subq_29.listing ) subq_30 ) subq_31 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_32 ) subq_33 GROUP BY @@ -1412,7 +1412,7 @@ FULL OUTER JOIN ( subq_38.listing = subq_41.listing ) subq_42 ) subq_43 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_44 ) subq_45 GROUP BY diff --git a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Redshift/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Redshift/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql index b92d5c1bd6..5102f461dc 100644 --- a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Redshift/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql +++ b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Redshift/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql @@ -35,7 +35,7 @@ FROM ( ON subq_52.listing = listings_latest_src_28000.listing_id ) subq_57 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_61 @@ -70,7 +70,7 @@ FULL OUTER JOIN ( ON subq_64.listing = listings_latest_src_28000.listing_id ) subq_69 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_73 @@ -113,7 +113,7 @@ FULL OUTER JOIN ( ON subq_76.listing = listings_latest_src_28000.listing_id ) subq_81 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_85 @@ -148,7 +148,7 @@ FULL OUTER JOIN ( ON subq_88.listing = listings_latest_src_28000.listing_id ) subq_93 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_97 diff --git a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Snowflake/test_saved_query_with_metric_joins_and_filter__plan0.sql b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Snowflake/test_saved_query_with_metric_joins_and_filter__plan0.sql index 6f68b96a41..a259cf2d3e 100644 --- a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Snowflake/test_saved_query_with_metric_joins_and_filter__plan0.sql +++ b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Snowflake/test_saved_query_with_metric_joins_and_filter__plan0.sql @@ -386,7 +386,7 @@ FROM ( subq_2.listing = subq_5.listing ) subq_6 ) subq_7 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_8 ) subq_9 GROUP BY @@ -698,7 +698,7 @@ FULL OUTER JOIN ( subq_14.listing = subq_17.listing ) subq_18 ) subq_19 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_20 ) subq_21 GROUP BY @@ -1100,7 +1100,7 @@ FULL OUTER JOIN ( subq_26.listing = subq_29.listing ) subq_30 ) subq_31 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_32 ) subq_33 GROUP BY @@ -1412,7 +1412,7 @@ FULL OUTER JOIN ( subq_38.listing = subq_41.listing ) subq_42 ) subq_43 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_44 ) subq_45 GROUP BY diff --git a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Snowflake/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Snowflake/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql index 062477fe3c..2ca354329c 100644 --- a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Snowflake/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql +++ b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Snowflake/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql @@ -35,7 +35,7 @@ FROM ( ON subq_52.listing = listings_latest_src_28000.listing_id ) subq_57 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_61 @@ -70,7 +70,7 @@ FULL OUTER JOIN ( ON subq_64.listing = listings_latest_src_28000.listing_id ) subq_69 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_73 @@ -113,7 +113,7 @@ FULL OUTER JOIN ( ON subq_76.listing = listings_latest_src_28000.listing_id ) subq_81 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_85 @@ -148,7 +148,7 @@ FULL OUTER JOIN ( ON subq_88.listing = listings_latest_src_28000.listing_id ) subq_93 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_97 diff --git a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Trino/test_saved_query_with_metric_joins_and_filter__plan0.sql b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Trino/test_saved_query_with_metric_joins_and_filter__plan0.sql index 0e1e6f0648..ab47adc254 100644 --- a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Trino/test_saved_query_with_metric_joins_and_filter__plan0.sql +++ b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Trino/test_saved_query_with_metric_joins_and_filter__plan0.sql @@ -386,7 +386,7 @@ FROM ( subq_2.listing = subq_5.listing ) subq_6 ) subq_7 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_8 ) subq_9 GROUP BY @@ -698,7 +698,7 @@ FULL OUTER JOIN ( subq_14.listing = subq_17.listing ) subq_18 ) subq_19 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_20 ) subq_21 GROUP BY @@ -1100,7 +1100,7 @@ FULL OUTER JOIN ( subq_26.listing = subq_29.listing ) subq_30 ) subq_31 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_32 ) subq_33 GROUP BY @@ -1412,7 +1412,7 @@ FULL OUTER JOIN ( subq_38.listing = subq_41.listing ) subq_42 ) subq_43 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') ) subq_44 ) subq_45 GROUP BY diff --git a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Trino/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Trino/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql index 062477fe3c..2ca354329c 100644 --- a/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Trino/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql +++ b/tests_metricflow/snapshots/test_predicate_pushdown_rendering.py/SqlQueryPlan/Trino/test_saved_query_with_metric_joins_and_filter__plan0_optimized.sql @@ -35,7 +35,7 @@ FROM ( ON subq_52.listing = listings_latest_src_28000.listing_id ) subq_57 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_61 @@ -70,7 +70,7 @@ FULL OUTER JOIN ( ON subq_64.listing = listings_latest_src_28000.listing_id ) subq_69 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_73 @@ -113,7 +113,7 @@ FULL OUTER JOIN ( ON subq_76.listing = listings_latest_src_28000.listing_id ) subq_81 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_85 @@ -148,7 +148,7 @@ FULL OUTER JOIN ( ON subq_88.listing = listings_latest_src_28000.listing_id ) subq_93 - WHERE ( listing__is_lux_latest ) AND ( metric_time__day >= '2020-01-02' ) + WHERE (listing__is_lux_latest) AND (metric_time__day >= '2020-01-02') GROUP BY listing__capacity_latest ) subq_97