godatadriven / pydantic-spark

MIT License
25 stars 8 forks source link

union type support Issue #18 #28

Closed Bennyelg closed 11 months ago

Bennyelg commented 1 year ago

Solve the case when a union type is passed i.e data: Union[int,str]. Taking the type string for the column.

dan1elt0m commented 11 months ago

You can use the coerce type option for Union types