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 <[email protected]> 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, >
