I have a shape as a string field in BigQuery "lat, long; lat, long; ..." and want to create a ST_GEOMETRY from it in a query.
The point is to do it directly in BQ so no code is needed to transform outside of the database.
As this question here is locked and the answer is wrong in the sense that it is not done in BigQuery but using some external tools (Python) I opened this one. Switch position of latitude and longitude in polygon using BigQuery