ModelarData / ModelarDB-RS

ModelarDB: Model-Based Time Series Management from Edge to Cloud
Apache License 2.0
11 stars 5 forks source link

Move query module into modelardb_query crate #209

Closed skejserjensen closed 1 week ago

skejserjensen commented 1 week ago

This PR moves the query module in modelardb_server into a separate modelardb_query so it can be used to query the compressed model-based format in other applications. In addition, by only exposing a handful of functions for creating the Apache DataFusion SessionContext and registering tables with it, the vast majority of the code in the modelardb_query crate can be made private. Finally, to simplify using modelardb_query in other applications and make TableMetadataManager more consistent, a few methods have been added to TableMetadataManager.