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

Python: improve paragraph ERROR status detection

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.7.1, 0.8.0
    • python-interpreter
    • None

    Description

      As discussed in initial implementation of this feature current error detection implementation under ZEPPELIN-1105 is sub-optimal

      Accuracy
      Right now a code like:

      print("there is no Error: ok")
      

      will trigger a false positive paragraph ERROR status.

      II. Speed
      It is also slow, in case of the long strings in output, as noted in ZEPPELIN-1360.

      There are at least two possible approaches to improve here:

      • put user code under try ... except
      • or re-direct sys.stderr and check for non-empty value

      Attachments

        Issue Links

          Activity

            People

              astroshim Shim HyungSung
              bzz Alexander Bezzubov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: