Spark-sql does not seem to read from a nested schema

Thanks, I'll look into it.