[ 
https://issues.apache.org/jira/browse/SEDONA-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17430764#comment-17430764
 ] 

Paweł Kociński commented on SEDONA-58:
--------------------------------------

To be honest to solve your issue the most suitable solution is function 
ST_Collect which currently we do not have. I will create additional ticket to 
do so. I will close that one and link new one with this. 

> 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
>            Priority: Major
>
> 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