Duplicating my question to Lockerman below. Sorry for the double post.
Is the -> operator just syntactic sugar? Is this:
SELECT device_id, timevector(ts, val) -> sort() -> delta() -> abs() -> sum() as volatility
the same as this?
SELECT device_id, sum(abs(delta(sort(timevector(ts, val))))) as volatility