Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement Trino source #585

Merged
merged 12 commits into from
Apr 22, 2024
86 changes: 82 additions & 4 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ test-feature-gate:
cargo c --features src_oracle
cargo c --features src_csv
cargo c --features src_dummy
cargo c --features src_trino
cargo c --features dst_arrow
cargo c --features dst_arrow2

Expand Down Expand Up @@ -62,6 +63,7 @@ seed-db-more:
ORACLE_URL_SCRIPT=`echo ${ORACLE_URL#oracle://} | sed "s/:/\//"`
cat scripts/oracle.sql | sqlplus $ORACLE_URL_SCRIPT
mysql --protocol tcp -h$MARIADB_HOST -P$MARIADB_PORT -u$MARIADB_USER -p$MARIADB_PASSWORD $MARIADB_DB < scripts/mysql.sql
trino $TRINO_URL --catalog=$TRINO_CATALOG < scripts/trino.sql

# benches
flame-tpch conn="POSTGRES_URL":
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ For more planned data sources, please check out our [discussion](https://github.
- [x] Oracle
- [x] Big Query
- [ ] ODBC (WIP)
- [ ] Trino (WIP)
- [ ] ...

## Destinations
Expand Down
1 change: 1 addition & 0 deletions connectorx-cpp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ srcs = [
"connectorx/src_mssql",
"connectorx/src_oracle",
"connectorx/src_bigquery",
"connectorx/src_trino",
]
69 changes: 69 additions & 0 deletions connectorx-python/Cargo.lock

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

1 change: 1 addition & 0 deletions connectorx-python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,6 @@ srcs = [
"connectorx/src_mssql",
"connectorx/src_oracle",
"connectorx/src_bigquery",
"connectorx/src_trino",
]
integrated-auth-gssapi = ["connectorx/integrated-auth-gssapi"]
Loading
Loading