hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From upd r <updbigd...@gmail.com>
Subject varchar
Date Tue, 26 Aug 2014 20:19:36 GMT
Hi,

I have a created a table with fields defined as varchar(length). Is it
correct to insert data in to the table casting the fields as
VARCHAR(length).

I am getting this error.
Error occurred executing hive query: OK FAILED: SemanticException Generate
Map Join Task Error: Class cannot be created (missing no-arg constructor):
org.apache.hadoop.hive.serde2.objectinspector.primitive.WritableHiveVarcharObjectInspector
Serialization trace: objectInspector
(org.apache.hadoop.hive.ql.exec.ColumnInfo) signature
(org.apache.hadoop.hive.ql.exec.RowSchema) rowSchema
(org.apache.hadoop.hive.ql.exec.FileSinkOperator) childOperators
(org.apache.hadoop.hive.ql.exec.SelectOperator) childOperators
(org.apache.hadoop.hive.ql.exec.GroupByOperator) opParseCtxMap
(org.apache.hadoop.hive.ql.plan.MapWork) mapWork
(org.apache.hadoop.hive.ql.plan.MapredWork)

Mime
View raw message