Skip to content
Snippets Groups Projects
Unverified Commit 157c86bd authored by github-automation-metabase's avatar github-automation-metabase Committed by GitHub
Browse files

[redshift] Disable legacy parsing implementation for Redshift driver (#49205) (#49360)

parent f8815d28
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@
(set! *warn-on-reflection* true)
(driver/register! :redshift, :parent #{:postgres ::sql-jdbc.legacy/use-legacy-classes-for-read-and-set})
(driver/register! :redshift, :parent #{:postgres})
(doseq [[feature supported?] {:connection-impersonation true
:describe-fields true
......
......@@ -490,9 +490,9 @@
(defmethod yyyymmddhhmmss-dates-expected-rows :redshift
[_driver]
[[1 "foo" #t "2019-04-21T16:43Z[UTC]"]
[2 "bar" #t "2020-04-21T16:43Z[UTC]"]
[3 "baz" #t "2021-04-21T16:43Z[UTC]"]])
[[1 "foo" (OffsetDateTime/from #t "2019-04-21T16:43Z[UTC]")]
[2 "bar" (OffsetDateTime/from #t "2020-04-21T16:43Z[UTC]")]
[3 "baz" (OffsetDateTime/from #t "2021-04-21T16:43Z[UTC]")]])
(doseq [driver [:h2 :postgres]]
(defmethod yyyymmddhhmmss-dates-expected-rows driver
......
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