hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prasanth Jayachandran <>
Subject Re: NPE while querying timestamp data type in ORC tables
Date Fri, 10 Jun 2016 17:35:39 GMT
Hi Sharath

Glad that it worked. From HIVE-10592 you just need the changes from,
rest of the patch is irrelevant for this issue.


From: Sharath Babu Basavaraja <<>>
Sent: Friday, June 10, 2016 10:32 AM
Subject: Re: NPE while querying timestamp data type in ORC tables
To: <<>>
Cc: Prasanth Jayachandran <<>>

Thanks Prasanth.

The work-around which you suggested worked for me. But since the table is pretty huge, this
seems to have a performance issues on the query time. Can I try applying this patch to fix
this issue as provided in JIRA-10592.


On 8 June 2016 at 16:18, Prasanth Jayachandran <<>>

This is a known issue and is fixed as part of
Workaround is to set hive.optimize.index.filter=false but this will disable predicate pushdown
and will have performance impact.

This issue can happen when all the values in the timestamp column per stripe are null.
If at least one non-null value exist for timestamp column per stripe then this should not


On Jun 8, 2016, at 4:13 PM, Sharath Babu Basavaraja <<>>

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?


View raw message