Looking for a concise example on how to read and write Map
from/to parquet file in Java or Scala?
Here is expected structure, usin
I doubt there is a solution to this readily available. When you talk about Maps, its still possible to create a AvroSchema out of it provided the values of the maps is a primitive type, or a complexType which inturn has primitive type fields.
In your case,
To resolve this issue, you can try to convert your object into a JsonObject
and then use the Apache Spark libraries to convert it to Parquet.