Skip to content

pyspark_dubber.sql.functions.to_binary

pyspark_dubber.sql.functions.to_binary(
    col: pyspark_dubber.sql.expr.Expr | str,
    format: pyspark_dubber.sql.expr.Expr | str = Expr(_ibis_expr='hex'),
)

PySpark API Reference

Incompatibility Note

Currently only works for utf-8. We couldn't figure out pyspark algorithm yet, it's well documented.