Skip to content

Commit 2e0bf07

Browse files
committed
fix type sur encode_base57
1 parent e8ad40f commit 2e0bf07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbt/macros/udf/udf_encode_base57.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
DROP FUNCTION IF EXISTS {{ target.schema }}.encode_base57 CASCADE;
44
CREATE FUNCTION {{ target.schema }}.encode_base57(uuid UUID)
5-
RETURNS text AS $$
5+
RETURNS varchar(22) AS $$
66
DECLARE
77
alphabet text := '23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'; -- pragma: allowlist secret
88
result text := '';

0 commit comments

Comments
 (0)