mihaibudiu commented on code in PR #5274:
URL: https://github.com/apache/calcite/pull/5274#discussion_r4151000967
##########
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:
##########
@@ -367,15 +409,26 @@ public RelFactories.TableScanFactory getScanFactory() {
* you need to use previously built expressions as inputs, call
* {@link #build()} to pop those inputs. */
public RelBuilder push(RelNode node) {
- stack.push(new Frame(node));
+ stack.add(new Frame(node));
Review Comment:
changing this API seems dangerous. Why do you need to do it?
--
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]