sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abraham Elmahrek <...@cloudera.com>
Subject Re: Sqoop to write column names as headers
Date Fri, 03 Oct 2014 02:12:12 GMT
Hey there,

This is not something Sqoop currently does. Is this just for readability?
If so, have you thought about importing into Hive or HBase?

-Abe

On Thu, Oct 2, 2014 at 11:13 AM, foo bar <clojurian123@gmail.com> wrote:

> Hi,
>
> I'm importing a table of data from Oracle into HDFS.
> I need to have Sqoop to write the column names as headers into the import
> files (files that end up in HDFS). Is there a way to do that? I basically
> need the import file to look like the following:
>
> ID, Country, City
> 1,USA,Palo Alto
> 2,Czech Republic,Brno
> 3,USA,Sunnyvale
>
> instead of the following:
>
> 1,USA,Palo Alto
> 2,Czech Republic,Brno
> 3,USA,Sunnyvale
>
> Thank you,
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message