This commit is contained in:
Родитель
e9b2993e54
Коммит
f6a2f41706
|
@ -0,0 +1,15 @@
|
|||
|
||||
# Getting Started with bzETL
|
||||
|
||||
This document should be expanded
|
||||
|
||||
* The public bugs are exposed at this endpoint: https://activedata-public.devsvcprod.mozaws.net/query
|
||||
* The endpoint accepts "json query expresssions": https://github.com/mozilla/ActiveData/blob/dev/docs/jx.md
|
||||
* An example page that uses that endpoint: https://s3-us-west-2.amazonaws.com/charts.mozilla.org/metrics/Tutorial01-Minimum.html
|
||||
* Each document is a "snapshot": The stat of the bug between `modified_ts` and `expires_on` timestamps. Timestamps are in **milliseconds since epoch**. The current bug snapshot can be found with `{"eq":{"expires_on":9999999999000}}`
|
||||
* There is a primitive query tool (static site) that can be used to POST queries ot the endpoint, and see the result: https://activedata-public.devsvcprod.mozaws.net/tools/query.html#query_id=byI46JQd
|
||||
* Another getting started guide: Although it does not refer to the schema found in this project, the strategies are: https://github.com/mozilla/ActiveData/blob/dev/docs/GettingStarted.md
|
||||
|
||||
|
||||
I suggest you tell me what you want, I will respond with a query. After a few questions you will get a sense of the schema.
|
||||
|
|
@ -23,8 +23,6 @@ from decimal import Decimal
|
|||
import operator
|
||||
import re
|
||||
|
||||
from mock.mock import self
|
||||
|
||||
from jx_base.utils import get_property_name, is_variable_name
|
||||
from jx_base.language import BaseExpression, TYPE_ORDER, define_language, is_expression, is_op, value_compare, ID
|
||||
from mo_dots import Null, coalesce, is_data, is_list, split_field, wrap, is_sequence
|
||||
|
@ -33,7 +31,7 @@ import mo_json
|
|||
from mo_json import BOOLEAN, INTEGER, IS_NULL, NUMBER, OBJECT, STRING, python_type_to_json_type, scrub
|
||||
from mo_json.typed_encoder import inserter_type_to_json_type
|
||||
from mo_logs import Except, Log
|
||||
from mo_math import is_integer, MAX, MIN, UNION
|
||||
from mo_math import is_integer, MAX, MIN, UNION, is_number
|
||||
from mo_times.dates import Date, unicode2Date
|
||||
|
||||
ALLOW_SCRIPTING = False
|
||||
|
|
Загрузка…
Ссылка в новой задаче