Description
Converts one or more expressions to type bag.Syntax
TOBAG(expression[,expression...])
Examples
TOBAG('Alan','64','1.88') returns {(Alan),(64),(1.88)}.
Convert one or more expressions into a bag (array) data type. Use TOBAG for creating collections from individual values in ETL data pipelines.
TOBAG(expression[,expression...])
TOBAG('Alan','64','1.88') returns {(Alan),(64),(1.88)}.
Was this page helpful?