Skip to content

Commit 6469678

Browse files
authored
Merge pull request #863 from Amar1729/main
docs: update with `OID` and `BOOL[]` types
2 parents 2209f7e + 0c732e2 commit 6469678

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ MODIN_ENGINE=dask
9696
* Add the source to the [source_router](https://github.com/sfu-db/connector-x/blob/main/connectorx-python/src/source_router.rs)
9797
* 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)
9898
* Add corresponding unit tests under `connectorx/tests` for Rust and `connectorx-python/connectorx/tests` for Python
99+
* Add the new source to the [docs](./docs/)
99100

100101
**Please check out [here](https://sfu-db.github.io/connector-x/connectorx/#extending-connectorx) for more detailed implementation instructions of how to extend ConnectorX.**
101102

docs/databases/postgres.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ cx.read_sql(conn, query) # read data from
2323

2424
| Postgres Type | Pandas Type | Comment |
2525
|:---------------:|:-------------------------:|:----------------------------------:|
26+
| OID | u32 | a data type for identifying internal objects |
2627
| BOOL | bool, boolean(nullable) | |
2728
| INT2 | int64, Int64(nullable) | |
2829
| INT4 | int64, Int64(nullable) | |
@@ -51,6 +52,7 @@ cx.read_sql(conn, query) # read data from
5152
| HalfVec | object | list of f32 |
5253
| Bit | object | |
5354
| SparseVec | object | list of f32 |
55+
| BOOL[] | object | list of bool |
5456
| INT2[] | object | list of i64 |
5557
| INT4[] | object | list of i64 |
5658
| INT8[] | object | list of i64 |

0 commit comments

Comments
 (0)