Skip to content

Commit

Permalink
feat: postgres append, schema get & edit
Browse files Browse the repository at this point in the history
  • Loading branch information
aljazerzen committed Feb 19, 2024
1 parent f7865a4 commit d73a610
Show file tree
Hide file tree
Showing 17 changed files with 708 additions and 184 deletions.
139 changes: 3 additions & 136 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ Similar to [ADBC](https://arrow.apache.org/docs/format/ADBC.html), but written i
| Streaming | | | x |
| Temporal types | | x | |
| Container types | | x | |
| Schema get | x | x | |
| Schema edit | x | x | |
| Append | x | x | |
| Schema get | x | x | x |
| Schema edit | x | x | x |
| Append | x | x | x |

None of the sources are enabled by default, use features to enable them.

Expand Down
14 changes: 12 additions & 2 deletions connector_arrow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,20 @@ urlencoding = { version = "2.1", optional = true }
uuid = { version = "0.8", optional = true }
fallible-streaming-iterator = { version = "0.1", optional = true }
csv = { version = "1", optional = true }
bytes = { version = "1", optional = true }
byteorder = { version = "1", optional = true }

[dependencies.postgres]
version = "0.19"
default-features = false
optional = true
features = ["with-chrono-0_4", "with-uuid-0_8", "with-serde_json-1"]

[dependencies.postgres-protocol]
version = "0.6.6"
default-features = false
optional = true

[dependencies.rusqlite]
version = "0.30.0"
default-features = false
Expand All @@ -50,20 +57,23 @@ optional = true

[dev-dependencies]
env_logger = "0.11"
arrow = { version = "49", features = ["prettyprint"] }
parquet = { version = "49" }
arrow = { version = "49", features = ["prettyprint"], default-features = false }
parquet = { version = "49", features = ["arrow"], default-features = false }
insta = { version = "1.34.0" }
similar-asserts = { version = "1.5.0" }

[features]
all = ["src_sqlite", "src_duckdb", "src_postgres"]
src_postgres = [
"postgres",
"postgres-protocol",
"csv",
"hex",
"uuid",
"rust_decimal",
"rust_decimal_macros",
"bytes",
"byteorder"
]
src_sqlite = ["rusqlite", "fallible-streaming-iterator", "urlencoding"]
src_duckdb = [
Expand Down
Loading

0 comments on commit d73a610

Please sign in to comment.