You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2021/11/03 22:30:00 UTC
[jira] [Commented] (CALCITE-4874) Add recursive digest helper
method
[ https://issues.apache.org/jira/browse/CALCITE-4874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17438322#comment-17438322 ]
Julian Hyde commented on CALCITE-4874:
--------------------------------------
How about this:
{code}RelNode r;
System.out.println(RelOptUtil.toString(r));{code}
and since CALCITE-4224
{code}System.out.println(r.explain());{code}
> Add recursive digest helper method
> ----------------------------------
>
> Key: CALCITE-4874
> URL: https://issues.apache.org/jira/browse/CALCITE-4874
> Project: Calcite
> Issue Type: Improvement
> Reporter: Will Noble
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> I often find myself having to visual compare long rel node trees while debugging. Having a helper method ready to generate the string will save time going through and manually copy-pasting and formatting each node.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)