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

Comparison of date return null if time part is provided in string.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0, 2.3.2
    • Component/s: None
    • Labels:
      None

      Description

      Reproduce:
      select '2017-01-01 00:00:00' < current_date;
      INFO : OK
      ...
      1 row selected (18.324 seconds)
      ...
      NULL

        Attachments

        1. HIVE-17640.01-branch-2.patch
          5 kB
          Yongzhi Chen

          Activity

            People

            • Assignee:
              ychena Yongzhi Chen
              Reporter:
              ychena Yongzhi Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: