Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/metabase 48 #21

Draft
wants to merge 11 commits into
base: develop
Choose a base branch
from
Draft

Feature/metabase 48 #21

wants to merge 11 commits into from

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 :/

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

Successfully merging this pull request may close these issues.

None yet

2 participants