select
     name
    ,REGEXP_REPLACE(str,"[\\[\"\\]]",'')
from (
    select
        trans_array(1, ",", name,list) as (name,str)
    from (
    select '经办人' as name,'["1001","1002"]' as list
    ) t1
) t2
;

 

select 
    trans_array(1, ",", name,REGEXP_REPLACE(list,"[\\[\"\\]]",'')) as (name,str)
from (
select '经办人' as name,'["1001","1002"]' as list
) t1
;

 

select
     name
    ,list_tmp
from (
    select '经办人' as name,'["1001","1002"]' as list
) t1
lateral view explode(split(REGEXP_REPLACE(list,"[\\[\"\\]]",''),',')) b AS list_tmp
;

 

相关文章:

  • 2021-11-21
  • 2021-11-23
  • 2021-09-20
  • 2021-09-17
  • 2021-07-29
  • 2021-11-29
猜你喜欢
  • 2021-08-18
  • 2021-09-14
  • 2021-07-13
  • 2022-01-24
  • 2021-04-23
相关资源
相似解决方案