+1 On Sat, Jul 16, 2016 at 1:57 PM moon soo Lee <m...@apache.org> wrote:
> Original implementation of pyspark interpreter printed output without > print(). > But the behavior changed since > https://github.com/apache/zeppelin/commit/956e3f74a1b2f28fd8caa25055e77f687ca8d211 > > I also prefer to get output without print(). and i think it's very natural > behavior in any REPL. So, if we can bring behavior back that would be great. > > Best, > moon > > On Fri, Jul 15, 2016 at 1:55 PM Jeff Zhang <zjf...@gmail.com> wrote: > >> It is weird to me that I have to use print to get the output. Is it by >> design or bug ? The behavior is strange to me as in jupyter user don't need >> to use print. >> >> e.g. >> >> %pyspark >> >> # no output >> sc.parallelize(range(1, 10)).sum()) >> >> # output is printed >> print(sc.parallelize(range(1, 10)).sum()) >> >> 45 >> >> >> -- >> Best Regards >> >> Jeff Zhang >> >