From 8d0f19e6c9b5c3c0929229e4c04e00e4e4835191 Mon Sep 17 00:00:00 2001 From: Arseniy Volynets <a.volynets@picodata.io> Date: Tue, 1 Oct 2024 15:35:37 +0300 Subject: [PATCH] feat: indent execution options in explain --- sbroad | 2 +- test/int/test_pgproto.py | 4 ++-- test/int/test_sql.py | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sbroad b/sbroad index 4e5d87d815..497d6b021d 160000 --- a/sbroad +++ b/sbroad @@ -1 +1 @@ -Subproject commit 4e5d87d815d51e81873184c15f8e1f729e87d16d +Subproject commit 497d6b021da7782f2f965ef9bd274dff091511a8 diff --git a/test/int/test_pgproto.py b/test/int/test_pgproto.py index e431b63cab..b62259fb07 100644 --- a/test/int/test_pgproto.py +++ b/test/int/test_pgproto.py @@ -429,6 +429,6 @@ def test_interactive_portals(pg_client: PgClient): assert len(data["rows"]) == 4 assert [""" scan "t\""""] == data["rows"][0] assert ["""execution options:"""] == data["rows"][1] - assert ["""vdbe_max_steps = 45000"""] == data["rows"][2] - assert ["""vtable_max_rows = 5000"""] == data["rows"][3] + assert [""" vdbe_max_steps = 45000"""] == data["rows"][2] + assert [""" vtable_max_rows = 5000"""] == data["rows"][3] assert data["is_finished"] is True diff --git a/test/int/test_sql.py b/test/int/test_sql.py index e1abe7c1ca..16e0f788eb 100644 --- a/test/int/test_sql.py +++ b/test/int/test_sql.py @@ -548,8 +548,8 @@ def test_dml_on_global_tbls(cluster: Cluster): projection ("t"."x"::integer -> "x", "t"."y"::integer -> "y") scan "t" execution options: -vdbe_max_steps = 45000 -vtable_max_rows = 5000""" + vdbe_max_steps = 45000 + vtable_max_rows = 5000""" assert "\n".join(lines) == expected_explain # empty delete @@ -4608,8 +4608,8 @@ def test_metadata(instance: Instance): # - - projection (1::unsigned -> "col_1") # - ' scan "G"' # - 'execution options:' - # - vdbe_max_steps = 45000 - # - vtable_max_rows = 5000 + # - vdbe_max_steps = 45000 + # - vtable_max_rows = 5000 # ... data = instance.sql(""" select 1 from t """, strip_metadata=False) assert data["metadata"] == [{"name": "col_1", "type": "unsigned"}] -- GitLab