Question

I have a CSV file, with first line as a header. Is there a HIVE SerDe that can create table using CSV header as well infers data type then it is the best.

Was it helpful?

Solution

Short answer - No.

What you're looking for is outside the scope of what SerDes are designed to do. There are, however, tools available that will create a table from a CSV with headers as an intermediate step. Check out hue.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top