blingqiu created SEDONA-58:
------------------------------

             Summary: is there a good way to form multipoint
                 Key: SEDONA-58
                 URL: https://issues.apache.org/jira/browse/SEDONA-58
             Project: Apache Sedona
          Issue Type: Improvement
            Reporter: blingqiu


I get a collect of lng and lat array, how to form a multipoint geom?
sql1 = f"""
select
buyer_addr_state,buyer_addr,
collect_list(array(geo_lng,geo_lat)) as pins,
count(1) as pins_cnt
from tmp_my_address_tab_tab
group by buyer_addr_state,buyer_addr
"""
df1 = spark.sql(sql1)
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to