Skip to content

[Bug] [Ecosystem] Metabase Doris Driver fails to load on Metabase v0.53.9 due to missing driver_api #63065

@CharleyXu

Description

@CharleyXu

Search before asking

  • I had searched in the issues and found no similar issues.

Version

Search before asking

Version

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

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:

;; 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions