fix: schema not cached in spark/flink loader (#334)