-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
948ebe6
commit c877e3a
Showing
4 changed files
with
119 additions
and
0 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
12 changes: 12 additions & 0 deletions
12
...fset_metrics.py/str/DuckDB/test_custom_offset_window_period_over_period__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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
test_name: test_custom_offset_window_period_over_period | ||
test_filename: test_offset_metrics.py | ||
--- | ||
metric_time__day bookings_martian_day_over_martian_day | ||
------------------- --------------------------------------- | ||
2019-12-01T00:00:00 0 | ||
2019-12-18T00:00:00 9 | ||
2019-12-19T00:00:00 17 | ||
2019-12-20T00:00:00 1 | ||
2020-01-01T00:00:00 4 | ||
2020-01-02T00:00:00 8 | ||
2020-01-03T00:00:00 0 |
12 changes: 12 additions & 0 deletions
12
..._offset_metrics.py/str/DuckDB/test_custom_offset_window_with_base_grain__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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
test_name: test_custom_offset_window_with_base_grain | ||
test_filename: test_offset_metrics.py | ||
--- | ||
metric_time__day bookings_offset_one_martian_day | ||
------------------- --------------------------------- | ||
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 |
7 changes: 7 additions & 0 deletions
7
...trics.py/str/DuckDB/test_custom_offset_window_with_grains_and_date_part__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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
test_name: test_custom_offset_window_with_grains_and_date_part | ||
test_filename: test_offset_metrics.py | ||
--- | ||
metric_time__martian_day booking__ds__month metric_time__extract_year bookings_offset_one_martian_day | ||
-------------------------- -------------------- --------------------------- --------------------------------- | ||
2020-01-08T00:00:00 2019-12-01T00:00:00 2019 31 | ||
2020-01-08T00:00:00 2020-01-01T00:00:00 2020 15 |