Skip to content

Commit f134804

Browse files
committed
fixes
1 parent ab749b2 commit f134804

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/query_farm_server_base/duckdb_serialized_expression.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,14 @@ def e_to_s(expr: dict[str, Any]) -> str:
106106
elif expression["expression_class"] == "BOUND_CONSTANT":
107107
if expression["value"]["is_null"]:
108108
return "null"
109-
if expression["value"]["type"]["id"] in ("VARCHAR", "BLOB", "BITSTRING", "BIT", "VARINT"):
109+
if expression["value"]["type"]["id"] in (
110+
"VARCHAR",
111+
"BLOB",
112+
"BITSTRING",
113+
"BIT",
114+
"VARINT",
115+
"UUID",
116+
):
110117
return _quote_string(expression["value"]["value"])
111118
elif expression["value"]["type"]["id"] == "BOOLEAN":
112119
return "True" if expression["value"]["value"] else "False"

0 commit comments

Comments
 (0)