Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
* | select
preds[1] as unixtime,
preds[3] as predict
from (
select
ts_predicate_ar(timestamp, value, 2, 10) as p
from log
), unnest(p) as t(preds)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment