Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1403

HBase predicate pushdown filters are not getting applied

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.6.0
    • Functions - Drill

    Description

      It seems, due to latest changes HBase predicate pushdown is not getting applied.

      In below snippet, "le.accept(this, null)" returning null.

        public HBaseScanSpec parseTree() {
          HBaseScanSpec parsedSpec = le.accept(this, null);
          if (parsedSpec != null) {
            parsedSpec = mergeScanSpecs("booleanAnd", this.groupScan.getHBaseScanSpec(), parsedSpec);
            /*
             * If RowFilter is THE filter attached to the scan specification,
             * remove it since its effect is also achieved through startRow and stopRow.
             */
            if (parsedSpec.filter instanceof RowFilter) {
              parsedSpec.filter = null;
            }
          }
          return parsedSpec;
        }
      

      Attachments

        Activity

          People

            adityakishore Aditya Kishore
            akumarb2010 AnilKumar B
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: