Я хочу выполнить выбор в timescaleDB, используя python psycopg2, например:
SELECT time_bucket_gapfill('1 minutes', stime, '2020-03-01 0:00', '2020-04-02 23:59') AS time,
min(val) as minval,max(val) as maxval,avg(val) as avgval,count(val) as anzahl, interpolate(avg(val)) as filled
FROM mydb.h5_500q1104q_gg_mwb_mw
GROUP BY time
order by time desc;
Это работает (например,) в pgAdmin4. Но с python я получаю:
psycopg2.errors.FeatureNotSupported: function "time_bucket_gapfill" is not supported under the current license "ApacheOnly"
HINT: Upgrade to a Timescale-licensed binary to access this free community feature
Что я могу сделать?