Support Questions
Find answers, ask questions, and share your expertise

How to Save Table name and related all columns in separate csv file in Hive

How to Save Table name and related all columns in separate csv file in Hive

Contributor

Hi All.

 

I have Multiple table and that table contains multiple columns-

 

For Example -

Table1-

        col1,col2,col3

Table2-

      col1,col2,clo3,col4

 

Now i want separate CSV file that contains -

 

Both Table and Columns-

 

 

 

Thanks

HadoopHelp