hive列转行
SELECT
upc_y,
standard_id
FROM
table lateral VIEW explode(split(upc, ';')) t1 AS upc_y
注意这里对特殊字符要进行转义: '#\$%#' ';'
(1)有的符号是特殊字符,有的不是
'''
select
sku_name
sku_name_cleans,
from aa
lateral VIEW explode(split(sku_name, '#\\\$%#')) t1 AS sku_name_cleans
where
dt='2021-08-04'
'''