-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test metrics with default_granularity and adjust expected test re…
…sults
- Loading branch information
1 parent
ad22365
commit 5b7b886
Showing
8 changed files
with
87 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 4 additions & 38 deletions
42
...ll_nulls_with_0.py/str/DuckDB/test_fill_nulls_with_0_multi_metric_query__query_output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,8 @@ | ||
metric_time__day bookings_fill_nulls_with_0 views | ||
metric_time__week bookings_fill_nulls_with_0 views | ||
------------------- ---------------------------- ------- | ||
2019-11-27T00:00:00 0 None | ||
2019-11-28T00:00:00 0 None | ||
2019-11-29T00:00:00 0 None | ||
2019-11-30T00:00:00 0 None | ||
2019-12-01T00:00:00 1 None | ||
2019-11-25T00:00:00 1 None | ||
2019-12-02T00:00:00 0 None | ||
2019-12-03T00:00:00 0 None | ||
2019-12-04T00:00:00 0 None | ||
2019-12-05T00:00:00 0 None | ||
2019-12-06T00:00:00 0 None | ||
2019-12-07T00:00:00 0 None | ||
2019-12-08T00:00:00 0 None | ||
2019-12-09T00:00:00 0 None | ||
2019-12-10T00:00:00 0 None | ||
2019-12-11T00:00:00 0 None | ||
2019-12-12T00:00:00 0 None | ||
2019-12-13T00:00:00 0 None | ||
2019-12-14T00:00:00 0 None | ||
2019-12-15T00:00:00 0 None | ||
2019-12-16T00:00:00 0 None | ||
2019-12-17T00:00:00 0 None | ||
2019-12-18T00:00:00 10 None | ||
2019-12-19T00:00:00 18 None | ||
2019-12-20T00:00:00 2 None | ||
2019-12-21T00:00:00 0 None | ||
2019-12-22T00:00:00 0 None | ||
2019-12-16T00:00:00 30 None | ||
2019-12-23T00:00:00 0 None | ||
2019-12-24T00:00:00 0 None | ||
2019-12-25T00:00:00 0 None | ||
2019-12-26T00:00:00 0 None | ||
2019-12-27T00:00:00 0 None | ||
2019-12-28T00:00:00 0 None | ||
2019-12-29T00:00:00 0 None | ||
2019-12-30T00:00:00 0 None | ||
2019-12-31T00:00:00 0 None | ||
2020-01-01T00:00:00 5 2 | ||
2020-01-02T00:00:00 9 5 | ||
2020-01-03T00:00:00 1 None | ||
2020-01-04T00:00:00 0 1 | ||
2020-01-05T00:00:00 0 1 | ||
2019-12-30T00:00:00 15 9 |
42 changes: 4 additions & 38 deletions
42
...ll_nulls_with_0.py/str/DuckDB/test_simple_fill_nulls_with_0_metric_time__query_output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,8 @@ | ||
metric_time__day bookings_fill_nulls_with_0 | ||
metric_time__week bookings_fill_nulls_with_0 | ||
------------------- ---------------------------- | ||
2019-11-27T00:00:00 0 | ||
2019-11-28T00:00:00 0 | ||
2019-11-29T00:00:00 0 | ||
2019-11-30T00:00:00 0 | ||
2019-12-01T00:00:00 1 | ||
2019-11-25T00:00:00 1 | ||
2019-12-02T00:00:00 0 | ||
2019-12-03T00:00:00 0 | ||
2019-12-04T00:00:00 0 | ||
2019-12-05T00:00:00 0 | ||
2019-12-06T00:00:00 0 | ||
2019-12-07T00:00:00 0 | ||
2019-12-08T00:00:00 0 | ||
2019-12-09T00:00:00 0 | ||
2019-12-10T00:00:00 0 | ||
2019-12-11T00:00:00 0 | ||
2019-12-12T00:00:00 0 | ||
2019-12-13T00:00:00 0 | ||
2019-12-14T00:00:00 0 | ||
2019-12-15T00:00:00 0 | ||
2019-12-16T00:00:00 0 | ||
2019-12-17T00:00:00 0 | ||
2019-12-18T00:00:00 10 | ||
2019-12-19T00:00:00 18 | ||
2019-12-20T00:00:00 2 | ||
2019-12-21T00:00:00 0 | ||
2019-12-22T00:00:00 0 | ||
2019-12-16T00:00:00 30 | ||
2019-12-23T00:00:00 0 | ||
2019-12-24T00:00:00 0 | ||
2019-12-25T00:00:00 0 | ||
2019-12-26T00:00:00 0 | ||
2019-12-27T00:00:00 0 | ||
2019-12-28T00:00:00 0 | ||
2019-12-29T00:00:00 0 | ||
2019-12-30T00:00:00 0 | ||
2019-12-31T00:00:00 0 | ||
2020-01-01T00:00:00 5 | ||
2020-01-02T00:00:00 9 | ||
2020-01-03T00:00:00 1 | ||
2020-01-04T00:00:00 0 | ||
2020-01-05T00:00:00 0 | ||
2019-12-30T00:00:00 15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters