Handle coercion from Bson to Spark Schema.
Type mapping from Bson Type into Spark Types. Handle mismatched types conversion eg Integer to Longs. Ensure conflict types error.
Handle coercion from Bson to Spark Schema.
Type mapping from Bson Type into Spark Types. Handle mismatched types conversion eg Integer to Longs. Ensure conflict types error.