|
@@ -43,7 +43,6 @@ from sentry.utils.snuba import (
|
|
is_span_op_breakdown,
|
|
is_span_op_breakdown,
|
|
naiveify_datetime,
|
|
naiveify_datetime,
|
|
resolve_column,
|
|
resolve_column,
|
|
- resolve_snuba_aliases,
|
|
|
|
to_naive_timestamp,
|
|
to_naive_timestamp,
|
|
)
|
|
)
|
|
|
|
|
|
@@ -98,19 +97,6 @@ def is_real_column(col):
|
|
return True
|
|
return True
|
|
|
|
|
|
|
|
|
|
-def resolve_discover_aliases(snuba_filter, function_translations=None):
|
|
|
|
- """
|
|
|
|
- Resolve the public schema aliases to the discover dataset.
|
|
|
|
-
|
|
|
|
- Returns a copy of the input structure, and includes a
|
|
|
|
- `translated_columns` key containing the selected fields that need to
|
|
|
|
- be renamed in the result set.
|
|
|
|
- """
|
|
|
|
- return resolve_snuba_aliases(
|
|
|
|
- snuba_filter, resolve_discover_column, function_translations=function_translations
|
|
|
|
- )
|
|
|
|
-
|
|
|
|
-
|
|
|
|
def zerofill(data, start, end, rollup, orderby):
|
|
def zerofill(data, start, end, rollup, orderby):
|
|
rv = []
|
|
rv = []
|
|
start = int(to_naive_timestamp(naiveify_datetime(start)) / rollup) * rollup
|
|
start = int(to_naive_timestamp(naiveify_datetime(start)) / rollup) * rollup
|