This message was deleted.
# general
s
This message was deleted.
a
can you run with approximation turned off in console? That might be causing this behaviour
a
ok, let me check. thanks Abhishek.
Yes, it's showing now same result, after turned off the use count(distinct) approximation. thank you. what is that approximation does ?
a
it's a faster way of doing distinct count, at the cost of accuracy.
a
ok
while ingest the data, for the date-time value ? whats the data type can set ? is string or long ?
I mean apart from __time column another datetime column value.
j
Hi Ashok, regarding your second question, this doc page HERE recommends to ingest secondary timestamp fields as LONG in milliseconds format.
a
ok, John, I tried but it becomes Null value, and If I change to String the datetime show correctly in Load data - data schema step - druid console
oh i think it should be in millisecond format ... i just put it as date-time format and tried as Long during ingestion.
j
I've used
timestamp_parse
for this purpose. This is often good enough
timestamp_parse("field")
https://druid.apache.org/docs/latest/misc/math-expr.html#time-functions
a
Oh ok... thank you JRob