twosigma / flint

A Time Series Library for Apache Spark
Apache License 2.0
1k stars 184 forks source link

Example of sqlContext in Weather.ipynb and Flint Example.ipynb #73

Closed yezhengli-Mr9 closed 5 years ago

yezhengli-Mr9 commented 5 years ago

Example of SQLContext in Weather.ipynb and Flint Example.ipynb?

I get TypeError: 'JavaPackage' object is not callable by trying some SQLContext (although I believe this is my configuration issue).

Thanks!

ashishk96 commented 5 years ago

I am having the same issue. Could you share what did you do to fix it?

pohutukawa commented 4 years ago

@yezhengli-Mr9 @ashishk96: I've been fighting the same (and further problems).

Have a look at #77 on how to get things to (mostly) work well. Noteworthy are the two JARs you need to grab and place in the right locations as well as the code snippet on how to obtain access to the the spark object at the head of the file.