You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "xueyu (JIRA)" <ji...@apache.org> on 2018/07/22 15:21:00 UTC

[jira] [Created] (FLINK-9907) add CRC32 checksum in table Api and sql

xueyu created FLINK-9907:
----------------------------

             Summary: add CRC32 checksum in table Api and sql
                 Key: FLINK-9907
                 URL: https://issues.apache.org/jira/browse/FLINK-9907
             Project: Flink
          Issue Type: New Feature
          Components: Table API &amp; SQL
            Reporter: xueyu


CRC32 returns the cyclic redundancy check value of a given string as a 32-bit unsigned value, null if string is null. In mysql and hive the syntax like

select CRC32('test') = 3632233996

Though it is not a hash function, however the pattern and behavior looks similar with hash functions (md5, sha1, sha2 etc..), so I put codegen in HashCalcCallGen



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)