manner commented on code in PR #30015: URL: https://github.com/apache/flink/pull/30015#discussion_r4626382674
########## flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/calcite/FlinkPlannerImpl.scala: ########## @@ -71,6 +72,9 @@ class FlinkPlannerImpl( var validator: FlinkCalciteSqlValidator = _ + /** Qualified names of the views that are currently being expanded, outermost first. */ + private val viewsInExpansion = new util.ArrayList[util.List[String]]() Review Comment: It's also used to print a helpful error message containing the cycle of referenced views (e.g. `v1` -> `v3` -> `v2` -> `v1`). But will switch to a LinkedHashSet, so the existence check is a bit clearer -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
