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

Make CannotPlanException great

    XMLWordPrintableJSON

Details

    Description

      1) Empty subsets are the typical offenders for CannotPlan, so identify them and print before printing the planner dump

      2) Print Graphviz-compatible output as well so the output is easier to understand

      It would probably make sense to expose leafmost empty subsets via Set<RelSubset> CannotPlanExeption#getDeadSubsets()

      Attachments

        1. converters.png
          222 kB
          Vladimir Sitnikov
        2. running_rule.png
          218 kB
          Vladimir Sitnikov
        3. subsets.png
          173 kB
          Vladimir Sitnikov
        4. values_vs_subset_placement.png
          80 kB
          Vladimir Sitnikov

        Issue Links

          Activity

            People

              julianhyde Julian Hyde
              vladimirsitnikov Vladimir Sitnikov
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 1h 20m
                  1h 20m