I called a built-in-function diff
in query. My query statement is:
select diff(ts) from ( select last(ts) as ts from lm partition by id state_window(status));
It reports " Planner internal error". I read the document carefully. I think the statement is correct. Does anyone know the reason?