TresAmigosSD / SMV

Spark Modularized View
Apache License 2.0
42 stars 22 forks source link

Need call _assure_output_type method on run method result #1573

Closed ninjapapa closed 5 years ago

ninjapapa commented 5 years ago

Since user will provide the run method for SmvProcessModule modules, to prevent user return a wrong type from run, we need to call an _assure_output_type method, so that it will provide a readable error message to let users know the problem.