def hash()

in data_validation/query_builder/query_builder.py [0:0]


    def hash(config, fields):
        if config.get("default_hash_function") is None:
            how = "sha256"
            return CalculatedField(
                ibis.expr.types.StringValue.hashbytes,
                config,
                fields,
                how=how,
            )
        else:
            how = "farm_fingerprint"
            return CalculatedField(
                ibis.expr.types.Value.hash,
                config,
                fields,
                how=how,
            )