Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ jobs:
- name: functions-full
flags: "--features datafusion-pg-functions/full"
optional: false
- name: pgvector
flags: "--features datafusion-postgres/pgvector"
optional: false
- name: postgis
flags: "--features datafusion-postgres/postgis"
optional: true
Expand Down Expand Up @@ -132,6 +135,24 @@ jobs:
- uses: actions/checkout@v6
- uses: insightsengineering/disk-space-reclaimer@v1
- uses: cachix/install-nix-action@v31
- name: Initialize podman
run: nix develop --command podman info >/dev/null 2>&1 || true
- run: |
cd tests-integration
nix develop --command bash test.sh --skip-postgis --skip-pgvector

# pgvector has its own dedicated integration job so it can run (and fail)
# independently of the base suite. `--skip-postgis` builds with the pgvector
# feature and runs the full python suite including the pgvector tests.
integration-pgvector:
name: Integration tests (pgvector)
runs-on: ubuntu-latest
timeout-minutes: 15
needs: [test]
steps:
- uses: actions/checkout@v6
- uses: insightsengineering/disk-space-reclaimer@v1
- uses: cachix/install-nix-action@v31
- name: Initialize podman
run: nix develop --command podman info >/dev/null 2>&1 || true
- run: |
Expand All @@ -154,7 +175,7 @@ jobs:
run: nix develop --command podman info >/dev/null 2>&1 || true
- run: |
cd tests-integration
nix develop --command bash test.sh
nix develop --command bash test.sh --skip-pgvector

msrv:
name: MSRV
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.direnv
.envrc
.vscode
.idea
.aider*
/tests-integration/test_env

Expand Down
171 changes: 149 additions & 22 deletions Cargo.lock

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

3 changes: 3 additions & 0 deletions arrow-pg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ rust-version.workspace = true
default = ["arrow"]
arrow = ["dep:arrow"]
datafusion = ["dep:datafusion"]
# pgvector compatibility: teach the type mapping/encoding layer about the
# pgvector `vector` wire type. See datafusion-pg-catalog `pgvector` feature.
pgvector = []
postgis = ["postgres-types/with-geo-types-0_7", "dep:geoarrow", "dep:geoarrow-schema", "dep:postgis", "dep:geo-postgis", "pgwire/pg-type-postgis", "dep:geo-traits"]

[dependencies]
Expand Down
Loading
Loading