split_part(channel, '/', 1) AS channel1
, split_part(channel, '/', 2) AS channel2
, split_part(channel, '/', 3) AS channnel3

分完之后的结果 是这个样子
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/bigdata/3823.html
split_part(channel, '/', 1) AS channel1
, split_part(channel, '/', 2) AS channel2
, split_part(channel, '/', 3) AS channnel3

分完之后的结果 是这个样子
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/bigdata/3823.html