Closed JiHyeongSeo closed 4 years ago
group = query.groupby( datasource='datasource', granularity='hour', intervals='2019-08-01/2019-08-07', dimensions=["dimensionl"], filter=((Dimension("id") == 122) & (Bound(Dimension("seconds"), 0, alphaNumeric=True))), aggregations={"count": doublesum("count")} )
when I run above code, type error raise like this TypeError: __init__() missing 1 required positional argument: 'upper'
TypeError: __init__() missing 1 required positional argument: 'upper'
But, in druid documentation (https://druid.apache.org/docs/latest/querying/filters.html) Likewise, this filter expresses age >= 18 json { "type": "bound", "dimension": "age", "lower": "18" , "ordering": "numeric" } above expression is correct.
Likewise, this filter expresses age >= 18 json { "type": "bound", "dimension": "age", "lower": "18" , "ordering": "numeric" }
I think only lower bound expression should be supported.
group = query.groupby( datasource='datasource', granularity='hour', intervals='2019-08-01/2019-08-07', dimensions=["dimensionl"], filter=((Dimension("id") == 122) & (Bound(Dimension("seconds"), 0, alphaNumeric=True))), aggregations={"count": doublesum("count")} )
when I run above code, type error raise like this
TypeError: __init__() missing 1 required positional argument: 'upper'
But, in druid documentation (https://druid.apache.org/docs/latest/querying/filters.html)
Likewise, this filter expresses age >= 18 json { "type": "bound", "dimension": "age", "lower": "18" , "ordering": "numeric" }
above expression is correct.I think only lower bound expression should be supported.