Re: Read error : Varchar cannot be cast to string

2015-06-19 Thread Devansh Srivastava
into the right project. Cheers, Gopal On 6/18/15, 4:11 AM, "Devansh Srivastava" wrote: >Gopal, > >I have raised the bug (ATLAS-27). > >Thanks, >Devansh > >________ >From: Devansh Srivastava >Sent: Thursday, June 18, 2015 4:

Re: Read error : Varchar cannot be cast to string

2015-06-18 Thread Devansh Srivastava
Gopal, I have raised the bug (ATLAS-27). Thanks, Devansh From: Devansh Srivastava Sent: Thursday, June 18, 2015 4:05 PM To: user@hive.apache.org Subject: Re: Read error : Varchar cannot be cast to string Hi Gopal, Yes, one of the partition column is

Re: Read error : Varchar cannot be cast to string

2015-06-18 Thread Devansh Srivastava
Hi Gopal, Yes, one of the partition column is having VARCHAR as datatype. My target table has structure like this :-- CREATE EXTERNAL TABLE test_table( dob string COMMENT '', version_nbr int COMMENT '', record_status string COMMENT '', creation_timestamp timestamp COMMENT '') PARTITIONED

Read error : Varchar cannot be cast to string

2015-06-17 Thread Devansh Srivastava
Hi, I have one table with VARCHAR and CHAR datatypes. While reading data through hive, I am getting below error :-- Diagnostic Messages for this Task: Error: java.io.IOException: java.io.IOException: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.hadoop.hive.common.type