cassandra2_fdw
cassandra2_fdw · Foreign data wrapper for querying Cassandra 2.x and newer from PostgreSQL.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 100082 | cassandra2_fdw | cassandra2_fdw | 2.0 | FDW | MIT | C |
PostgreSQL · 11, 12, 13, 14, 15
Usage
Sources:
cassandra2_fdw version 2.0 is a read-only foreign data wrapper for Cassandra 2.x–4.x using the DataStax C/C++ driver. A server specifies Cassandra hosts, port, and protocol; a user mapping supplies credentials; a foreign table maps a PostgreSQL row shape to a Cassandra keyspace and table.
Example
The wrapper does not write to Cassandra and supports only a limited scalar type mapping; collections, maps, and user-defined types are not implemented. Upstream reports PostgreSQL 11–15 and Cassandra 3/4 testing, not current PostgreSQL releases. Credentials are stored in PostgreSQL catalogs. Use a least-privilege Cassandra account, protect catalog visibility and network traffic, and validate protocol/driver compatibility and query behavior before deployment.