I have a job that reads csv files , converts it into data frames and writes in Parquet. I am using append mode while writing the data in Parquet. With this approach, in each write a separate Parquet file is getting generated. My questions are :
- 1) If every time I write the data to Parquet schema ,a new file gets appended , will it impact read performance (as the data is now distributed in varying length of partitioned Parquet files)
- 2) Is there a way to generate the Parquet partitions purely based on the size of the data ?
- 3) Do we need to think to a custom partitioning strategy to implement point 2? I am using Spark 2.3