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


i know can make parquet file dataframe. suppose that, have class class below:

case class person(         id:   string,         name: string,         roll: option[int]   ) 

now, have seq[person] , want make parquet file sequence of person. in case, won't use spark.

so, how can make parquet file using scala/play seq[person]?


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -