Uploaded image for project: 'Apache Trafodion'
  1. Apache Trafodion
  2. TRAFODION-461

LP Bug: 1343642 - compiler: potential issue with ScanOptimizer::getNumActivePartitions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-incubating
    • Component/s: sql-cmp
    • Labels:
      None

      Description

      The function ScanOptimizer::getNumActivePartitions() is supposed to return how many partitions are going to accessed at runtime.
      This involves analyzing search key predicates and table partitions type (range or hash) so on. For example if the predicate is on key col like primary_key = <some existing col value>, this function should returns 1 active partition.

      Fixing this function to return correct number of partitions is important for Trafodion because we deal with range partitions in HBase.

        Attachments

          Activity

            People

            • Assignee:
              qfc Qifan Chen
              Reporter:
              nravisha Ravisha Neelakanthappa
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: