spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imran Rashid <im...@therashids.com>
Subject Re: SPARK LIMITATION - more than one case class is not allowed !!
Date Sat, 06 Dec 2014 03:39:21 GMT
> It's an easy mistake to make... I wonder if an assertion could be
implemented that makes sure the type parameter is present.

We could use the "NotNothing" pattern

http://blog.evilmonkeylabs.com/2012/05/31/Forcing_Compiler_Nothing_checks/

but I wonder if it would just make the method signature very confusing for
the avg user ...

Mime
View raw message