Input:
root@vm-239:/tsbs/tsbs/bin# ./tsbs_load_timescaledb --host="172.20.56.240" --port="5432" --user="postgres" --file="ck_cpu_data_4000_devices.csv" --chunk-time="8h" --batch-size=10000 --time-index --partition-index --workers=32
could not execute sql: SELECT create_hypertable('cpu'::regclass, 'time'::name, replication_factor => NULL, chunk_time_interval => 28800000000, 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)
goroutine 1 [running]:
github.com/timescale/tsbs/pkg/targets/timescaledb.MustExec(0x8c1787?, {0xc0000ba1e0, 0x96}, {0x0?, 0x4?, 0x10?})
/tsbs/tsbs/pkg/targets/timescaledb/creator.go:296 +0xd0
github.com/timescale/tsbs/pkg/targets/timescaledb.(*dbCreator).createTableAndIndexes(0xc00061c0f0, 0xa?, {0xc0000c4180, 0x3}, {0xc0000be100, 0xa, 0x10}, {0x0, 0x0, 0x0})
/tsbs/tsbs/pkg/targets/timescaledb/creator.go:224 +0x6e7
github.com/timescale/tsbs/pkg/targets/timescaledb.(*dbCreator).PostCreateDB(0xc00061c0f0, {0x8a52ca?, 0xc00061c0f0?})
/tsbs/tsbs/pkg/targets/timescaledb/creator.go:105 +0x365
github.com/timescale/tsbs/load.(*CommonBenchmarkRunner).useDBCreator(0xc0000c2dc0, {0x956838, 0xc00061c0f0})
/tsbs/tsbs/load/loader.go:252 +0x222
github.com/timescale/tsbs/load.(*CommonBenchmarkRunner).preRun(0xc0000c2dc0, {0x956d10, 0xc000610000})
/tsbs/tsbs/load/loader.go:128 +0x72
github.com/timescale/tsbs/load.(*CommonBenchmarkRunner).RunBenchmark(0xc0000c2dc0, {0x956d10?, 0xc000610000})
/tsbs/tsbs/load/loader.go:184 +0x3f
main.main()
/tsbs/tsbs/cmd/tsbs_load_timescaledb/main.go:102 +0x222
Summary
In this timescale version is 2.1.9pg-17 .By my test this is version problem, because 2.6.1-pg12 can make it.