How to make a parquet file from a case class without using spark?

803 views Asked by At

I know that we can make a parquet file from dataframe. Now suppose that, we have a class class like below:

case class Person(
        id:   String,
        name: String,
        roll: Option[Int]
  )

Now, we have Seq[Person] and i want to make a parquet file from this sequence of person. In this case, we won't use spark.

So, How can we make a parquet file using scala/play from Seq[Person]?

0

There are 0 answers