GitHub user genged opened a pull request:
https://github.com/apache/flink/pull/5324
[FLINK-6926] [table] Add support for SHA-224, SHA-384, SHA-512
## What is the purpose of the change
This pull request implements SHA224, SHA384, SHA512 support in Flink SQL as
discussed in FLINK-6926
## Brief change log
- Added SHA224, SHA384, SHA512 SQL functions
- Added relevant unit tests
## Verifying this change
This change added tests and can be verified as follows:
- Added SQL expression tests
- Added HashFunctionsTest with testAllApis
- Validated both correct calculation and behavior for null input
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: no
- The serializers: don't know
- The runtime per-record code paths (performance sensitive): don't know
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Yarn/Mesos, ZooKeeper: no
- The S3 file system connector: no
## Documentation
- Does this pull request introduce a new feature? yes
- If yes, how is the feature documented? docs
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/genged/flink f-6926-support-full-SHA2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5324.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5324
----
commit b4f260f5b1d23cf1e4978d2fdd8d01d337cc4e1a
Author: Michael Gendelman <genged@...>
Date: 2018-01-13T21:24:08Z
[FLINK-6926] [table] Add support for SHA-224, SHA-384, SHA-512
----
---