Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Quaternary Functions

Field Name

Type

Description

Label*

String

The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline.

Default ValueN/A
ExampleELT String functions Account

Pass through

Checkbox

Select this checkbox to specify that the Snap must include the incoming document (SQL query) in its output document.

Note

If this checkbox is selected and there are no conditional functions defined in the fieldsets below, Subquery Pushdown Optimization logically ignores this Snap—sends the input SQL query coming from the immediately upstream Snap as its output SQL query.

String Unary Functions

Specify your arithmetic string function/operation to be performed on a single table column/its value, using this fieldset. Click (blue star) to add a new row. Ensure that you specify each function in a separate row.

This fieldset consists of the following fields:

  • Function

  • Argument

  • Alias

Function*

String/Suggestion

Select an arithmetic unary expression/function to use. Click the Suggest icon (blue star) to retrieve the list of the supported functions. The list displays the functions supported by the database that you select in the Account settings. An error is displayed if an account is not configured.

Default Value: None.
ExamplePARSE_URL

Argument*

String/Expression

Each of the arithmetic unary functions needs only one value/argument. Hence, specify an argument for the selected expression/function. This is typically a column name in your source table.
Default Value: None.
Examplehttps://www.snaplogic.com

Alias Name*

String

Specify the column in which to display the result of the unary function. You can also reference this name in downstream Snaps to process the data further. 

Default Value: None.
ExamplePRL

String Binary Functions

Specify your arithmetic binary string function/operation to be performed on a single table column/its value, using this fieldset. Click (blue star) to add a new row. Ensure that you specify each function in a separate row.

This fieldset consists of the following fields:

  • Function

  • Argument 1

  • Argument 2

  • Alias

Function*

String/Suggestion

Select an binary expression/function to use. Click the Suggest icon (blue star) to retrieve the list of the supported functions. The list displays the functions supported by the database that you select in the Account settings. An error is displayed if an account is not configured.

Default Value: None.
ExampleSPLIT

Argument 1*

String/Expression

Each of the binary functions needs two values/arguments. Specify the first argument in this field for the selected expression/function. This is typically a column name in your source table.
Default Value: None.
ExampleLAT

Argument 2*

String/Expression

Each of the binary functions needs two values/arguments. Specify the second argument in this field for the selected expression/function. This is typically a column name in your source table. You can skip this argument by entering the quotes if you want to leave it empty.
Default Value: None.
ExampleLAT

Alias Name*

String

Specify the column in which to display the result of the binary function. You can also reference this name in downstream Snaps to process the data further. 

Default Value: None.
ExampleSPL

String Ternary Functions

Specify your arithmetic ternary string function/operation to be performed on a single table column/its value, using this fieldset. Click (blue star) to add a new row. Ensure that you specify each function in a separate row.

This fieldset consists of the following fields:

  • Function

  • Argument 1

  • Argument 2

  • Argument 3

  • Alias

Function*

String/Expression

Select a ternary expression/function to use. Click the Suggest icon (blue star) to retrieve the list of the supported functions. The list displays the functions supported by the database that you select in the Account settings. An error is displayed if an account is not configured.

Default Value: None.
ExamplePOSITION

Argument 1*

String/Expression

Each of the ternary functions needs three values/arguments. Specify the first argument in this field for the selected expression/function. This is typically a column name in your source table.
Default Value: None.
Examplee

Argument 2*

String/Expression

Specify the second argument in this field for the selected expression/function. This is typically a column name in your source table. You can skip this argument by entering the quotes if you want to leave it empty.
Default Value: None.
ExampleDPT

Argument 3*

String/Expression

Specify the third argument in this field for the selected expression/function. This is typically a column name in your source table. You can skip this argument by entering the quotes if you want to leave it empty.
Default Value: None.
Example1

Alias Name*

String

Specify the column in which to display the result of the ternary function. You can also reference this name in downstream Snaps to process the data further. 

Default Value: None.
ExamplePST

Function*

String

Specify your arithmetic quaternary string function/operation to be performed on a single table column/its value, using this fieldset. Click (blue star) to add a new row. Ensure that you specify each function in a separate row.

This fieldset consists of the following fields:

  • Function

  • Argument 1

  • Argument 2

  • Argument 3

  • Argument 4

  • Alias

    /Expression

    Select a quaternary expression/function to use. Click the Suggest icon (blue star) to retrieve the list of the supported functions. The list displays the functions supported by the database that you select in the Account settings. An error is displayed if an account is not configured.

    Default Value: None.
    ExampleINSERT

    Argument 1*

    String/Expression

    Each of the quaternary functions needs four values/arguments. Specify the first argument in this field for the selected expression/function. This is typically a column name in your source table.
    Default Value: None.
    ExampleDPT

    Argument 2*

    String/Expression

    Specify the second argument in this field for the selected expression/function. This is typically a column name in your source table. You can skip this argument by entering the quotes if you want to leave it empty.
    Default Value: None.
    Example2

    Argument 3*

    String/Expression

    Specify the third argument in this field for the selected expression/function. This is typically a column name in your source table. You can skip this argument by entering the quotes if you want to leave it empty.
    Default Value: None.
    Example1

    Argument 4*

    String/Expression

    Specify the fourth argument in this field for the selected expression/function. This is typically a column name in your source table. You can skip this argument by entering the quotes if you want to leave it empty.
    Default Value: None.
    Examplee

    Alias Name*

    String

    Specify the column in which to display the result of the quaternary function. You can also reference this name in downstream Snaps to process the data further. 

    Default Value: None.
    ExampleINS

    ...