Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-4080

Wrong results for select count on invalid segments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.1
    • spark-integration
    • None

    Description

      Wrong results for

      • select count on marked for delete segment
      • select count on compacted segment

      Issue comes only when the user explicitly sets deleted/compacted segments using the property carbon.input.segments.
      As select * on such segments gives 0 rows as output, in order to maintain consistency, select count should also give 0 rows.

      Attachments

        Activity

          People

            Unassigned Unassigned
            akshay_97 Akshay
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 2h 40m
                2h 40m