ST_PolygonFromText
Signature
Parameters
Delimiter separating the coordinates, a string constant must be wrapped as a string literal (using pyspark.sql.functions.lit).
Generate a polygon from a list of coordinates separated by a delimiter stored in a string column.
ST_PolygonFromText