ST_MAKELINE discarding duplicate points even if not consecutive
问题 Consider this simplified example: SELECT ST_MAKELINE([ ST_GEOGPOINT(5, 51), ST_GEOGPOINT(5, 52), ST_GEOGPOINT(5, 51) ]) I would expect this to construct a line with three points, that doubles back on itself. Instead, what I'm getting is: LINESTRING(5 51, 5 52) It seems that BigQuery is discarding duplicate points, even if they are not consecutive. This is messing up my distance calculation, which involves taking the ST_LENGTH of the resulting linestring. As a workaround, I'm constructing a