Skip to content

Commit

Permalink
Merge pull request #1 from tegonal/dev/TRD_update_to_metabase_v0.46.6
Browse files Browse the repository at this point in the history
Adding changes for v0.46.6
  • Loading branch information
mcmpp authored Jul 5, 2023
2 parents 0d0269e + 31ff6b7 commit acc4645
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,17 @@ You require metabase to be installed alongside of your project
```

## Build
1. modify :paths in deps.edn, make them absolute
2. `clojure -X:build :project-dir "\"$(pwd)\""`
1. under the metabase folder, check out the desired branch
2. create a link to the right location to the driver:
```
DRIVER_PATH=`readlink -f /home/user/metadata-teradata-driver/`
```
3.
```
clojure -Sdeps "{:aliases {:teradata {:extra-deps {com.metabase/teradata-driver {:local/root \"$DRIVER_PATH\"}}}}}" -X:build:teradata build-drivers.build-driver/build-driver! "{:driver :teradata :project-dir \"$DRIVER_PATH\", :target-dir \"$DRIVER_PATH/target\"}"
```

This will build a file called `target/teradata.metabase-driver.jar`; copy this to your Metabase `./plugins` directory.
This will build a file called `target/teradata.metabase-driver.jar` under the driver folder; copy this to your Metabase `./plugins` directory.


## Tests
Expand Down
2 changes: 1 addition & 1 deletion deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
:aliases
{:dev
{:extra-deps
{ io.github.metabase/metabase { :git/tag "v0.46.0", :git/sha "0ca7df3" } }
{ io.github.metabase/metabase { :git/tag "v0.46.6", :git/sha "1bb88f5" } }
}
}
}
4 changes: 2 additions & 2 deletions resources/metabase-plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
info:
name: Metabase Teradata Driver
# also replace the version in deps.edn if you change the metabase version here
version: 1.1.0-metabase-v0.46.0-teradata-jdbc-17.10
version: 1.1.0-metabase-v0.46.6-teradata-jdbc-17.10
description: Allows Metabase to connect to Teradata databases. Community Supported driver.
dependencies:
- class: com.teradata.jdbc.TeraDriver
Expand Down Expand Up @@ -37,7 +37,7 @@ driver:
- additional-options
- placeholder: e.g. COPLAST=OFF
# required in order that `Choose when syncs and scans happen` shows up in database options afterwards
# (during first time setup, you only see `Periodically refingerprint tables` in metabase v0.46.0
# (during first time setup, you only see `Periodically refingerprint tables` in metabase v0.46.6
# the option `Choose when syncs and scans happen` only shows up later in admin -> Database -> advanced options)
- default-advanced-options
connection-properties-include-tunnel-config: false
Expand Down

0 comments on commit acc4645

Please sign in to comment.