brenoae / metabase-impala-driver

Metabase Impala Driver
11 stars 6 forks source link

Impala complain :"Data type not support, 2014" #1

Closed michaelwang closed 3 years ago

michaelwang commented 4 years ago

Hi @brenoae Very appreciate your excellent work, the METABASE Impala plugin works very well for me.

But I recently found a bug when I filter timestamp data type column using "between" in Impala 3.2.0 , Impala-driver 2.6.17, and your latest metabase-impala-plugin, it complains: "Data type not support , 2014",

I have worked on this issue , and found that it's caused by Impala JDBC driver does not accept OffsetDateTime data type, but only accept the java.sql.Timestamp so , I have made a fix, it proved to be right in my test , also I have made a pull request for it. hopes it usefull.

Thanks~