timescale / tsbs

Time Series Benchmark Suite, a tool for comparing and evaluating databases for time series data
MIT License
1.26k stars 297 forks source link

generate consistent query conditions using the same random seed #195

Open huskar-t opened 2 years ago

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

ryanbooz commented 2 years ago

@huskar-t - can you please explain the intent of this PR. It's unclear what the impact is by moving the call to this function throughout the project. Thanks!

huskar-t commented 2 years ago

@ryanbooz since both the generation conditions and time ranges use random functions, different db targets obtain time ranges and generate conditions in different orders in the same query scenario, resulting in different query statements for the same random seed.

huskar-t commented 2 years ago

@RobAtticus any suggestion?