When debugging queries in Redshift, it’s useful to look at SVL_COMPILE to see where queries are triggering a compile, which obviously gobbles up quite a lot of time if you’re doing it by accident. However, all you get in SVL_COMPILE is some idea of ‘segment’ and ‘locus’. Is there any way to map these numbers to actual parts of a query’s text? Or at least, how can one reason about what they might refer to? The segments don’t seem to match the number of nodes in an EXPLAIN of the query, for example.