Skip to content
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

Does this project have a future? #29

Open
gnilrets opened this issue Dec 23, 2015 · 5 comments
Open

Does this project have a future? #29

gnilrets opened this issue Dec 23, 2015 · 5 comments

Comments

@gnilrets
Copy link

Hi, I'm really excited by Spark, but not so excited about transitioning my work to Python. I'd love to see this project succeed, but it looks like it might be stalled. Is that true?

I see there's a pull request for DataFrame support that hasn't been merged. Is there anything I could do to help move that along?

@ondra-m
Copy link
Owner

ondra-m commented Dec 23, 2015

It is true (a little).

Sure, you can add:

  • More rspec test
  • Marshal serialization on scala for SQL stuff

@ryan-boder-zz
Copy link

Just wanted to say thanks. I'm using your work for a Spark presentation at a Ruby meetup. It looks like you've done a ton of great work here. I hope it grows into an active project.

@ondra-m
Copy link
Owner

ondra-m commented Mar 21, 2016

Thanks but I have problem with your example on ruby 2.2.3

n = 10_000_000
hits = $sc.parallelize(1..n).map(lambda do |_|
  x = rand * 2 - 1
  y = rand * 2 - 1
  x**2 + y**2 < 1 ? 1 : 0
end).sum

# => Sourcify::NoMatchingProcError: Sourcify::NoMatchingProcError

Does it work to you? I have to save Proc/lambda on variable first.

@ryan-boder-zz
Copy link

It works for me on ruby 2.0.0p481 on OSX Mavericks. I'm not a ruby expert by any means, just learning it. I did notice in your Pi example you used a named function instead of a lambda, just wasn't sure why. Isn't this code correct with the lambda?

@ondra-m
Copy link
Owner

ondra-m commented Mar 23, 2016

If it works for you, its ok :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants