Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-2706

Fix the bug for the comparator in SortedIteratorMergerWithLimit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • v2.0.0
    • v2.2.0
    • Query Engine
    • None

    Description

      For this SQL, which should disable Storage limit push. Because this SQL will return more than one record from HBase tables, but the SortedIteratorMergerWithLimit only return one record, which will get wrong result.

      SELECT sum(A) 
      FROM TABLE 
      WHERE date_id >= 20170624 and date_id <= 20170626 
      limit 1
      

      We should disable Storage limit push down when singleValuesD doesn't containsAll othersD

      Attachments

        1. KYLIN-2706.patch
          6 kB
          Kaisen Kang

        Activity

          People

            kangkaisen Kaisen Kang
            kangkaisen Kaisen Kang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: