0

I am trying to build a simple stream pipeline using file | script | file I choose python as scripting language How do I write long python scripts in the Data Flow UI ? The code that I want to execute by giving in the UI :

def input():
    return "Pre" + payload;

def output():
    return payload + "Post";

result = locals()[channel]()

What is the convention ?

I am getting TokenizationError:UnExpectedChar errors. If try to escape spacial characters I am getting splitter exceptions during the execution

See the Error and PipeLine On Data Flow UI Adding Python Script Here as it is

1 Answers1

1

Have you looked at the samples here which show how you can use python apps inside SCDF stream/task

Ilayaperumal Gopinathan
  • 4,099
  • 1
  • 13
  • 12