sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From foo bar <clojurian...@gmail.com>
Subject Sqoop to write column names as headers
Date Thu, 02 Oct 2014 18:13:45 GMT
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