We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1a8260 commit 03c55ebCopy full SHA for 03c55eb
1 file changed
src/query_farm_server_base/duckdb_serialized_expression.py
@@ -241,7 +241,7 @@ def decode_varint_value(blob: bytes) -> str:
241
return decimal_string if decimal_string else "0"
242
243
244
-comparison_type_to_operator: dict[str, str] = {
+comparison_type_to_sql_operator: dict[str, str] = {
245
"COMPARE_EQUAL": "=",
246
"COMPARE_NOTEQUAL": "!=",
247
"COMPARE_LESSTHAN": "<",
@@ -254,7 +254,7 @@ def decode_varint_value(blob: bytes) -> str:
254
255
256
def comparison_type_to_string_(comparison_type: str) -> str:
257
- result = comparison_type_to_operator.get(comparison_type)
+ result = comparison_type_to_sql_operator.get(comparison_type)
258
if result is not None:
259
return result
260
raise NotImplementedError(f"Comparison type {comparison_type} is not supported")
0 commit comments