You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@inlong.apache.org by "emptyOVO (via GitHub)" <gi...@apache.org> on 2024/09/15 09:04:32 UTC
[I] [Feature][SDK] Transform support computes different types hash [inlong]
emptyOVO opened a new issue, #11115:
URL: https://github.com/apache/inlong/issues/11115
### Description
* parent issue: #10796
* from postgresql: https://www.postgresql.org/docs/current/functions-binarystring.html
* include below functions
```
sha224 ( bytea ) → bytea
Computes the SHA-224 [hash](https://www.postgresql.org/docs/current/functions-binarystring.html#FUNCTIONS-HASH-NOTE) of the binary string.
sha224('abc'::bytea) → \x23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7
```
```
sha256 ( bytea ) → bytea
Computes the SHA-256 [hash](https://www.postgresql.org/docs/current/functions-binarystring.html#FUNCTIONS-HASH-NOTE) of the binary string.
sha256('abc'::bytea) → \xba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
```
```
sha384 ( bytea ) → bytea
Computes the SHA-384 [hash](https://www.postgresql.org/docs/current/functions-binarystring.html#FUNCTIONS-HASH-NOTE) of the binary string.
sha384('abc'::bytea) → \xcb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed8086072ba1e7cc2358baeca134c825a7
```
```
sha512 ( bytea ) → bytea
Computes the SHA-512 [hash](https://www.postgresql.org/docs/current/functions-binarystring.html#FUNCTIONS-HASH-NOTE) of the binary string.
sha512('abc'::bytea) → \xddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f
```
### Use case
_No response_
### Are you willing to submit PR?
- [X] Yes, I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@inlong.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][SDK] Transform support computes different types hash [inlong]
Posted by "emptyOVO (via GitHub)" <gi...@apache.org>.
emptyOVO closed issue #11115: [Feature][SDK] Transform support computes different types hash
URL: https://github.com/apache/inlong/issues/11115
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org