Page tree

Trifacta Dataprep


Contents:

On April 28, 2021, Google is changing the required permissions for attaching IAM roles to service accounts. If you are using IAM roles for your Google service accounts, please see Changes to User Management.

   

NOTE: Transforms are a part of the underlying language, which is not directly accessible to users. This content is maintained for reference purposes only. For more information on the user-accessible equivalent to transforms, see Transformation Reference.

Inserts a non-functional comment as a recipe step. Commented steps are ignored during job execution.

Multi-line comments are not supported.

Basic Usage

Depending on how the comment is inserted, the format of the step may vary.

Manually inserted comments:

In the Search panel, enter the following text in the Transformation textbox:

comment

Then, specify a value in the comment textbox.

Pasted comments:

Text values of the following formats can be pasted into the Transformation textbox. These steps are converted to comment transforms:

// This is a comment.

/* This is also a comment. */

Output: Output is unaffected by the comment. Comments are highlighted in a different color in the recipe panel.

Exported comments:

When comments are exported in scripts from the Recipe panel, they are in the following format:

// This is a comment.

Syntax and Parameters

comment comment: 'This is a comment.'

Token
Required?
Data Type
Description
commentYtransformName of the transform
commentYStringText of the comment to include.

comment

A text value that represents the comment that will appear in the recipe panel and in all exported scripts.

Required?Data Type
YesString


Examples

Tip: For additional examples, see Common Tasks.

See Also:

There is no content with the specified labels

 

This page has no comments.