Skip to content

Commit 03c55eb

Browse files
committed
fixes
1 parent c1a8260 commit 03c55eb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/query_farm_server_base/duckdb_serialized_expression.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def decode_varint_value(blob: bytes) -> str:
241241
return decimal_string if decimal_string else "0"
242242

243243

244-
comparison_type_to_operator: dict[str, str] = {
244+
comparison_type_to_sql_operator: dict[str, str] = {
245245
"COMPARE_EQUAL": "=",
246246
"COMPARE_NOTEQUAL": "!=",
247247
"COMPARE_LESSTHAN": "<",
@@ -254,7 +254,7 @@ def decode_varint_value(blob: bytes) -> str:
254254

255255

256256
def comparison_type_to_string_(comparison_type: str) -> str:
257-
result = comparison_type_to_operator.get(comparison_type)
257+
result = comparison_type_to_sql_operator.get(comparison_type)
258258
if result is not None:
259259
return result
260260
raise NotImplementedError(f"Comparison type {comparison_type} is not supported")

0 commit comments

Comments
 (0)