Skip to content
Snippets Groups Projects
Commit 12ccde6f authored by Cam Saul's avatar Cam Saul
Browse files

add a test for BETWEEN w/ dates

parent ea7cee64
Branches
Tags
No related merge requests found
......@@ -387,6 +387,20 @@
:breakout [nil]
:limit nil})
;; ### FILTER -- "BETWEEN" with dates
(qp-expect-with-all-datasets
{:rows [[29]]
:columns ["count"]
:cols [{:base_type :IntegerField
:special_type :number
:name "count"
:id nil
:table_id nil
:description nil}]}
{:source_table (id :checkins)
:filter ["AND" ["BETWEEN" (id :checkins :date) "2015-04-01" "2015-05-01"]]
:aggregation ["count"]})
;; ### FILTER -- "OR", "<=", "="
(qp-expect-with-all-datasets
{:rows [[1 4 3 -165.374 10.0646 "Red Medicine"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment