It is possible this is a bug due to a typo, but providing more details (like which version of arrow you are using a full stack trace would help confirm this).  Also, a sample schema would be useful.

On Thu, Nov 26, 2020 at 6:18 PM Chuanlong Du <longendu@yahoo.com> wrote:
I tried to leverage org.apache.arrow.adapter.jdbc.JdbcToArrow.sqlToArrow to query a Hive table but got the following error message on Timestamp columns. Any idea how to avoid this issue? 
java.lang.ClassCastException: java.lang.ClassCastException: org.apache.arrow.vector.TimeStampMilliVector cannot be cast to org.apache.arrow.vector.TimeStampMilliTZVector