spark-ts-examples icon indicating copy to clipboard operation
spark-ts-examples copied to clipboard

BusinessDayFrequency error (Python)

Open hartziai opened this issue 9 years ago • 6 comments

Getting this error on BusinessDayFrequency(1, 1, sc) __init__() takes exactly 3 arguments (4 given)

when I change it to BusinessDayFrequency(1, sc) I get this error:

--> self._jfreq = sc._jvm.com.cloudera.sparkts.BusinessDayFrequency(bdays)
TypeError: 'JavaPackage' object is not callable

hartziai avatar Mar 11 '16 19:03 hartziai

+1 @sryza Did you solve it? @hartziai

ahjdzx avatar Aug 04 '16 09:08 ahjdzx

Hi @hartziai and @ahjdzx, this issue was fixed here: https://github.com/sryza/spark-timeseries/pull/133, but I haven't yet had a chance to include that commit in a release

sryza avatar Aug 09 '16 05:08 sryza

Hi @sryza . Did you get a chance to include the fix #133 , in the latest release? I've just started using sparkts. I'm getting the above error in Python.

Mahshids avatar Oct 02 '17 21:10 Mahshids

Hey @sryza I still get this exact issue mentioned by @hartziai . Hasn't the changes being in effect ?

ShakthiYasas avatar Dec 15 '18 18:12 ShakthiYasas

Hey @ShakthiYasas, apologies, but I haven't had the time to do a release since then

sryza avatar Dec 18 '18 02:12 sryza

Any chance to release this fix in future.

manj003 avatar Oct 18 '19 22:10 manj003