Amogh Margoor has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17464


Change subject: IMPALA-10679 Add builtin functions to comptute SHA-1 and SHA-2 
digest.
......................................................................

IMPALA-10679 Add builtin functions to comptute SHA-1 and SHA-2 digest.

Built-in functions to compute SHA-1 digest and SHA-2 family of digest
has been added. Support for SHA2 digest includes SHA224, SHA256,
SHA384 and SHA512. In FIPS mode SHA1, SHA224 and SHA256 have been
disabled and will return NULL. SHA2 functions will also return NULL
for unsupported bit length.

Testing:
1. Added Unit test for expressions.
2. Added end-to-end test for new functions.

Change-Id: If163b7abda17cca3074c86519d59bcfc6ace21be
---
M be/src/exprs/expr-test.cc
M be/src/exprs/utility-functions-ir.cc
M be/src/exprs/utility-functions.h
M common/function-registry/impala_functions.py
M testdata/workloads/functional-query/queries/QueryTest/exprs.test
5 files changed, 142 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/64/17464/1
--
To view, visit http://gerrit.cloudera.org:8080/17464
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If163b7abda17cca3074c86519d59bcfc6ace21be
Gerrit-Change-Number: 17464
Gerrit-PatchSet: 1
Gerrit-Owner: Amogh Margoor <amarg...@gmail.com>

Reply via email to