Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Failed with exception java.io.IOException:org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.ClassCastException: org.apache.hadoop.hive.serde2.io.HiveDecimalWritable cannot be cast to org.apache.hadoop.io.LongWritable
Labels:
- Labels:
-
Apache Hive
Rising Star
Created ‎07-24-2018 01:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 REPLIES 3
Rising Star
Created ‎07-24-2018 01:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
got the above error while select the records from hive table.
Guru
Created ‎07-29-2018 04:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey @Sundar Lakshmanan!
Could you share with us the following output?
describe formatted <table_name>;
Usually, this happens to mismatched types or some data overflowing the datatype.
Are you able to do a simple query?
select * from <table_name> limit 10;
Hope this helps!
New Contributor
Created ‎12-14-2019 05:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No i cant view the result of this simple query
