Skip to content

Commit

Permalink
Merge pull request #585 from domnikl/trino-source
Browse files Browse the repository at this point in the history
implement Trino source
  • Loading branch information
wangxiaoying authored Apr 22, 2024
2 parents 2d71237 + cbe16b5 commit d20ddc5
Show file tree
Hide file tree
Showing 28 changed files with 1,875 additions and 10 deletions.
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

0 comments on commit d20ddc5

Please sign in to comment.