You are viewing documentation about an older version (1.4.0). View latest version

snowflake.snowpark.functions.concat

snowflake.snowpark.functions.concat(*cols: ColumnOrName) Column[source]

Concatenates one or more strings, or concatenates one or more binary values. If any of the values is null, the result is also null.

Example::
>>> df = session.create_dataframe([['Hello', 'World']], schema=['a', 'b'])
>>> df.select(concat(df.a, df.b)).show()
--------------------------
|"CONCAT(""A"", ""B"")"  |
--------------------------
|HelloWorld              |
--------------------------
Copy