Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to store a image as single row in Hive table?

How to store a image as single row in Hive table?

New Contributor

We have a project requirement to store images and pdf files in Big Data. When I tried to load an image file to hive and then convert it to base64, it is not working as expected.

The single file is getting loaded as multiple rows and while converting to base64, each row is getting converted to base64 (each row is considered as separate value). Is there any way to load the image file as single row to overcome this?

Don't have an account?
Coming from Hortonworks? Activate your account here