Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-38180

Add XXH hash function

    XMLWordPrintable

Details

    • Hide
      Add XXH32() and XXH3() SQL functions for the XXH hash algorithms

      Contribution by monthdev
      Show
      Add XXH32() and XXH3() SQL functions for the XXH hash algorithms Contribution by monthdev
    • Q2/2026 Server Maintenance, Q2/2026 Server Development, Q3/2026 Server Maintenance

    Description

      MDEV-9826 adds some xxh use in the server, now we can add an sql function, same as md5 and others

      After discussion with the team (bar,serg,ycp), we decided to go with the following function signatures:

      XXH32(expr) --> INT UNSIGNED
      XXH3(expr) --> BIGINT UNSIGNED
      XXH64(expr) --> BIGINT UNSIGNED (will be done in a spearate task)
      XXH128(expr) --> BINARY(16)    (will be done in a separate task)
      

      Attachments

        Issue Links

          Activity

            People

              ycp Yuchen Pei
              nikitamalyavin Nikita Malyavin
              Alexander Barkov Alexander Barkov
              Roel Van de Paar Roel Van de Paar
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 4d 55m
                  4d 55m

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.