Open ats1999 opened 5 months ago
{
"user":"u1",
"product":"p1",
"price":25
}
// QUERY
// user wants to get total price and avg price of products sold within specific date range for any particular product or set of products
dimension = price
filter
- date range
- product=P[x]
metric
- avg(price)
- sum(price)
We need to aggregate data of 1 hour, or day to reduce data size. How can we compact age property? It should be always absolute
Features
Request
Users will request this API service using key/value pairs, for example
POST /api/event
Query Data
GET /api/query?...