Changes to data types
Linear types were added.
Changes to the built-in functions
- Added the
WithSideEffects/WithSideEffectsModefunctions for working with side effects. - Functions for creating new dictionaries based on existing ones with content modification were added:
DictInsert/DictUpsert/DictUpdate/DictRemove. - Functions for working with mutable dictionaries using linear types were added.
- The
Blockfunction was added in order to execute a code block using anonymous dependent nodes. - Functions
ToDynamicLinear/FromDynamicLinearwere added for convertation between linear types. - Functions
LinearType/DynamicLinearTypewere added for constructing linear types. - Functions
LinearTypeHandle/DynamicLinearTypeHandlewere added for constructing linear types during code generation. - The
LinearItemTypefunction was added on order to get the parameter type from a linear type. - The
Concatfunction was added for string concatenation. - The
NullIffunction was added.
Changes to the NOT NULL expression
- The
x NOT NULLexpression will generate an error instead of a warning. To fix this, replace it withx IS NOT NULL.
Changes to PRAGMA
- The PRAGMA
SimplePgwas added for all functions importing from theSimplePgmodule to the global scope of functions visibility. - The PRAGMA
Layerswere added for specifying the layers that can annotate individual UDF calls, rather than all operations performing in the query.
Changes to the Udf function
- A new named argument
Layerswas added for specifying a list of required layers for the UDF.
The SimplePg module was added
- It includes the
now,to_date,round,date_trunc,floor,ceil,to_char,date_partfunctions. - For functions available through the
SimplePgorPgmodules, an extended error message is provided when they are used in the global scope of visibility.
Changes to aggregate functions
- The
RANDOM_VALUEandRANDOM_SAMPLEaggregate functions were added on order to randomly select the number of elements from the source.
Changes to table functions
- The
PARTITIONSandPARTITION_LISTfunctions were added.