Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3374

Error format check result for explain plan as json

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.22.0
    • Component/s: None

      Description

      The format check result of explain plan as json is incorrect, as

        public boolean isJson() {
          return getFormat() == SqlExplainFormat.XML;
        }
      

      in https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/sql/SqlExplain.java#L174

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                yanlin-Lynn Wang Yanlin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m