MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / digest

Function digest

src/sql/src/func.rs:5411–5416  ·  view source on GitHub ↗
(algorithm: &'static str)

Source from the content-addressed store, hash-verified

5409});
5410
5411fn digest(algorithm: &'static str) -> Operation<HirScalarExpr> {
5412 Operation::unary(move |_ecx, input| {
5413 let algorithm = HirScalarExpr::literal(Datum::String(algorithm), SqlScalarType::String);
5414 Ok(input.call_binary(algorithm, BinaryFunc::from(func::DigestBytes)))
5415 })
5416}
5417
5418fn array_to_string(
5419 ecx: &ExprContext,

Callers 14

compute_digestMethod · 0.85
signFunction · 0.85
digest_innerFunction · 0.85
sasl_verifyFunction · 0.85
mock_sasl_challengeFunction · 0.85
scram256_hash_innerFunction · 0.85
socket_pathFunction · 0.85
fingerprintMethod · 0.85
test_schema_fingerprintFunction · 0.85
read_and_upsert_fileFunction · 0.85

Calls 2

StringClass · 0.85
call_binaryMethod · 0.45

Tested by 1

test_schema_fingerprintFunction · 0.68