Re: Read error : Varchar cannot be cast to string

2015-06-19 Thread Devansh Srivastava
@hive.apache.org Subject: Re: Read error : Varchar cannot be cast to string Hi, I donĀ¹t think I have the privileges to move an ATLAS JIRA into HIVE. And the pre-commit tests for HIVE do not run for ATLAS issues. If you have access to the JIRA admin for that project, please move that issue over

Re: Read error : Varchar cannot be cast to string

2015-06-18 Thread Gopal Vijayaraghavan
vansh Srivastava" wrote: >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 can

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
th Regards Devansh ____________ From: Gopal Vijayaraghavan on behalf of Gopal Vijayaraghavan Sent: Wednesday, June 17, 2015 8:20 PM To: user@hive.apache.org Subject: Re: Read error : Varchar cannot be cast to string Hi, > Caused by: java.lang.ClassCastException: >

Re: Read error : Varchar cannot be cast to string

2015-06-17 Thread Gopal Vijayaraghavan
Hi, > Caused by: java.lang.ClassCastException: >org.apache.hadoop.hive.common.type.HiveVarchar cannot be cast to >java.lang.String >at >org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatchCtx.addPartitionCo >lsToBatch(VectorizedRowBatchCtx.java:566) Is it a partition column the one m

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