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

Support for MongoDB time-series collections #173

Open gregorynoma opened 3 years ago

gregorynoma commented 3 years ago

This adds support for MongoDB time-series collections, which are available starting in MongoDB 5.0. The changes include:

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

jonatas commented 3 years ago

Hello @gregorynoma ! thanks for the PR and all improvements related to mongodb! would you mind fixing the mongo test errors for the broken build?

# github.com/timescale/tsbs/pkg/query [github.com/timescale/tsbs/pkg/query.test]
1440pkg/query/mongo_test.go:23:20: cannot use "github.com/globalsign/mgo/bson".M literal (type "github.com/globalsign/mgo/bson".M) as type primitive.M in append
1441FAIL    github.com/timescale/tsbs/pkg/query [build failed]
1442?       github.com/timescale/tsbs/pkg/query/config  [no test files]
1443?       github.com/timescale/tsbs/pkg/query/factories   [no test files]
1444?       github.com/timescale/tsbs/pkg/targets   [no test files]
gregorynoma commented 3 years ago

Hi @jonatas sorry about that, should be fixed now.

gregorynoma commented 2 years ago

Hey @jonatas, I added those files you suggested as well as incorporated some additional changes we made since the original PR!

jonatas commented 2 years ago

Thank you, @gregorynoma! I'll review it again!

lcasassa commented 8 months ago

Hi All, Any updates on this? Looking forward to the benchmark results!

y123456yz commented 1 month ago

This PR is needed. Currently your code doesn't actually support MongoDB at all, but your documentation does, which is misleading.

jonatas commented 1 month ago

@y123456yz please, use the branch while it's not merged.

y123456yz commented 1 month ago

@y123456yz please, use the branch while it's not merged.

got it, thanks.