0

I want to export input data from hdfs into postgress db through sqoop. I am able to achieve this when my input data is in proper format with postgress table.

But i want to perform some operation on my input data before exporting it into db like lets say i want to add some no to each value before i put it.

so,does sqoop provides any such apis to peform this..

sqoop version:1.4.6

Ranjan Swain
  • 75
  • 1
  • 9

1 Answers1

1

Sqoop doesnt support any operations while exporting. Its just take export-dir as input. You can use pig/hive to perform some operations for imported data and output dataset can be exported back to your postgress db.

marjun
  • 696
  • 5
  • 17
  • 30