author243 author243 - 20 days ago 14
Java Question

How to convert a csv file to parquet

I'm new to BigData.I need to convert a csv/txt file to Parquet format. I searched a lot but couldn't find any direct way to do so. Is there any way to achieve that?

Answer

Here is a sample piece of code which does it both ways.

Comments