Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-23706

Fix nulls first sorting behavior

    XMLWordPrintableJSON

    Details

      Description

      INSERT INTO t(a) VALUES (1), (null), (3), (2), (2), (2);
      
      select a from t order by a desc;
      

      instead of

      3, 2, 2, 2, 1, null
      

      should return

      null, 3, 2 ,2 ,2, 1
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kkasa Krisztian Kasa
                Reporter:
                kkasa Krisztian Kasa
              • Votes:
                0 Vote for this issue
                Watchers:
                3 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
                  1h