cloud-fan commented on PR #49351: URL: https://github.com/apache/spark/pull/49351#issuecomment-2572643244
After `CTESubstitution`, we will create a `CTERelationDef` whose `child` is a union query with `CTERelationRef` referencing itslef. IIUC our goal is to rewrite this recursive `CTERelationDef`'s `child` to be a `UnionLoop` with `UnionLoopRef`. Why do we need to put this `anchor` field in `CTERelationDef`? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org