Skip to content

v1.7.2-legacy — Fix dashboard parameter alias mismatch (issue #9)

Choose a tag to compare

@andrevanzuydam andrevanzuydam released this 25 Apr 09:26
· 1 commit to develop since this release

Fix

Dashboard parameter dropdowns sourced from a card or model failed on Metabase v0.57+ with:

Dynamic SQL Error; SQL error code = -206; Column unknown; source.<COLUMN>

Root cause: Metabase core aliases the source-query wrapper as __mb_source, but the legacy driver's :field HoneySQL method was qualifying column references with the legacy source alias. The wrapper FROM and the column refs disagreed.

The [:firebird-legacy :field] method now qualifies source-query column references with __mb_source to match Metabase core (metabase.driver.sql.query-processor/source-query-alias).

Compatibility

  • Requires Metabase v0.57 or newer (the version that introduced the __mb_source wrapper alias).
  • Targets legacy Firebird 1.5 – 2.5 (Jaybird 2.2.x).

Install

Place firebird-legacy.metabase-driver.jar into your Metabase plugins/ directory and restart. Use only one of the standard or legacy drivers at a time — not both side-by-side.

Issue tracker