Member since
05-31-2017
1
Post
0
Kudos Received
0
Solutions
05-31-2017
05:59 AM
Hi, I have a pig output in HDFS with header data. I want to insert this data in Oracle DB. The column names of the header matches with column name of database. How do I insert this data database using the header information.? I can see people using 'insert into...' in the pig script and mention those columns. Is there a dynamic way to map pig headers to database columns? e.g. : pig_output col1 col2 col3 col4 1 Abc def 500
2 def jze 600
... View more
Labels:
- Labels:
-
Apache Pig