From c1d4faed3e05a2f36febde272cfad577e9e52291 Mon Sep 17 00:00:00 2001 From: tristaZero Date: Mon, 28 Jan 2019 16:25:06 +0800 Subject: [PATCH] modify select.xml --- .../src/test/resources/parser/select.xml | 102 +++++++++--------- .../resources/parser/select_aggregate.xml | 24 ++--- .../resources/parser/select_expression.xml | 6 +- .../test/resources/parser/select_group_by.xml | 28 ++--- .../src/test/resources/parser/select_or.xml | 18 ++-- .../test/resources/parser/select_order_by.xml | 36 +++---- .../resources/parser/select_pagination.xml | 42 ++++---- .../select_pagination_group_by_order_by.xml | 32 +++--- .../test/resources/parser/select_relation.xml | 20 ++-- .../resources/parser/select_sub_query.xml | 10 +- 10 files changed, 159 insertions(+), 159 deletions(-) diff --git a/sharding-core/src/test/resources/parser/select.xml b/sharding-core/src/test/resources/parser/select.xml index 7242760d08..aebbcdf5db 100644 --- a/sharding-core/src/test/resources/parser/select.xml +++ b/sharding-core/src/test/resources/parser/select.xml @@ -7,7 +7,7 @@ - + @@ -26,7 +26,7 @@
- + @@ -38,7 +38,7 @@
- + @@ -50,7 +50,7 @@
- + @@ -62,7 +62,7 @@
- + @@ -74,7 +74,7 @@
- + @@ -93,7 +93,7 @@
- + @@ -112,7 +112,7 @@
- + @@ -137,7 +137,7 @@
- + @@ -163,7 +163,7 @@
- + @@ -187,7 +187,7 @@
- + @@ -214,8 +214,8 @@
- - + + @@ -240,8 +240,8 @@
- - + + @@ -254,8 +254,8 @@
- - + + @@ -280,8 +280,8 @@
- - + + @@ -306,8 +306,8 @@
- - + + @@ -332,8 +332,8 @@
- - + + @@ -358,8 +358,8 @@
- - + + @@ -383,7 +383,7 @@
- + @@ -400,8 +400,8 @@
- - + + @@ -418,7 +418,7 @@
- + @@ -437,7 +437,7 @@
- + @@ -456,7 +456,7 @@
- + @@ -472,7 +472,7 @@
- + @@ -491,7 +491,7 @@ - + @@ -512,7 +512,7 @@ - + @@ -530,7 +530,7 @@ - + @@ -547,7 +547,7 @@ - + @@ -562,7 +562,7 @@ - + @@ -580,7 +580,7 @@ - + @@ -596,7 +596,7 @@ - + @@ -618,7 +618,7 @@ - + @@ -639,7 +639,7 @@ - + @@ -656,7 +656,7 @@ - + @@ -673,7 +673,7 @@ - + @@ -690,7 +690,7 @@ - + @@ -701,7 +701,7 @@
- + @@ -710,7 +710,7 @@
- + @@ -719,7 +719,7 @@
- + @@ -728,7 +728,7 @@
- + @@ -737,7 +737,7 @@
- + @@ -746,7 +746,7 @@
- + @@ -755,7 +755,7 @@
- + diff --git a/sharding-core/src/test/resources/parser/select_aggregate.xml b/sharding-core/src/test/resources/parser/select_aggregate.xml index ea47f1902d..87e98f7a3d 100644 --- a/sharding-core/src/test/resources/parser/select_aggregate.xml +++ b/sharding-core/src/test/resources/parser/select_aggregate.xml @@ -5,7 +5,7 @@
- + @@ -19,7 +19,7 @@
- + @@ -33,7 +33,7 @@
- + @@ -47,7 +47,7 @@
- + @@ -61,7 +61,7 @@
- + @@ -75,7 +75,7 @@
- + @@ -89,7 +89,7 @@
- + COUNT(user_id) AS AVG_DERIVED_COUNT_0 @@ -113,8 +113,8 @@
- - + + @@ -141,8 +141,8 @@
- - + + @@ -168,7 +168,7 @@
- + diff --git a/sharding-core/src/test/resources/parser/select_expression.xml b/sharding-core/src/test/resources/parser/select_expression.xml index 32d911319a..184276043d 100644 --- a/sharding-core/src/test/resources/parser/select_expression.xml +++ b/sharding-core/src/test/resources/parser/select_expression.xml @@ -5,7 +5,7 @@
- + o.order_id AS ORDER_BY_DERIVED_0 @@ -22,7 +22,7 @@
- + @@ -34,7 +34,7 @@
- + diff --git a/sharding-core/src/test/resources/parser/select_group_by.xml b/sharding-core/src/test/resources/parser/select_group_by.xml index af0e1c5dcd..48f26d44d5 100644 --- a/sharding-core/src/test/resources/parser/select_group_by.xml +++ b/sharding-core/src/test/resources/parser/select_group_by.xml @@ -5,7 +5,7 @@
- + @@ -25,7 +25,7 @@
- + @@ -45,7 +45,7 @@
- + @@ -65,7 +65,7 @@
- + @@ -85,7 +85,7 @@
- + COUNT(order_id) AS AVG_DERIVED_COUNT_0 @@ -114,7 +114,7 @@
- + @@ -135,8 +135,8 @@
- - + + o.user_id AS GROUP_BY_DERIVED_0 @@ -174,7 +174,7 @@
- + @@ -191,7 +191,7 @@
- + @@ -213,7 +213,7 @@
- + @@ -228,7 +228,7 @@
- + @@ -257,7 +257,7 @@
- + @@ -278,7 +278,7 @@
- + diff --git a/sharding-core/src/test/resources/parser/select_or.xml b/sharding-core/src/test/resources/parser/select_or.xml index 366bd7a938..81ffa4badc 100644 --- a/sharding-core/src/test/resources/parser/select_or.xml +++ b/sharding-core/src/test/resources/parser/select_or.xml @@ -5,7 +5,7 @@
- + @@ -26,7 +26,7 @@
- + @@ -47,7 +47,7 @@
- + @@ -56,7 +56,7 @@
- + @@ -80,7 +80,7 @@
- + @@ -124,8 +124,8 @@
- - + + @@ -153,8 +153,8 @@
- - + + diff --git a/sharding-core/src/test/resources/parser/select_order_by.xml b/sharding-core/src/test/resources/parser/select_order_by.xml index e166de726f..ce1d2f516e 100644 --- a/sharding-core/src/test/resources/parser/select_order_by.xml +++ b/sharding-core/src/test/resources/parser/select_order_by.xml @@ -5,7 +5,7 @@
- + @@ -19,8 +19,8 @@
- - + + o.order_id AS ORDER_BY_DERIVED_0 @@ -38,7 +38,7 @@
- + @@ -51,8 +51,8 @@
- - + + o.order_id AS ORDER_BY_DERIVED_0 @@ -72,7 +72,7 @@
- + @@ -85,7 +85,7 @@
- + @@ -97,7 +97,7 @@
- + @@ -109,7 +109,7 @@
- + @@ -121,7 +121,7 @@
- + @@ -134,7 +134,7 @@ - + @@ -146,9 +146,9 @@
- - - + + + @@ -160,7 +160,7 @@
- + @@ -173,8 +173,8 @@
- - + + diff --git a/sharding-core/src/test/resources/parser/select_pagination.xml b/sharding-core/src/test/resources/parser/select_pagination.xml index 63129cf42e..f63b4231fa 100644 --- a/sharding-core/src/test/resources/parser/select_pagination.xml +++ b/sharding-core/src/test/resources/parser/select_pagination.xml @@ -6,8 +6,8 @@
- - + + @@ -34,8 +34,8 @@
- - + + @@ -62,8 +62,8 @@
- - + + @@ -91,8 +91,8 @@
- - + + @@ -119,8 +119,8 @@
- - + + @@ -148,8 +148,8 @@
- - + + @@ -177,8 +177,8 @@
- - + + @@ -206,8 +206,8 @@
- - + + i.item_id AS ORDER_BY_DERIVED_0 @@ -239,8 +239,8 @@
- - + + i.item_id AS ORDER_BY_DERIVED_0 @@ -273,8 +273,8 @@
- - + + i.item_id AS ORDER_BY_DERIVED_0 @@ -306,7 +306,7 @@
- + diff --git a/sharding-core/src/test/resources/parser/select_pagination_group_by_order_by.xml b/sharding-core/src/test/resources/parser/select_pagination_group_by_order_by.xml index 5c7048b01d..00e5e2c330 100644 --- a/sharding-core/src/test/resources/parser/select_pagination_group_by_order_by.xml +++ b/sharding-core/src/test/resources/parser/select_pagination_group_by_order_by.xml @@ -6,8 +6,8 @@
- - + + i.item_id AS ORDER_BY_DERIVED_0 @@ -44,8 +44,8 @@
- - + + @@ -81,8 +81,8 @@
- - + + @@ -113,8 +113,8 @@
- - + + @@ -145,8 +145,8 @@
- - + + i.user_id AS GROUP_BY_DERIVED_0 @@ -182,8 +182,8 @@
- - + + i.user_id AS GROUP_BY_DERIVED_0 @@ -219,8 +219,8 @@
- - + + i.item_id AS ORDER_BY_DERIVED_0 @@ -257,8 +257,8 @@
- - + + i.item_id AS ORDER_BY_DERIVED_0 diff --git a/sharding-core/src/test/resources/parser/select_relation.xml b/sharding-core/src/test/resources/parser/select_relation.xml index 9e01ac6ea1..45b1c7a29a 100644 --- a/sharding-core/src/test/resources/parser/select_relation.xml +++ b/sharding-core/src/test/resources/parser/select_relation.xml @@ -6,8 +6,8 @@
- - + + @@ -24,12 +24,12 @@
- - - - - - + + + + + + @@ -46,8 +46,8 @@
- - + + diff --git a/sharding-core/src/test/resources/parser/select_sub_query.xml b/sharding-core/src/test/resources/parser/select_sub_query.xml index e371f20231..0e8002e6ef 100644 --- a/sharding-core/src/test/resources/parser/select_sub_query.xml +++ b/sharding-core/src/test/resources/parser/select_sub_query.xml @@ -6,7 +6,7 @@
- + @@ -25,8 +25,8 @@
- - + + @@ -42,7 +42,7 @@
- + @@ -54,7 +54,7 @@
- + -- GitLab