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

We are getting the below error when executing select query on a carbon table when no data is returned from hive beeline.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • hive-integration
    • None
    • 3 node One track ANT cluster

    Description

      If no data is present in the table, then we are getting the below IOException in carbon, while running select queries on that empty table. But in hive even if the table holds no data, then it is working for select queries.

      Expected results: Even the table holds no records it should return 0 or no rows returned. It should not throw error/exception.

      Actual result: It is throwing IO exception - Unable to read carbon schema.

       

      Attached the screenshot for your reference.

      Attachments

        1. Nodatareturnedfromcarbontable-IOexception.png
          64 kB
          Prasanna Ravichandran

        Activity

          People

            Unassigned Unassigned
            Prasanna Ravichandran Prasanna Ravichandran
            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 - 6h 20m
                6h 20m