From 111b0f3c6fce7c690885c67409541b6f2af87ed2 Mon Sep 17 00:00:00 2001
From: EmirVildanov <reddog201030@gmail.com>
Date: Tue, 3 Sep 2024 18:57:09 +0300
Subject: [PATCH] feat: remove yaml test for syntax nodes

---
 .../backend/sql/tree/sql_order_selection.yaml | 140 ------------------
 .../sql_order_selection_syntax_nodes.yaml     | 123 ---------------
 2 files changed, 263 deletions(-)
 delete mode 100644 sbroad-core/tests/artifactory/backend/sql/tree/sql_order_selection.yaml
 delete mode 100644 sbroad-core/tests/artifactory/backend/sql/tree/sql_order_selection_syntax_nodes.yaml

diff --git a/sbroad-core/tests/artifactory/backend/sql/tree/sql_order_selection.yaml b/sbroad-core/tests/artifactory/backend/sql/tree/sql_order_selection.yaml
deleted file mode 100644
index 175952afb..000000000
--- a/sbroad-core/tests/artifactory/backend/sql/tree/sql_order_selection.yaml
+++ /dev/null
@@ -1,140 +0,0 @@
----
-nodes:
-  arena:
-    #0
-    - Expression:
-        Reference:
-          targets: ~
-          position: 0
-          parent: 3
-          col_type: Boolean
-    #1
-    - Expression:
-        Alias:
-          name: a
-          child: 0
-    #2
-    - Expression:
-        Row:
-          list:
-            - 1
-          distribution: ~
-    #3
-    - Relational:
-        ScanRelation:
-          output: 2
-          relation: t
-    #4
-    - Expression:
-        Reference:
-          targets:
-            - 0
-          position: 0
-          parent: 12
-          col_type: Boolean
-    #5
-    - Expression:
-        Row:
-          list:
-            - 4
-          distribution: ~
-    #6
-    - Expression:
-        Constant:
-          value:
-            Unsigned: 1
-    #7
-    - Expression:
-        Row:
-          list:
-            - 6
-          distribution: ~
-    #8
-    - Expression:
-        Bool:
-          left: 5
-          op: eq
-          right: 7
-    #9
-    - Expression:
-        Reference:
-          targets:
-            - 0
-          position: 0
-          parent: 12
-          col_type: Boolean
-    #10
-    - Expression:
-        Alias:
-          name: a
-          child: 9
-    #11
-    - Expression:
-        Row:
-          list:
-            - 10
-          distribution: ~
-    #12
-    - Relational:
-        Selection:
-          children:
-            - 3
-          filter: 8
-          output: 11
-    #13
-    - Expression:
-        Reference:
-          targets:
-            - 0
-          position: 0
-          parent: 16
-          col_type: Boolean
-    #14
-    - Expression:
-        Alias:
-          name: a
-          child: 13
-    #15
-    - Expression:
-        Row:
-          list:
-            - 14
-          distribution: ~
-    #16
-    - Relational:
-        Projection:
-          children:
-            - 12
-          output: 15
-          is_distinct: false
-relations:
-  tables:
-    t:
-      columns:
-        - name: a
-          type: boolean
-      primary_key:
-        positions:
-          - 0
-      name: t
-      kind:
-        ShardedSpace:
-          sharding_key:
-            positions:
-              - 0
-          engine: Memtx
-slices:
-  slices: []
-top: 16
-is_explain: false
-undo:
-  log: {}
-constants: {}
-raw_options: []
-pg_params_map: {}
-options:
-  vtable_max_rows: 5000
-  execute_options:
-    SqlVdbeMaxSteps:
-      Unsigned: 45000
-version_map: {}
diff --git a/sbroad-core/tests/artifactory/backend/sql/tree/sql_order_selection_syntax_nodes.yaml b/sbroad-core/tests/artifactory/backend/sql/tree/sql_order_selection_syntax_nodes.yaml
deleted file mode 100644
index 956f7a155..000000000
--- a/sbroad-core/tests/artifactory/backend/sql/tree/sql_order_selection_syntax_nodes.yaml
+++ /dev/null
@@ -1,123 +0,0 @@
-# selection 16
-#   - scan 5
-#     - projection 18
-#       - alias 1
-#         - reference 0
-#       - from 17
-#   - bool 15
-#     - row 9
-#       - ( 7
-#       - reference 6
-#       - ) 8
-#     - = 14
-#     - row 13
-#       - ( 11
-#       - parameter 10
-#       - ) 12
----
-arena:
-#0
-  - data:
-      PlanId: 13
-    left: ~
-    right: []
-#1
-  - data:
-      PlanId: 14
-    left: ~
-    right:
-      - 0
-#2
-  - data: CloseParenthesis
-    left: ~
-    right: []
-#3
-  - data: OpenParenthesis
-    left: ~
-    right: []
-#4
-  - data:
-      PlanId: 15
-    left: ~
-    right:
-      - 3
-      - 1
-      - 2
-#5
-  - data:
-      PlanId: 3
-    left: 18
-    right: []
-#6
-  - data:
-      PlanId: 4
-    left: ~
-    right: []
-#7
-  - data: CloseParenthesis
-    left: ~
-    right: []
-#8
-  - data: OpenParenthesis
-    left: ~
-    right: []
-#9
-  - data:
-      PlanId: 5
-    left: ~
-    right:
-      - 8
-      - 6
-      - 7
-#10
-  - data:
-      Parameter: 6
-    left: ~
-    right: []
-#11
-  - data: CloseParenthesis
-    left: ~
-    right: []
-#12
-  - data: OpenParenthesis
-    left: ~
-    right: []
-#13
-  - data:
-      PlanId: 7
-    left: ~
-    right:
-      - 12
-      - 10
-      - 11
-#14
-  - data:
-      Operator: =
-    left: ~
-    right: []
-#15
-  - data:
-      PlanId: 8
-    left: 9
-    right:
-      - 14
-      - 13
-#16
-  - data:
-      PlanId: 12
-    left: 5
-    right:
-      - 15
-#17
-  - data: From
-    left: ~
-    right: []
-#18
-  - data:
-      PlanId: 16
-    left: ~
-    right:
-      - 1
-      - 17
-stack:
-  - 18
-- 
GitLab