MCPcopy Create free account
hub / github.com/apache/datafusion / spark_hex

Function spark_hex

datafusion/spark/src/function/math/hex.rs:221–223  ·  view source on GitHub ↗

Spark-compatible `hex` function

(args: &[ColumnarValue])

Source from the content-addressed store, hash-verified

219
220/// Spark-compatible `hex` function
221pub fn spark_hex(args: &[ColumnarValue]) -> Result<ColumnarValue, DataFusionError> {
222 compute_hex(args, false)
223}
224
225/// Spark-compatible `sha2` function
226pub fn spark_sha2_hex(args: &[ColumnarValue]) -> Result<ColumnarValue, DataFusionError> {

Callers 7

invoke_with_argsMethod · 0.85
test_dictionary_hex_utf8Function · 0.85
test_spark_hex_int64Function · 0.85
test_dict_values_nullFunction · 0.85

Calls 1

compute_hexFunction · 0.85

Tested by 6

test_dictionary_hex_utf8Function · 0.68
test_spark_hex_int64Function · 0.68
test_dict_values_nullFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…