diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 29accaa..0867800 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -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 @@ -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 diff --git a/resources/metabase-plugin.yaml b/resources/metabase-plugin.yaml index cc18d2f..c564d7e 100644 --- a/resources/metabase-plugin.yaml +++ b/resources/metabase-plugin.yaml @@ -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 diff --git a/src/metabase/driver/databend.clj b/src/metabase/driver/databend.clj index 3b81847..53a7c0d 100644 --- a/src/metabase/driver/databend.clj +++ b/src/metabase/driver/databend.clj @@ -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))