This is a bug of 0.8 which has been fixed in 0.9 Bruno Aranda <bara...@apache.org> 于2019年11月6日周三 下午7:48写道:
> Hi, > > I am having an issue with the ZeppelinContext when using IPython. It works > fine without it. > > For instance, in one Spark paragraph I may put a variable into the context: > > %spark > z.put("lala", "lolo") > > And in a following python-based paragraph, I want to retrieve this value: > > %pyspark > z.get("lala") > > Then I get: > > AttributeErrorTraceback (most recent call last) > <ipython-input-4-152090f2d152> in <module>() ----> 1 z.get("lala") > AttributeError: 'IPySparkZeppelinContext' object has no attribute 'get' > > Is this a bug or am I missing something? > > Thanks! > > Bruno > -- Best Regards Jeff Zhang