spark-hats
spark-hats copied to clipboard
Add schema projection
Feature
Create a method that given an input dataframe and the desired schema applies the schema to the dataframe as long as:
- Same fields have same/compatible data types.
- The desired schema is a subset of the input schema.