cloud-fan commented on code in PR #51847: URL: https://github.com/apache/spark/pull/51847#discussion_r2318799577
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/cteOperators.scala: ########## @@ -194,7 +194,8 @@ case class CTERelationRef( override val isStreaming: Boolean, statsOpt: Option[Statistics] = None, recursive: Boolean = false, - override val maxRows: Option[Long] = None) extends LeafNode with MultiInstanceRelation { + override val maxRows: Option[Long] = None, + isUnlimitedRecursion: Option[Boolean] = None) extends LeafNode with MultiInstanceRelation { Review Comment: can we use `maxRows = Some(-1)` to indicate unlimited recursion? -- 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