metabase-driver icon indicating copy to clipboard operation
metabase-driver copied to clipboard

Support for new datetime functions

Open Maiquu opened this issue 2 years ago • 4 comments

Adds support for the new datetime functions introduced in Metabase 0.45 and a small fix related to detection of types that can be suffixed with AT TIME ZONE.

Metabase 0.45 blog post

Maiquu avatar Dec 08 '22 16:12 Maiquu

Looks like the tests have failed. Were you able to run it locally?

I wonder if bumping to "v1.45.0" caused some tests to fail.

Tests off of main look good.

Were you able to execute the tests locally?

andrewdibiasio6 avatar Dec 08 '22 18:12 andrewdibiasio6

in unreleased, please add bullets to highlight your changes, especially the version bump.

andrewdibiasio6 avatar Dec 08 '22 18:12 andrewdibiasio6

I admit I haven't tested it properly at local. So I need a bit more time to get familiar with the test environment. At the moment I managed to make the driver tests for the current version pass locally. (with Metabase at v1.44.0, Driver at v1.0.6) I will keep testing and try to eliminate issues one by one on my end before triggering CI again.

Maiquu avatar Dec 09 '22 11:12 Maiquu

Also bumping metabase to v1.45.0 throws around 378 errors in tests with the main version so might need to see to those as well. I'll see if the failed tests are new ones or modified in any way.

Maiquu avatar Dec 09 '22 14:12 Maiquu

Should be ready for review/tests.

Maiquu avatar Dec 13 '22 08:12 Maiquu

CI accepted

hovaesco avatar Dec 13 '22 09:12 hovaesco

I'll review shortly, but you will need to squash some of the commits. I think anything you did related to bumping to 1.45, including fixing the tests etc., should just be squashed into one commit.

Great job getting the CI passing though.

andrewdibiasio6 avatar Dec 13 '22 20:12 andrewdibiasio6

Played around with commits and trimmed them down. File changes are all same except CHANGELOG.md. All test fixes related to bumping metabase version should be in a single commit now.

Maiquu avatar Dec 14 '22 12:12 Maiquu

👀

andrewdibiasio6 avatar Dec 20 '22 18:12 andrewdibiasio6