記錄一下spark SQL裏concat_ws和collect_set的做用

官方文檔:html http://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.sql.functions$java   concat_ws: 用指定的字符鏈接字符串mysql 例如:sql 鏈接字符串:apache concat_ws("_", field1, field2),輸出結果將會是:「field1_
相關文章
相關標籤/搜索