Skip to content

Commit

Permalink
set version as 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jovezhong committed Dec 21, 2023
1 parent a3d08c5 commit d30af03
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ If you are about to use metabase for the first time, install the proper JVM and
2. You'll need to provide the Host/Port. Default localhost and 8123 just work.

## Run Query
Please note, by default Proton's query behavior is streaming SQL, looking for new data in the future and never ends. This can be considered as hang for Metabase. So please use `select .. from .. LIMIT 100` to stop the query at 100 events. Or use a historical query, such as `select .. from table(car_live_data)..`
Please note, with port 8123, by default Proton's query behavior is batch SQL, looking for the past data.

## Build from source
The build process is largely based on https://github.com/databendcloud/metabase-databend-driver. (IMHO, Leiningen provides much better compiling error message than the built-in `clojure -X:build:drivers:build/driver`)
Expand Down Expand Up @@ -51,13 +51,13 @@ The build process is largely based on https://github.com/databendcloud/metabase-
mvn deploy:deploy-file -Durl=file:repo -DgroupId=metabase-core -DartifactId=metabase-core -Dversion=1.40 -Dpackaging=jar -Dfile=metabase.jar
```

4. Build the jar
4. Build the jar (key steps to compile *.clj source code)

```shell
LEIN_SNAPSHOTS_IN_RELEASE=true DEBUG=1 lein uberjar
```

5. Let's assume we download `metabase.jar` from the [Metabase jar](https://www.metabase.com/docs/latest/operations-guide/running-the-metabase-jar-file.html) to `~/metabase/` and we built the project above. Copy the built jar(proton.metabase-driver.jar) to the Metabase plugins folder and run Metabase from there!
5. Let's assume we download `metabase.jar` from the [Metabase jar](https://www.metabase.com/docs/latest/operations-guide/running-the-metabase-jar-file.html) to `~/metabase/` and we built the project above. Copy the built jar(target/uberjar/proton.metabase-driver.jar) to the Metabase plugins folder and run Metabase from there!
```shell
cd ~/metabase/
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>metabase</groupId>
<artifactId>proton-driver</artifactId>
<packaging>jar</packaging>
<version>0.0.2</version>
<version>0.0.3</version>
<name>proton-driver</name>
<description>Timeplus Proton driver for Metabase</description>
<url>http://github.com/timeplus-io/metabase-proton-driver</url>
Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject metabase/proton-driver "0.0.2"
(defproject metabase/proton-driver "0.0.3"
:description "Timeplus Proton driver for Metabase"
:license "Apache License 2.0"
:url "http://github.com/timeplus-io/metabase-proton-driver"
Expand Down
2 changes: 1 addition & 1 deletion resources/metabase-plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
info:
name: Metabase Proton Driver
version: 0.0.2
version: 0.0.3
description: Allows Metabase to connect to Timeplus Proton databases
contact-info:
name: Jove Zhong
Expand Down

0 comments on commit d30af03

Please sign in to comment.