In this page:
Table of Contents |
---|
...
Info |
---|
Currently, streaming transformation works only for the following data formats:
|
Here is an example of setting up a streaming translator:
Open IWS and create a simple solution with Task Translator:
...
Create new transformation (for example, CSV2STAR) in task translator:
Add simple data for both Source and Destination and select Streaming at the top of the window:
Info icon false Once you have selected a streaming translator, you cannot change it. Also, if you have not toggled Streaming as shown, you will not be able to change it later
Click Apply.
...
It’s the
...
Mapping worksheet.
For streaming translators you can use
...
Preproc worksheet (for example, to add a debug status for testing). Logic in the
...
Preproc tab is executed before the incoming file is processed:
Info icon false This worksheet already has the Data Query shape created for handling incoming parameters. It is created automatically
You can also use the
...
Postproc feature of the worksheet (for example, to add a status shape for debugging). It works like “Result Output translation” for regular translators:
...
Python
...
Translator
Prerequisites (please make sure these items are installed on box):
MC square
PyRuleService
Currently, python translators are under development, but they are the only way to create a translator for incoming source files exceeding 2GB.
Restrictions for python translation:
Currently available only CSV2EagleML translations.
Only direct mapping available
For python translators you should switch to “Python Translation” when you create the translator:
...
When you create a python translator, you should enable Python Translation checkbox in the top-right corner of the box: