Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to write data from jython evaluator, Streamsets

I am trying to read the data from directory and parse it and write to some other location by using jython evaluator. For this, i tried following code:

import sys

sys.path.append('/usr/lib/python2.7/site-packages')

import feedparser for record in records:

myfeed =feedparser.parse(str(record))

for item in myfeed['items']:

title = item.title

  output.write(title)

i am getting following no data to write:

No output records produced.