Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14120

select count * returns multiple rows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.1
    • 2.12
    • sql
    • None
    • Docs Required, Release Notes Required

    Description

      I have a partitioned table which has 1 backup, the queryParallelism is set to 4.

      The table primary key is column "ID", 

      If I do this query:

              select count( * ) from my_table where ID = 1000;

      It will return 4 rows:

              1
              0
              0
              0

       

      If I query by other not primary-key columns of this table, the result is good, like:

              select count( *) from my_table where name = 'abcd'

      result is:

              0

      Attachments

        Issue Links

          Activity

            People

              vermakov Vladimir Ermakov
              nifeng2xing Isaac Zhu
              Konstantin Orlov Konstantin Orlov
              Votes:
              0 Vote for this issue
              Watchers:
              8 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 50m
                  1h 50m