From user-return-828-archive-asf-public=cust-asf.ponee.io@arrow.apache.org Mon Nov 30 04:43:23 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-ec2-va.apache.org (mxout1-ec2-va.apache.org [3.227.148.255]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 8DACF18062B for ; Mon, 30 Nov 2020 05:43:23 +0100 (CET) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-ec2-va.apache.org (ASF Mail Server at mxout1-ec2-va.apache.org) with SMTP id CC52A4636B for ; Mon, 30 Nov 2020 04:43:22 +0000 (UTC) Received: (qmail 64093 invoked by uid 500); 30 Nov 2020 04:43:22 -0000 Mailing-List: contact user-help@arrow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@arrow.apache.org Delivered-To: mailing list user@arrow.apache.org Received: (qmail 64083 invoked by uid 99); 30 Nov 2020 04:43:22 -0000 Received: from spamproc1-he-fi.apache.org (HELO spamproc1-he-fi.apache.org) (95.217.134.168) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Nov 2020 04:43:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-fi.apache.org (ASF Mail Server at spamproc1-he-fi.apache.org) with ESMTP id 5741BC0110 for ; Mon, 30 Nov 2020 04:43:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-fi.apache.org X-Spam-Flag: NO X-Spam-Score: -0.002 X-Spam-Level: X-Spam-Status: No, score=-0.002 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamproc1-he-fi.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([116.203.227.195]) by localhost (spamproc1-he-fi.apache.org [95.217.134.168]) (amavisd-new, port 10024) with ESMTP id 9-edH19KH3uz for ; Mon, 30 Nov 2020 04:43:20 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.48; helo=mail-ej1-f48.google.com; envelope-from=emkornfield@gmail.com; receiver= Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 45C43BCBC2 for ; Mon, 30 Nov 2020 04:43:20 +0000 (UTC) Received: by mail-ej1-f48.google.com with SMTP id bo9so18861447ejb.13 for ; Sun, 29 Nov 2020 20:43:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to; bh=ZTq47GKLbK2jXPP6Z06FODibOj5JwA9+8Sn1M3EGaUA=; b=hkPIozgL4vH0y46YsQPBsgvvyWULHx2RGLRIz7xX+Xhn9iGYRZHSIxgEuEDENWnSiJ AQ2mWDBdG2HIFI5HaFiPCrQygHeHJzP4da5LEE0XtoLkW8Nt2IFmCQ/9yeEEevEsP2Xc qNSoIw6RbIAMoo4NAyS8QOVjGCJXHEp1DYqtRP9pPQsIzxJWJpJwnZ4hptMKRjDgQDNQ 0LmpDMgF0wLEbwNoU5J0dcuUl1gxU5lPS3XWyTKVvozMqrLhjQJB3lxxnGP1GIMT0iTX LBuI7A52CeSSmUu7Co7nEe7/+PVz1saqDzGqjnXRsyGnw8caDaf/XE1ucZqqYdDyfI0f zqBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to; bh=ZTq47GKLbK2jXPP6Z06FODibOj5JwA9+8Sn1M3EGaUA=; b=CuYu3a5yNYcnamN8I3r6luqJUrDVXM1Zmsoit3wf5RK9A7RZGlZo6OZ5pR1D7VRlSB W07JCWho/wtrWz0hxNuMR5VquajFMTxPZgqKCmcGAlLgTiV4RC5V655OLp6TQFrEqM7h em+LWzpYSjri8xYLJnBXD1l6WUEUqchVHUWyQtWcKRNtdPXB0YhPq7jDIlkCUD+/I558 ib5p4qeB3m0LWyBw47vC0obG+x9yTtVSKwMItioGNto5uzwTvzthMvdtS1F79rarIYgg nyxwQ4rvZz0eZn2XzLTpRJ/secf/mkkV+eFoRt2719Jnq/oszYfP4VbrWTe5myY98GJI Yw7Q== X-Gm-Message-State: AOAM532K5HZ7yc5kFoQW0Xn12ZMK0PiQltClvsQFSNEMnYZfUpj0QSTk K1j99brdiOHkTA7H+l4QFyVVDCIIkvz1rkuU60IW73XLWro= X-Google-Smtp-Source: ABdhPJyBlVB/eR8YvCq1zAzzarU1t3SGUc4mHWf4T3keCmDjz7uzzHmVc8wL56GvyDGoQ5Bf2lwZ0zhtizYDnWeW1ms= X-Received: by 2002:a17:906:934c:: with SMTP id p12mr19109196ejw.361.1606711392559; Sun, 29 Nov 2020 20:43:12 -0800 (PST) MIME-Version: 1.0 References: <1135833774.1986978.1606443472802.ref@mail.yahoo.com> <1135833774.1986978.1606443472802@mail.yahoo.com> In-Reply-To: <1135833774.1986978.1606443472802@mail.yahoo.com> Reply-To: emkornfield@gmail.com From: Micah Kornfield Date: Sun, 29 Nov 2020 20:43:07 -0800 Message-ID: Subject: Re: TimeStampMilliVector cannot be cast to TimeStampMilliTZVector To: user@arrow.apache.org, Chuanlong Du Content-Type: multipart/alternative; boundary="000000000000cf66c905b54ba516" --000000000000cf66c905b54ba516 Content-Type: text/plain; charset="UTF-8" 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 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 > > > > --000000000000cf66c905b54ba516 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It is possible this is a bug due to a typo, but providing = more details=C2=A0(like which version of arrow you are using a full stack t= race would help confirm this).=C2=A0 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 q= uery a Hive table but got the following error message on Timestamp columns.= Any idea how to avoid this issue?=C2=A0
java.lang.ClassCastException: java.lang.C=
lassCastException: org.apache.arrow.vector.TimeStampMilliVector cannot be c=
ast to org.apache.arrow.vector.TimeStampMilliTZVector

<= /code>

--000000000000cf66c905b54ba516--