diff --git a/benchmark/redisgraph/query_runner.py b/benchmark/redisgraph/query_runner.py index 2ecc678..8a7e6b0 100644 --- a/benchmark/redisgraph/query_runner.py +++ b/benchmark/redisgraph/query_runner.py @@ -51,7 +51,7 @@ def KN(self, root, depth): raise e return -1 else: - return float(result[0][1][0]) if len(result[0]) == 2 else 0 + return float(result[1][0][0]) # TigerGraph query runner (compatible with v2.1.8)