Skip to content

Commit b4d285c

Browse files
committed
feat: initial commit for arrow-pg library
1 parent 4d305bd commit b4d285c

File tree

7 files changed

+576
-58
lines changed

7 files changed

+576
-58
lines changed

Cargo.lock

Lines changed: 12 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
22
resolver = "2"
3-
members = ["datafusion-postgres", "datafusion-postgres-cli"]
3+
members = ["datafusion-postgres", "datafusion-postgres-cli", "arrow-pg"]
44

55
[workspace.package]
66
version = "0.5.1"
@@ -14,8 +14,10 @@ repository = "https://github.com/datafusion-contrib/datafusion-postgres/"
1414
documentation = "https://docs.rs/crate/datafusion-postgres/"
1515

1616
[workspace.dependencies]
17-
pgwire = "0.30.2"
17+
arrow = "55"
1818
datafusion = { version = "47", default-features = false }
19+
pgwire = "0.30.2"
20+
postgres-types = "0.2"
1921
tokio = { version = "1", default-features = false }
2022

2123
[profile.release]

arrow-pg/Cargo.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[package]
2+
name = "arrow-pg"
3+
description = "Arrow data mapping and encoding/decoding for Postgres"
4+
version = "0.1.0"
5+
edition.workspace = true
6+
license.workspace = true
7+
authors.workspace = true
8+
keywords.workspace = true
9+
homepage.workspace = true
10+
repository.workspace = true
11+
documentation.workspace = true
12+
readme = "../README.md"
13+
14+
[dependencies]
15+
arrow.workspace = true
16+
bytes = "1"
17+
chrono = { version = "0.4", features = ["std"] }
18+
pgwire = { workspace = true, default-features = false }
19+
postgres-types.workspace = true
20+
rust_decimal = { version = "1.37", features = ["db-postgres"] }

0 commit comments

Comments
 (0)