Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-84

PySpark Doesn't Support Multi-Line Statements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.5.0
    • None
    • Interpreters
    • None

    Description

      Zeppelin doesn't handle line continuations (`\`) correctly. Running the following test throws an exception on .collect():

      %pyspark
      count = 0
      for data.map(lambda x: x) \
              .collect():
          count += 1
      print count
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rnowling R J Nowling
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: