Hi ,

i have nested case class that i wanted to fill with data read  from parquet
but i got this error : cannot resolve '`fix`' given input columns:
[sizeinternalname, sap_compo08_type ....]

case class Fix(a:String,b:String)
case class Acc(fix:Fix, c:String)
spark.read.parquet("path").as[Acc]

it does not look inside nested case class

any solution for this issue ?

Many Thanks,
ELhoussain

Reply via email to