Skip to content
Snippets Groups Projects
Unverified Commit 2b74ed5c authored by Cam Saul's avatar Cam Saul Committed by GitHub
Browse files

Merge pull request #6886 from metabase/fix-druid-test-for-new-server

Fix Druid test so it passes with 0.11.0 [ci drivers]
parents a6275a4c 73b170af
No related branches found
No related tags found
No related merge requests found
...@@ -64,17 +64,17 @@ ...@@ -64,17 +64,17 @@
(sort-by first) (sort-by first)
(take 5)))) (take 5))))
(def ^:const ^:private ^String native-query-1 (def ^:private ^String native-query-1
(json/generate-string (json/generate-string
{:intervals ["1900-01-01/2100-01-01"] {:intervals ["1900-01-01/2100-01-01"]
:granularity :all :granularity :all
:queryType :select :queryType :select
:pagingSpec {:threshold 2} :pagingSpec {:threshold 2}
:dataSource :checkins :dataSource :checkins
:dimensions [:venue_price :dimensions [:id
:venue_name
:user_name :user_name
:id] :venue_price
:venue_name]
:metrics [:count]})) :metrics [:count]}))
(defn- process-native-query [query] (defn- process-native-query [query]
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
;; make sure we can run a native :timeseries query. This was throwing an Exception -- see #3409 ;; make sure we can run a native :timeseries query. This was throwing an Exception -- see #3409
(def ^:const ^:private ^String native-query-2 (def ^:private ^String native-query-2
(json/generate-string (json/generate-string
{:intervals ["1900-01-01/2100-01-01"] {:intervals ["1900-01-01/2100-01-01"]
:granularity {:type :period :granularity {:type :period
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment