1

How to create HIVE table from XML file , with only few specific fields?? For example I have a XML file of 1000 fields but I need only 100 fields in my HIVE table. And apart from that. How do I store the 100 fields in different databases and different tables?

Harish
  • 11
  • 1

1 Answers1

0

The usual method is to run XLST transformations on your XML file and produce 1 to N csv files that can you store on HDFS, then expose data through HIVE external tables, or load to ORC/Parquet tables in a second stage.

Harold
  • 455
  • 4
  • 10