Re: Issue with executescript

2017-11-20 Thread Mike Thomsen
I think it's telling you that outputStream.write(text) needs to be (text.encode('utf-8')) On Sat, Nov 4, 2017 at 2:37 PM, N, Vyshali wrote: > Hi, > > > > I’m trying to do data anonymization using faker package in Nifi for which > I’m using executescript processor. > >

Issue with Executescript

2017-11-02 Thread N, Vyshali
Hi, I'm using the executescript process to generate some fake data using "Faker" package and replacing it in the original data.I have attached the script for your reference. import java.io from org.apache.commons.io import IOUtils from java.nio.charset import StandardCharsets from