Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

Conversation

Nikos410
Copy link
Member

No description provided.

@mat02
Copy link

mat02 commented Mar 7, 2024

Thank you for your hard work 👏
It looks like change to HSQL 2 brought some more breaking changes, i.e. :modifiers not longer exists:
https://github.com/seancorfield/honeysql/blob/7a7a01eeaaa56b6e00574feb63be9c09e782f2c2/doc/differences-from-1-x.md?plain=1#L166

This breaks FIRST and SKIP implementation in apply-top-level-clause:

(defmethod sql.qp/apply-top-level-clause [:firebird :limit] [_ _ honeysql-form {value :limit}]

(defmethod sql.qp/apply-top-level-clause [:firebird :page] [_ _ honeysql-form {{:keys [items page]} :page}]

Could you please look into possible workaround?

@Nikos410
Copy link
Member Author

Nikos410 commented Mar 7, 2024 via email

@mat02
Copy link

mat02 commented Mar 7, 2024

Maybe this is related to the FB version. We run 3.0 in SuperServer mode (I believe this is the same as you are, at least I think I saw it mentioned somewhere), but only stumbled on this problem with :modifiers keyword in in some specific questions, where Metabase automatically applies top-level clause to limit number of rows (not exactly sure why.

Unfortunately, I am not familiar with Clojure (nor other functional languages) enough to fix this myself :/

@andrevanzuydam
Copy link

andrevanzuydam commented May 29, 2025

@Nikos410 @mat02 I have spent the last 2 days testing with the latest Jaybird 6.0.1 and updated this feature to actually connect to a firebird databse (3.0 >). I am busy testing all the features , basic things like table layouts and schema not working yet but will keep testing and working on it. Testing with Metabase v0.54. Normal SQL is working for reporting.

@luiz-limber
Copy link

any updates?

@andrevanzuydam
Copy link

andrevanzuydam commented Aug 6, 2025

Still working through thing, biggest blocker is my lack of clojure knowledge.. I have metabase working with normal SQL queries now and have it actually displaying things for one of our products. will update again when I have a "production" ready version. If you need connectivity urgently, I think a pull off my latest branch will work ... let me know if you need me to post a jar file.

@andrevanzuydam
Copy link

I've made a pull request, so far seems most things are working, please send me feedback, I've made a release here in the mean time
https://github.com/andrevanzuydam/metabase-firebird-driver/releases/tag/v1.6.0

@luiz-limber
Copy link

Thanks a lot for your help! 🙌
I tested it with Metabase v56 and the connection + SQL queries are working very well.
I’m using Firebird 5.0 and, for now, I’m only running parameterized SQL queries.

If possible, it would be great to have an option to add parameters to the JDBC connection string, since here we use encoding=iso8859_1 for compatibility with accented characters.

@andrevanzuydam
Copy link

andrevanzuydam commented Aug 28, 2025 via email

@andrevanzuydam
Copy link

There are a number of bugs with date transformations which I am fixing, I have added in the JDBC connection string functionality, I'm going to log issues on my fork and you can follow it there

https://github.com/andrevanzuydam/metabase-firebird-driver

@andrevanzuydam
Copy link

@luiz-limber Check latest release, feature as you requested is in and all the obvious bugs I found should be fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants