-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Chapter 3 - Use the CROSS JOIN syntax to allow cartesian products between these relations #136
Comments
Hm, that's weird. I don't recall ever seeing it, though it's been a long while since I ran the code. There aren't any other modifications? There isn't a join in that line of course. Are you sure it's not triggering elsewhere? or definitely happens only as soon as you execute this line? Or what happens if you execute that line with |
Sorry for the delayed I did not realize that this issue had a response, this is the explain():
And once I set the toRecommend.cache()
|
Hm, I also have no idea. If I can reproduce it later, maybe I'll just make the change you suggest. |
I got the same error and got it to work with the suggested addition of |
When trying to run this piece of code from chp3:
model.transform(toRecommend).select("artist","prediction").orderBy($"prediction".desc).limit(howMany)
I get:
This gets fix if I use:
toRecommend.cache()
I'm not sure why is this the case though
The text was updated successfully, but these errors were encountered: