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

Inconsistent results between Hive and Drill (an extra row appeared in Drill)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • None
    • None

    Description

      Tried a simple query as below.
      The results look different between Hive and Drill (note the extra result row in case of Drill)

      Query:
      select l_returnflag,l_linestatus, count from lineitem group by l_returnflag, l_linestatus order by l_returnflag,l_linestatus;

      Hive results:
      A F 147790
      N F 3765
      N O 300716
      R F 148301

      Drill results:
      ------------------------------------

      EXPR$2 l_returnflag l_linestatus

      ------------------------------------

      147790 A F
      3765 N F
      0 N O
      300716 N O
      148301 R F

      ------------------------------------

      Attachments

        Issue Links

          Activity

            People

              amansinha100 Aman Sinha
              Neeraja Neeraja
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: