Skip to content

Commit

Permalink
fix regexp-match-first
Browse files Browse the repository at this point in the history
  • Loading branch information
stepansergeevitch committed Oct 16, 2024
1 parent 5e7c883 commit 739a3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metabase/driver/firebolt.clj
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
; call REGEXP_MATCHES function when regex-match-first is called
(defmethod sql.qp/->honeysql [:firebolt :regex-match-first]
[_ [_ arg pattern]]
[:REGEXP_LIKE (sql.qp/->honeysql :firebolt arg) pattern])
[:REGEXP_EXTRACT (sql.qp/->honeysql :firebolt arg) pattern])

(defmethod sql.qp/->honeysql [:firebolt :contains]
[_ [_ field value options]]
Expand Down

0 comments on commit 739a3fd

Please sign in to comment.