Skip to content

Commit

Permalink
support columns like Message.to
Browse files Browse the repository at this point in the history
  • Loading branch information
ericcj committed Feb 24, 2023
1 parent 3a3e253 commit e4fe4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metabase/driver/netsuite.clj
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@
[driver outer-query]
(let [parent-method (get-method driver/mbql->native :oracle)
compiled (parent-method driver outer-query)]
(assoc compiled :query (str/replace (str/replace (compiled :query) #" AS \"(?!(?:order|group)\")([^\"]+)\"" " AS $1") #"\"(?!(?:order|group)\")([^\"]+)\" AS " "$1 AS "))))
(assoc compiled :query (str/replace (str/replace (compiled :query) #" AS \"(?!(?:order|group|to)\")([^\"]+)\"" " AS $1") #"\"(?!(?:order|group|to)\")([^\"]+)\" AS " "$1 AS "))))

0 comments on commit e4fe4aa

Please sign in to comment.