You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the common use cases for plugins is to do different kinds of downsampling into other tables. We should make this as easy and performant as possible with a special API. This will build on the work of #25757.
The query and target databases default to whatever database the plugin trigger is tied to.
The Rust side should ensure that the query doesn't pull from the same table as the target, if the query and target databases are the same. It should execute the query and construct a WriteBatch from the results, updating the Catalog and writing the batch into the normal WAL write path.
The text was updated successfully, but these errors were encountered:
One of the common use cases for plugins is to do different kinds of downsampling into other tables. We should make this as easy and performant as possible with a special API. This will build on the work of #25757.
The Python side will look like:
The query and target databases default to whatever database the plugin trigger is tied to.
The Rust side should ensure that the query doesn't pull from the same table as the target, if the query and target databases are the same. It should execute the query and construct a WriteBatch from the results, updating the Catalog and writing the batch into the normal WAL write path.
The text was updated successfully, but these errors were encountered: