sql - Hive returning no results on a simple select query -
i have table called processed
. last column named monthid
. data type column bigint
. when fire simple query this, no results:
select * processed monthid = 5 ;
a few rows table have been shown below. can suggest what's wrong here?
11741 negative 11 69.55 1401172919 48 27 5 11741 negative 11 102.0 1401172997 48 27 5 11741 negative 11 145.78 1401173093 48 27 5 11741 negative 11 70.54 1401173137 49 27 5 11741 negative 11 85.2 1401173146 49 27 5 11741 negative 11 67.47 1401173156 49 27 5 11741 negative 11 92.76 1401173223 49 27 5
as can seen above sample data, last column has monthid = 5
. however, query returns me nothing.
i believe problem here had partitioned above table based on column #6. hence, due either permissions issue or somthing funky, query returning nothing. after, dropped table , created again without partition, above query worked fine. more information on this, please refer
Comments
Post a Comment