Source panel

Pentaho Data Integration

Version
9.3.x
Audience
anonymous
Part Number
MK-95PDIA003-15

The options on this tab vary depending on the script source.

  • Embed (default): Select this option to embed the Python script specified in the Manual Python script field. The transformation will run using this Python script.
  • Link from file: If you choose this option, you can link out to virtual file systems.

Enter the following information in the fields for the specified source.

Option Description
Manual Python script (Embed) Enter the Python script (# python script) you want to embed for this transformation.
Location (Link from file) Indicates the file system or specific cluster where the python execution file you want to link from is located. For the supported file system types, see VFS browser.
File name (Link from file)

Specify the fully qualified URL of the local Python execution file you want to link from for this transformation.

Click Browse to navigate to the source file or folder in the VFS browser. This field supports variable injections using ${} notation.

Use a Python virtual environment (check box/field) Use this option if you have multiple versions of Python installed locally and you want to select a particular version for this step. Options include:
  • Select this check box if you want to specify a version of Python to run other than the default version. In the field, enter the version of Python you want to use to run this transformation. Click the Browse button to locate the Python execute file on your local server. This field supports variable injections using ${} notation.
  • Clear this check box if you have previously installed Python on your system and want to use this version as your default version.