Defining Redshift Functions
The following properties are applicable to a Redshift Function object.
Tab |
Property |
Description |
Additional Information |
Redshift | Language | Specifies the language (SQL or plpythonu) to be used for function creation | |
Volatility | Informs the query optimizer about function behavior |
Immutable: Indicates that the function always returns the same results. The query optimizer pre-evaluates the function. Stable: Indicates that for same arguments, the function returns same results for all rows processed within a single statement. Volatile: Indicates that for same arguments, the function can return different results on successive calls. The function must be evaluated for every input row. |
|
Return Data Type | Specifies the data type of the value returned by the function | ||
Parameters |
Parameters | Indicates the list of function parameters | |
Physical Data Type | Specifies the data type of a parameter |
Copyright © 2019 erwin, Inc.
All rights reserved.
|
|