tsbs icon indicating copy to clipboard operation
tsbs copied to clipboard

Fixed timescaledb loader initialization

Open Koheiru opened this issue 1 year ago • 3 comments

At some point timescaledb's function create_hypertable became more strict and it starts to fail if 'replication_factor => NULL' part exists. In such case tsbs_load failed with error:

could not execute sql: SELECT create_hypertable('disk'::regclass, 'time'::name, replication_factor => NULL, chunk_time_interval => 43200000000, create_default_indexes=>FALSE)panic: ERROR: function create_hypertable(regclass, name, replication_factor => unknown, chunk_time_interval => bigint, create_default_indexes => boolean) does not exist (SQLSTATE 42883)

Other users also report about this issue: #248

To fix this issue timescaledb table initialization method was adjusted.

Koheiru avatar Jun 06 '24 15:06 Koheiru

has anyone merged this fix into the master branch? @Koheiru

tomchon avatar Jun 26 '24 15:06 tomchon

Why is this not merged yet? I am having the same issue.

basheer-taplane avatar Nov 25 '24 20:11 basheer-taplane

faced the same issue

orcarex avatar Mar 19 '25 10:03 orcarex