Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DCA5B200B32 for ; Thu, 9 Jun 2016 01:13:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DB545160A35; Wed, 8 Jun 2016 23:13:25 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 31519160A2E for ; Thu, 9 Jun 2016 01:13:25 +0200 (CEST) Received: (qmail 43485 invoked by uid 500); 8 Jun 2016 23:13:23 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 43475 invoked by uid 99); 8 Jun 2016 23:13:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2016 23:13:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 338F9180530 for ; Wed, 8 Jun 2016 23:13:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.429 X-Spam-Level: * X-Spam-Status: No, score=1.429 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id fhDpidEPn7s3 for ; Wed, 8 Jun 2016 23:13:21 +0000 (UTC) Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7FB155FAF2 for ; Wed, 8 Jun 2016 23:13:20 +0000 (UTC) Received: by mail-wm0-f53.google.com with SMTP id n184so201780271wmn.1 for ; Wed, 08 Jun 2016 16:13:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=2vI8xQGNbWwsZvGdGxpXcpBg1gOqWbLw6eI1iZUd8HQ=; b=TDRpxGB4ZHObNwNKrxznoUbbg+qOr9H7GxP40HGP7KbM1ahDKZb+6TDcCFD/+gqO0s ztDjfwsiaZoQTbYRIUXt8QqmIT8Gq/zOVYDcBEjkVlW4gq0rI/6X5KaBqYNTQbg72Cmx gTIzoStvhvTP1UD61kiEWqrIuV6O4PLL3J+IuKCS6NxpOypgnSGVgnU5RsgR26mbL2sV m6cwBtqZaGHOJuS0JPuu4LH6sDUgoJ5es5C+DdzxoSiHXrchOjXjjroepn3z0ErJFheb jemRIk0Y98uGvgiCOrY9AsRdw/qK9fBPDRjRCrhcTXsl6pU3m6W5fi9+R4M6dFbmc+5k Gxqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=2vI8xQGNbWwsZvGdGxpXcpBg1gOqWbLw6eI1iZUd8HQ=; b=Ro/lbj3oR5nDx71vnBLtomd+I/Ow+6BTmXtKAsXjo37VBuU4CINgddyiBG6CbwjTlk nBZCqtZ0Z+VVhH7bC8CMGsFq2LQ3vgluyZyOgs+WA29i/13aWj7pxkZlN9qs7RnNuJY1 gUtkGLIeA2xJ1TsDvUVWlc+V0xCOOFc6WPJH5joNdFm4EAyXCglGuu8dz9CzFMHMxGVs 5W/8+kFGHBaeNtutLrkkXMk+EIJXY2Lk0KilNb5dR56jsctqIuryV6+AMPCUJkNAaSKW +9rfOfMGP98awiwtiKiND1xgtX3DqXN+w4GgELGzPd75AUUWAjZbEBhtj+t4BozMeJSt 6dsA== X-Gm-Message-State: ALyK8tLGyqsAPQi0dD/5q+OonRBG2urTGlsY2Kjsf/CxITQqUp0x0IJqWA63d9FUJE0Jef93V15QzwfmJkA6Xw== X-Received: by 10.194.164.200 with SMTP id ys8mr6574716wjb.79.1465427599961; Wed, 08 Jun 2016 16:13:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.157.142 with HTTP; Wed, 8 Jun 2016 16:13:19 -0700 (PDT) From: Sharath Babu Basavaraja Date: Wed, 8 Jun 2016 16:13:19 -0700 Message-ID: Subject: NPE while querying timestamp data type in ORC tables To: user@hive.apache.org Content-Type: multipart/alternative; boundary=089e01183dfe8a33680534cc73e8 archived-at: Wed, 08 Jun 2016 23:13:26 -0000 --089e01183dfe8a33680534cc73e8 Content-Type: text/plain; charset=UTF-8 Hi all, I have a ORC Hive table with multiple columns. One of the column data type (say column1) is of type timestamp. When I make a query 'select * from table_name where column1 is null;', I get Null Pointer Exception. Has anyone faced similar issue when you are making similar queries on timestamp values checking if it is null? Regards, Sharath --089e01183dfe8a33680534cc73e8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

I have a ORC Hive= table with multiple columns. One of the column data type (say column1) is = of type timestamp. When I make a query 'select * from table_name where = column1 is null;', I get Null Pointer Exception.

Has anyo= ne faced similar issue when you are making similar queries on timestamp val= ues checking if it is null?

Regards,
Sharath
--089e01183dfe8a33680534cc73e8--