TOMAP

Description

Converts key/value expression pairs to type map.

Syntax

TOMAP(key-expression,value-expression[,key-expression,value-expression...])

Arguments

  key-expression - string_expression. 

  value-expression - any data type.

Examples

TOMAP('Alan','64','Carol','63') returns ([Alan#64,Carol#63]).

Return value datatype

Map

Impact of null value

If input is null, returns null.

Feedback and Knowledge Base