You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by yo...@wipro.com on 2012/07/18 09:03:26 UTC

UPLOADING .XLS FILES

Hi all,

I am trying to upload data from .xls files to hive tables, its gets loaded but show NULL NULL values for select * query.

Please suggest me how to do
row format delimited fields terminated by   for .xls files.


Thanks & Regards
Yogesh Dhari


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com

Re: UPLOADING .XLS FILES

Posted by Jasper Knulst <ja...@incentro.com>.
Hi Yogesh,

I guess this can't be done directly on Excel files since Excel file use
proprietary MS data formatting. You would have to know all the ins and outs
of the native Excel format to make it work (and write some custom class for
it.

Why not convert to CSV before uploading the files to HDFS?
Op 18 jul. 2012 09:04 schreef <yo...@wipro.com> het volgende:

>  Hi all,
>
> I am trying to upload data from .xls files to hive tables, its gets loaded
> but show NULL NULL values for select * query.
>
> Please suggest me how to do
> row format delimited fields terminated by   for .xls files.
>
>
> Thanks & Regards
> Yogesh Dhari
>
>  * Please do not print this email unless it is absolutely necessary. *****
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
>