Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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)
Attachments
Issue Links
- is fixed by
-
SEDONA-68 Add ST_Collect function to Apache Sedona.
- Resolved
-
SEDONA-69 Add merging geometries functions to geometry collection or multi geometry while using group by statement
- Resolved
- relates to
-
SEDONA-69 Add merging geometries functions to geometry collection or multi geometry while using group by statement
- Resolved