Re: Spark SQL throws ClassCastException on first try; works on second

2014-07-14 Thread Nicholas Chammas
Ah, good catch, that seems to be it. I'd use 1.0.1, except I've been hitting up against SPARK-2471 with that version, which doesn't let me access my data in S3. :( OK, at least I know this has probably already been fixed. Nick On Tue, Jul 15,

Re: Spark SQL throws ClassCastException on first try; works on second

2014-07-14 Thread Michael Armbrust
You might be hitting SPARK-1994 , which is fixed in 1.0.1. On Mon, Jul 14, 2014 at 11:16 PM, Nick Chammas wrote: > I’m running this query against RDD[Tweet], where Tweet is a simple case > class with 4 fields. > > sqlContext.sql(""" > SELECT u