adspace


How will you consume CSV file into the Hive warehouse using built SerDe?

Answer Posted / Poonam Chaubey

To consume a CSV file into the Hive warehouse using a built-in SerDe (Serializer/Deserializer), follow these steps: 1. Create an external table with the desired structure and location. 2. Set the serialization library property (hive.serde2.binary.version) to '1.0' or '1.1'. 3. Use the COMMA_SERDE for CSV files, which is a built-in SerDe in Hive.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where does the data of a Hive table gets stored?

750


What is the stable version of Hive ?

2695


Can We Change settings within Hive Session? If Yes, How?

859


When to choose "External Table" in Hive?

867


What are the different types of tables available in Hive?

767


How can I delete the above index named index_bonuspay?

807


When we are using queries instead of scripting?

800


How to skip header rows from a table in Hive?

906


When to use explode in Hive?

832


What is a Hive variable? What for we use it?

880