Hi all,

We're uising SQLContext.read.json to read in a stream of JSON datasets, but 
sometimes the inferred schema contains for the same value a LongType, and 
sometimes a DoubleType.

This obviously causes problems with merging the schema, so does anyone know a 
way of forcing the inferred schema to always mark every type as a StringType, 
then we can handle the type checking ourselves?

I know we could use a specified schema, but that loses some of the flexibility 
we're getting at the moment.

Thanks,
Ewan

Reply via email to