Column Concatination in Spark DataFrame

Hi Guys,
Could someone advise how to concat all the columns to a single column in spark dataframe.

The below code is an example of concatenating 2 columns.

val concatenated_column = df.select(concat($“column1”, lit(" "), $“column2”))

waiting for some good approaches…

Thanks