Geo: Refactor to extract a method
What does this MR do and why?
Describe in detail what your merge request does and why.
Just a follow up minor refactor, extracting the query to name it, and adding a comment about why a CTE is needed.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.