Open seybi87 opened 4 years ago
I debugged the code the calls a bit and it looks like the following line causes the error when closing the Iterator
: https://github.com/timescale/tsbs/blob/master/cmd/tsbs_run_queries_cassandra/query_plan.go#L74
Yet, I do not see why closing the iterator causes this issue.
Without closing the Iterator the query execution works (for the simple example posted above) but will this cause any additional issues later on?
Hi guys,
after fixing https://github.com/timescale/tsbs/issues/124 I run into another issue with executing TSBS against a Cassandra instance.
As outlined in https://github.com/timescale/tsbs/issues/124, the data is loaded in Cassandra and the following dummy queries are generated:
tsbs_generate_queries --use-case "cpu-only" --seed "123" --scale "1000" --timestamp-start "2016-01-01T00:00:00Z" --timestamp-end "2016-01-01T01:00:01Z" --queries "10" --query-type "single-groupby-1-1-1" --format "cassandra" --file "/tmp/cassandra-queries"
These queries are executed with the following command:
tsbs_run_queries_cassandra --aggregation-plan "server" --db-name "benchmark" --workers "1" --host "1.2.3.4" --file "/tmp/cassandra-queries" --debug "1" --print-responses
This ends in the following error message:
Any help is much appreciated!