superduper icon indicating copy to clipboard operation
superduper copied to clipboard

The serialization and deserialization of Query cannot be shared across different backends.

Open jieguangzhou opened this issue 1 year ago • 2 comments
trafficstars

Currently, Query is actually divided into two types: MongoQuery and IbisQuery. When used in a MongoDB scenario, after export, it is recorded as superduper_mongodb, making it impossible to migrate to Ibis.

Our current application heavily depends on Query, which leads to a strong dependency on the backend during application construction and export, making it difficult to establish a unified application standard

https://github.com/superduper-io/superduper/pull/2363#discussion_r1700248212

In the future, all Query classes can be merged into one class, with Query only recording the expression and being independent the type of the database. We can use Databackend to execute the Query

jieguangzhou avatar Aug 22 '24 07:08 jieguangzhou