From 739a3fdea3f4981445bb183dd18504d80bfefb40 Mon Sep 17 00:00:00 2001 From: Stepan Burlakov Date: Wed, 16 Oct 2024 10:28:27 +0300 Subject: [PATCH] fix regexp-match-first --- src/metabase/driver/firebolt.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metabase/driver/firebolt.clj b/src/metabase/driver/firebolt.clj index 2a01a1d..78274f3 100644 --- a/src/metabase/driver/firebolt.clj +++ b/src/metabase/driver/firebolt.clj @@ -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]]