Skip to content

Commit

Permalink
Update snapshots.
Browse files Browse the repository at this point in the history
  • Loading branch information
plypaul committed Feb 21, 2025
1 parent adcd5cd commit 933803a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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(bookings) AS bookings
FROM (
SELECT
DATE_TRUNC('day', ds) AS metric_time__day
, 1 AS bookings
FROM ***************************.fct_bookings bookings_source_src_10000
) subq_2
GROUP BY
metric_time__day
ORDER BY metric_time__day
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
test_name: test_query
test_filename: test_cli_quiet.py
docstring:
Test that the `--quiet` flag only shows the table when running a query.
---
metric_time__day bookings
------------------- ----------
2019-12-01T00:00:00 1
2019-12-18T00:00:00 10
2019-12-19T00:00:00 18
2019-12-20T00:00:00 2
2020-01-01T00:00:00 5
2020-01-02T00:00:00 9
2020-01-03T00:00:00 1

0 comments on commit 933803a

Please sign in to comment.