Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-3032

key columns unnecessarily selected when predicate is converted to range

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.11.1
    • Fix Version/s: 1.12.0
    • Component/s: perf
    • Labels:
      None

      Description

      When a predicate applies to leading primary key columns, the tablet service optimizes it into a range scan and removes those predicates from the ScanSpec. However, the current behavior (seemingly going back to when this was implemented) does not actually prevent those key columns from being read from disk. This has a negative performance impact, particularly when the keys are large or inefficient to decompress.

        Attachments

          Activity

            People

            • Assignee:
              ZhangYao ZhangYao
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: