[ https://issues.apache.org/jira/browse/CALCITE-3374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Haisheng Yuan resolved CALCITE-3374. ------------------------------------ Fix Version/s: 1.22.0 Resolution: Fixed Fixed in https://github.com/apache/calcite/commit/2dc97e6723e1b5bf762540f87ffffb5cd1a848a1. > Error format check result for explain plan as json > -------------------------------------------------- > > Key: CALCITE-3374 > URL: https://issues.apache.org/jira/browse/CALCITE-3374 > Project: Calcite > Issue Type: Bug > Reporter: Wang Yanlin > Priority: Minor > Labels: pull-request-available > Fix For: 1.22.0 > > Time Spent: 40m > Remaining Estimate: 0h > > The format check result of explain plan as json is incorrect, as > {code:java} > public boolean isJson() { > return getFormat() == SqlExplainFormat.XML; > } > {code} > in > https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/sql/SqlExplain.java#L174 -- This message was sent by Atlassian Jira (v8.3.4#803005)