Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-3847

fnv_hash() returns incorrect value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • Impala 2.1
    • None
    • Clients

    Description

      I was looking at the fnv_hash() function today and was comparing the output with a python script that I'm working on. Impala's output seems off, for example:

      select fnv_hash("hello");
      => 6414202926103426347
      

      While other fnv1a-64 implementations return 11831194018420276491.

      I checked several python packages and some online fnv hash calculators, all return the 118... value.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sam.garrett_impala_0269 Sam Garrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: