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

Error format check result for explain plan as json

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.22.0
    • 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

              Unassigned Unassigned
              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