Re: Issue while storing Date data in hive table (stored as parquet) with cascading-hive

2015-08-07 Thread Sergio Pena
Hi Santlal, Hive writes a DATE value using an int32 parquet type. You can take a look at DataWritable.java class, and its method 'dateToDays(Date d)'. The value returned by that method is written to parquet as integer. If you do the same thing with your parquet code, then you will be able to load

Issue while storing Date data in hive table (stored as parquet) with cascading-hive

2015-08-06 Thread Santlal J Gupta
Hi, I am beginner with cascading-hive. Through cascading hive, i want to load data into the hive table which is stored as parquet format. My data contains one field which is date. I have created hive table in parquet format. But when i tried to load date data into the hive table (i.e. stored