Required Arguments
- apply_command
- Specifies the command or script to run.
- script_name
- Specifies the name of the user script.'Rscript --vanilla ..' helps user to run R script without saving or restoring anything in the process and keep things clean.
- files_local_path
- Specifies the absolute local path where user script and all supporting files like model files, input data file reside.
- env_name
- Specifies the name of the remote user environment or an object of class UserEnv.
Optional Arguments
- returns
- Specifies output column definition.
- data
- Specifies a teradataml DataFrame containing the input data for the script.
- data_hash_column
- Specifies the column to be used for hashing.
- data_partition_column
- Specifies Partition By columns for data.
- is_local_order
- Specifies a boolean value to determine whether the input data is to be ordered locally or not. sort_ascending specifies the order in which the values in a group, or partition, are sorted.
- data_order_column
- Specifies the Order By column for data, and can be used no matter is_local_order is set to 'True' or 'False'.
- sort_ascending
- Specifies a boolean value to determine if the result set is to be sorted on the data_order_column column in ascending or descending order:
- When set to 'True', data is sorted in ascending order.
This is the default value.
- When set to 'False', data is sorted in descending order.
This argument is ignored, if data_order_column is None. - When set to 'True', data is sorted in ascending order.
- nulls_first
- Specifies a boolean value to determine whether NULLS are listed first or last during ordering.
- delimiter
- Specifies a delimiter to use when reading columns from a row and writing result columns. Delimiter must be a valid Unicode code point.
- quotechar
- Specifies the character used to quote all input and output values for the script. Default value is double quote(").This argument cannot be the same as delimiter argument.
- style
- Specifies how input is passed to and output is generated by the apply_command respectively. Default value is 'csv', and this is the only value supported for APPLY.