Skip to content
Snippets Groups Projects
Unverified Commit 4b31f83c authored by lbrdnk's avatar lbrdnk Committed by GitHub
Browse files

Throw reasonable error when incompatible temporal unit is used in time unit parameter (#46525)


* Throw reasonable error when incompatible temporal unit is used in time unit param

* Remove redundant function

* Add :curated flag to catch exceptions

* Update test/metabase/query_processor_test/date_bucketing_test.clj

Co-authored-by: default avatarCam Saul <1455846+camsaul@users.noreply.github.com>

* Address review remarks

* Update test

* Make vars private

---------

Co-authored-by: default avatarCam Saul <1455846+camsaul@users.noreply.github.com>
parent c78b46d6
No related branches found
No related tags found
No related merge requests found
Loading
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