(ns metabase.compatibility (:require [metabase.legacy-mbql.normalize :as mbql.normalize] [metabase.lib.core :as lib])) | |
Normalize the query | (defn normalize-dataset-query [dataset-query] (if (= (lib/normalized-query-type dataset-query) :mbql/query) (lib/normalize dataset-query) (mbql.normalize/normalize dataset-query))) |