Ruslan Dautkhanov created ZEPPELIN-3234:

             Summary: compatibility with previous release
                 Key: ZEPPELIN-3234
             Project: Zeppelin
          Issue Type: Bug
    Affects Versions: 0.7.3, 0.8.0
            Reporter: Ruslan Dautkhanov

We've noticed two major issues with after upgrading Zeppelin
1) used to work directly on spark dataframe object,
now it produces TypeError: object of type 'DataFrame' has no len()
Full exception stack in [1].
We tried disabling ipython and it seems to be a workaround.
I there is a way to have compatibility with previous Zeppelin release on 
without disabling ipython altogether?
{quote}TypeErrorTraceback (most recent call last) 
<ipython-input-4-47beac9208ab> in <module>()
----> 1'select * from disc_mrt.unified_fact')) 
<ipython-input-1-b24458af29e1> in show(self, p, **kwargs)
 73 # `isinstance(p, DataFrame)` would req `import pandas.core.frame.DataFrame`
 74 # and so a dependency on pandas
---> 75 self.show_dataframe(p, **kwargs)
 76 elif hasattr(p, '__call__'):
 77 p() #error reporting <ipython-input-1-b24458af29e1> in show_dataframe(self, 
df, show_index, **kwargs)
 80 """Pretty prints DF using Table Display System 81 """ ---> 82 limit = 
len(df) > self.max_result 83 header_buf = StringIO("")
 84 if show_index: TypeError: object of type 'DataFrame' has no len()


This message was sent by Atlassian JIRA

Reply via email to