Skip to content

Commit

Permalink
FIX replace the usage of u/snake-key with u/->snake_case_en
Browse files Browse the repository at this point in the history
  • Loading branch information
washanhanzi committed Oct 13, 2023
1 parent 2267db1 commit 2d6049d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: metabase/metabase
ref: v0.46.0-RC2
ref: v0.47.4

- name: Checkout Driver Repo
uses: actions/checkout@v2
Expand All @@ -60,7 +60,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "18"
cache: "yarn"

- name: Get M2 cache
Expand All @@ -84,7 +84,7 @@ jobs:
- name: Build databend driver
run: |
echo "{:deps {metabase/databend {:local/root \"databend\" }}}" > modules/drivers/deps.edn
bin/build-driver.sh databend
bin/build-driver.sh databend
ls -lah resources/modules
- name: Archive driver JAR
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 Databend Driver
version: 0.0.6
version: 0.0.7
description: Allows Metabase to connect to Databend databases.
contact-info:
name: Databend
Expand Down
2 changes: 1 addition & 1 deletion src/metabase/driver/databend.clj
Original file line number Diff line number Diff line change
Expand Up @@ -425,4 +425,4 @@
(defmethod driver/db-start-of-week :databend [_] :monday)

(defmethod ddl.i/format-name :databend [_ table-or-field-name]
(u/snake-key table-or-field-name))
(u/->snake_case_en table-or-field-name))

0 comments on commit 2d6049d

Please sign in to comment.