period granularity #99
Replies: 4 comments
-
Hello @philippesg |
Beta Was this translation helpful? Give feedback.
-
If that's all right for you @philippesg feel free to close that issue :) thank you! |
Beta Was this translation helpful? Give feedback.
-
Hello, sorry for the delay @jbguerraz ;) I tried to use different query for the function TIME_FLOOR() and I always get an error... Have you an idea to help me ? Here, an example of what I tried : SELECT TIME_FLOOR(__time,'P1D',0,"Europe/Paris") as "time", sum(metric_value_sum) as "number" Thanks in advance, |
Beta Was this translation helpful? Give feedback.
-
Hello @philippesg , Give that a try:
you have to wrap strings with simple quotes not double ones, and origin expect a value of type timestamp (hence the Hope it helps! |
Beta Was this translation helpful? Give feedback.
-
Hello, how to set period granularity with SQL queries ?
Below, an example of my old druid datasource :
Merci par avance.
Beta Was this translation helpful? Give feedback.
All reactions