scylladb / scylla-rust-driver

Async CQL driver for Rust, optimized for ScyllaDB!
Apache License 2.0
556 stars 94 forks source link

Schema metadata: support UDFs, UDAs & indexes #1034

Open wprzytula opened 1 month ago

wprzytula commented 1 month ago

Currently, driver does not fetch nor store User Defined Functions, User Defined Aggregates nor indexes definitions (from system_schema.[functions, aggregates, indexes], correspondingly).

cpp-driver exposes API to examine those, so Rust driver should support this, too, for cpp-rust-driver.

mykaul commented 1 month ago

UDFs are not GA, should be a separate issue.

wprzytula commented 1 month ago

UDFs are not GA, should be a separate issue.

What about UDAs?

wprzytula commented 1 month ago

Are UDFs stable in Cassandra? If so, and the driver strives for Cassandra compatibility, then we should add them along those schema entities that are GA in ScyllaDB.

mykaul commented 1 month ago

Are UDFs stable in Cassandra? If so, and the driver strives for Cassandra compatibility, then we should add them along those schema entities that are GA in ScyllaDB.

I don't know, but our priority is according to what ScyllaDB supports, not what Cassandra.