CharleyXu opened a new issue, #63065:
URL: https://github.com/apache/doris/issues/63065

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   ### **Search before asking**
   
   * [x] I had searched in the 
[[issues](https://github.com/apache/doris/issues)](https://github.com/apache/doris/issues)
 and found no similar issues.
   
   ### **Version**
   
   * **Metabase Version:** v0.53.9
   * **Doris Version:** 2.x / 3.x (General)
   * **Driver Version:** Latest 
[[metabase-doris-driver.jar](https://velodb-bi-connector-1316291683.cos.ap-hongkong.myqcloud.com/Metabase/latest/doris.metabase-driver.jar)](https://velodb-bi-connector-1316291683.cos.ap-hongkong.myqcloud.com/Metabase/latest/doris.metabase-driver.jar)
   
   ### **Description**
   
   The current Doris Metabase driver is incompatible with recent Metabase 
releases (v0.50.x - v0.53.x). When attempting to initialize the driver or 
connect to a Doris instance, Metabase throws a `FileNotFoundException` because 
it can no longer find the legacy `metabase.driver-api` namespace.
   
   Metabase has deprecated and removed `metabase.driver-api` in favor of a new 
driver structure in their recent versions.
   
   ### **Logs**
   
   ```text
   2026-05-08 11:30:46,548 DEBUG plugins.init-steps :: Loading plugin namespace 
metabase.driver.doris...
   2026-05-08 11:30:46,563 ERROR driver.util :: Failed to connect to Database
   Caused by: java.io.FileNotFoundException: Could not locate 
metabase/driver_api/core__init.class, metabase/driver_api/core.clj or 
metabase/driver_api/core.cljc on classpath.
        at clojure.lang.RT.load(RT.java:482)
        at clojure.lang.RT.load(RT.java:444)
        ...
        at 
metabase.driver.doris$eval1532$loading__6812__auto____1533.invoke(doris.clj:1)
   
   ```
   
   ### **Analysis**
   
   The error `Could not locate metabase/driver_api/core__init.class` indicates 
that the driver is trying to require `metabase.driver-api`, which was removed 
in Metabase's major internal refactoring (Migration to Driver API v2).
   
   **Affected File:** `metabase/driver/doris.clj`
   **Root Cause:**
   
   ```clojure
   ;; The following line in the driver source is incompatible with Metabase 
v0.50+
   (ns metabase.driver.doris
     (:require [metabase.driver-api :as driver-api] ...))
   
   ```
   
   ### **Expected Behavior**
   
   The driver should be updated to support the Metabase Shared Dependencies and 
the new Driver Namespace (`metabase.driver`) to be compatible with Metabase 
v0.50.0 and above.
   
   ### **Are you willing to submit a PR?**
   
   * [ ] Yes I am willing to submit a PR!
   
   ### What's Wrong?
   
   
   The current Doris Metabase driver is incompatible with recent Metabase 
releases (v0.50.x - v0.53.x). When attempting to initialize the driver or 
connect to a Doris instance, Metabase throws a `FileNotFoundException` because 
it can no longer find the legacy `metabase.driver-api` namespace.
   
   Metabase has deprecated and removed `metabase.driver-api` in favor of a new 
driver structure in their recent versions.
   
   ### What You Expected?
   
   fix it
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to