Skip to content

Commit acc4645

Browse files
authored
Merge pull request #1 from tegonal/dev/TRD_update_to_metabase_v0.46.6
Adding changes for v0.46.6
2 parents 0d0269e + 31ff6b7 commit acc4645

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,17 @@ You require metabase to be installed alongside of your project
6363
```
6464

6565
## Build
66-
1. modify :paths in deps.edn, make them absolute
67-
2. `clojure -X:build :project-dir "\"$(pwd)\""`
66+
1. under the metabase folder, check out the desired branch
67+
2. create a link to the right location to the driver:
68+
```
69+
DRIVER_PATH=`readlink -f /home/user/metadata-teradata-driver/`
70+
```
71+
3.
72+
```
73+
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\"}"
74+
```
6875

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

7178

7279
## Tests

deps.edn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
:aliases
2222
{:dev
2323
{:extra-deps
24-
{ io.github.metabase/metabase { :git/tag "v0.46.0", :git/sha "0ca7df3" } }
24+
{ io.github.metabase/metabase { :git/tag "v0.46.6", :git/sha "1bb88f5" } }
2525
}
2626
}
2727
}

resources/metabase-plugin.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
info:
22
name: Metabase Teradata Driver
33
# also replace the version in deps.edn if you change the metabase version here
4-
version: 1.1.0-metabase-v0.46.0-teradata-jdbc-17.10
4+
version: 1.1.0-metabase-v0.46.6-teradata-jdbc-17.10
55
description: Allows Metabase to connect to Teradata databases. Community Supported driver.
66
dependencies:
77
- class: com.teradata.jdbc.TeraDriver
@@ -37,7 +37,7 @@ driver:
3737
- additional-options
3838
- placeholder: e.g. COPLAST=OFF
3939
# required in order that `Choose when syncs and scans happen` shows up in database options afterwards
40-
# (during first time setup, you only see `Periodically refingerprint tables` in metabase v0.46.0
40+
# (during first time setup, you only see `Periodically refingerprint tables` in metabase v0.46.6
4141
# the option `Choose when syncs and scans happen` only shows up later in admin -> Database -> advanced options)
4242
- default-advanced-options
4343
connection-properties-include-tunnel-config: false

0 commit comments

Comments
 (0)