官方文档
API Doc
RDD Programming Guide
Spark SQL Guide
列分割成行
SELECT brand, sum(`_c4`) as total_count FROM tmp.search_filter_order LATERAL VIEW explode(split(filter_brands, ',')) num as brand WHERE filter_brands != '' GROUP BY brand