-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle no-metric queries with sub-daily metric_time
#1359
Changes from 1 commit
1b4bdf7
1c772f1
6df42d9
2c440f2
de20f4f
16c999b
bf490d1
e984404
763db74
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -419,7 +419,6 @@ | |
'lux_listing__listing__lux_listing__twice_bookings_fill_nulls_with_0_without_time_spine', | ||
'lux_listing__listing__lux_listing__views', | ||
'lux_listing__listing__lux_listing__views_times_booking_value', | ||
'metric_time__day', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wait, is this expected? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes! I had the same question and meant to leave a comment explaining but I forgot. |
||
'revenue_instance__ds__day', | ||
'revenue_instance__ds__extract_day', | ||
'revenue_instance__ds__extract_dow', | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This default is because the time_spine_sources automatically include the DAY granularity (via
TimeSpineSource.create_from_manifest()
) if no custom time spines are found, correct?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This default is set so that if you query ambiguous
metric_time
without metrics, we don't return nanoseconds if you have that time spine configured. Sincemetric_time
defaults toDAY
in all other scenarios (unless overridden by the metric's default granularity), this seemed like the expected behavior.