test_name: test_explain
test_filename: test_cli_quiet.py
docstring:
  Test that the `--quiet` flag only shows the SQL when explaining a query.
---
SELECT
  metric_time__day
  , SUM(__transactions) AS transactions
FROM (
  SELECT
    DATE_TRUNC('day', ds) AS metric_time__day
    , 1 AS __transactions
  FROM "mf_tutorial"."main"."transactions" transactions_src_10000
) subq_3
GROUP BY
  metric_time__day
ORDER BY metric_time__day
