diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 93a8a5963..2bb412995 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -96,6 +96,7 @@ MODIN_ENGINE=dask * Add the source to the [source_router](https://github.com/sfu-db/connector-x/blob/main/connectorx-python/src/source_router.rs) * Add the source to writing functions of each destination. Here are examples for [pandas](https://github.com/sfu-db/connector-x/blob/main/connectorx-python/src/pandas/mod.rs) and [arrow](https://github.com/sfu-db/connector-x/blob/main/connectorx-python/src/arrow.rs) * Add corresponding unit tests under `connectorx/tests` for Rust and `connectorx-python/connectorx/tests` for Python +* Add the new source to the [docs](./docs/) **Please check out [here](https://sfu-db.github.io/connector-x/connectorx/#extending-connectorx) for more detailed implementation instructions of how to extend ConnectorX.** diff --git a/docs/databases/postgres.md b/docs/databases/postgres.md index e6f83ca9e..8730fbec8 100644 --- a/docs/databases/postgres.md +++ b/docs/databases/postgres.md @@ -23,6 +23,7 @@ cx.read_sql(conn, query) # read data from | Postgres Type | Pandas Type | Comment | |:---------------:|:-------------------------:|:----------------------------------:| +| OID | u32 | a data type for identifying internal objects | | BOOL | bool, boolean(nullable) | | | INT2 | int64, Int64(nullable) | | | INT4 | int64, Int64(nullable) | | @@ -51,6 +52,7 @@ cx.read_sql(conn, query) # read data from | HalfVec | object | list of f32 | | Bit | object | | | SparseVec | object | list of f32 | +| BOOL[] | object | list of bool | | INT2[] | object | list of i64 | | INT4[] | object | list of i64 | | INT8[] | object | list of i64 |