[Groonga-commit] groonga/groonga at 23486e6 [master] test: sort by parameter name

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Apr 24 16:56:26 JST 2017


Kouhei Sutou	2017-04-24 16:56:26 +0900 (Mon, 24 Apr 2017)

  New Revision: 23486e6703cd317ef786c65d420b74f8daaf9bdd
  https://github.com/groonga/groonga/commit/23486e6703cd317ef786c65d420b74f8daaf9bdd

  Message:
    test: sort by parameter name
    
    It's for HTTP test.

  Modified files:
    test/command/suite/sharding/logical_select/cache/drilldowns/table.expected
    test/command/suite/sharding/logical_select/cache/drilldowns/table.test

  Modified: test/command/suite/sharding/logical_select/cache/drilldowns/table.expected (+34 -34)
===================================================================
--- test/command/suite/sharding/logical_select/cache/drilldowns/table.expected    2017-04-24 15:14:01 +0900 (0eecf23)
+++ test/command/suite/sharding/logical_select/cache/drilldowns/table.expected    2017-04-24 16:56:26 +0900 (7b26dd2)
@@ -81,7 +81,7 @@ load --table Logs_20150205
 }
 ]
 [[0,0.0,0.0],4]
-logical_select Logs   --shard_key timestamp   --limit 0   --output_columns _id   --drilldowns[restart].stage initial   --drilldowns[restart].keys 'action'   --drilldowns[restart].filter "_key @ 'Restart'"   --drilldowns[restart].output_columns _key   --drilldowns[start].stage initial   --drilldowns[start].keys 'action'   --drilldowns[start].filter "_key @ 'Start'"   --drilldowns[start].output_columns _key   --drilldowns[action].table restart   --drilldowns[action].keys _key 
+logical_select Logs   --shard_key timestamp   --limit 0   --output_columns _id   --drilldowns[action].table restart   --drilldowns[action].keys _key   --drilldowns[restart].stage initial   --drilldowns[restart].keys 'action'   --drilldowns[restart].filter "_key @ 'Restart'"   --drilldowns[restart].output_columns _key   --drilldowns[start].stage initial   --drilldowns[start].keys 'action'   --drilldowns[start].filter "_key @ 'Start'"   --drilldowns[start].output_columns _key
 [
   [
     0,
@@ -101,7 +101,7 @@ logical_select Logs   --shard_key timestamp   --limit 0   --output_columns _id
       ]
     ],
     {
-      "restart": [
+      "action": [
         [
           1
         ],
@@ -109,15 +109,20 @@ logical_select Logs   --shard_key timestamp   --limit 0   --output_columns _id
           [
             "_key",
             "ShortText"
+          ],
+          [
+            "_nsubrecs",
+            "Int32"
           ]
         ],
         [
-          "Restart"
+          "Restart",
+          1
         ]
       ],
-      "start": [
+      "restart": [
         [
-          2
+          1
         ],
         [
           [
@@ -126,35 +131,30 @@ logical_select Logs   --shard_key timestamp   --limit 0   --output_columns _id
           ]
         ],
         [
-          "Start"
-        ],
-        [
           "Restart"
         ]
       ],
-      "action": [
+      "start": [
         [
-          1
+          2
         ],
         [
           [
             "_key",
             "ShortText"
-          ],
-          [
-            "_nsubrecs",
-            "Int32"
           ]
         ],
         [
-          "Restart",
-          1
+          "Start"
+        ],
+        [
+          "Restart"
         ]
       ]
     }
   ]
 ]
-logical_select Logs   --shard_key timestamp   --limit 0   --output_columns _id   --drilldowns[restart].stage initial   --drilldowns[restart].keys 'action'   --drilldowns[restart].filter "_key @ 'Restart'"   --drilldowns[restart].output_columns _key   --drilldowns[start].stage initial   --drilldowns[start].keys 'action'   --drilldowns[start].filter "_key @ 'Start'"   --drilldowns[start].output_columns _key   --drilldowns[action].table start   --drilldowns[action].keys _key 
+logical_select Logs   --shard_key timestamp   --limit 0   --output_columns _id   --drilldowns[action].table start   --drilldowns[action].keys _key   --drilldowns[restart].stage initial   --drilldowns[restart].keys 'action'   --drilldowns[restart].filter "_key @ 'Restart'"   --drilldowns[restart].output_columns _key   --drilldowns[start].stage initial   --drilldowns[start].keys 'action'   --drilldowns[start].filter "_key @ 'Start'"   --drilldowns[start].output_columns _key
 [
   [
     0,
@@ -174,23 +174,32 @@ logical_select Logs   --shard_key timestamp   --limit 0   --output_columns _id
       ]
     ],
     {
-      "restart": [
+      "action": [
         [
-          1
+          2
         ],
         [
           [
             "_key",
             "ShortText"
+          ],
+          [
+            "_nsubrecs",
+            "Int32"
           ]
         ],
         [
-          "Restart"
+          "Start",
+          1
+        ],
+        [
+          "Restart",
+          1
         ]
       ],
-      "start": [
+      "restart": [
         [
-          2
+          1
         ],
         [
           [
@@ -199,13 +208,10 @@ logical_select Logs   --shard_key timestamp   --limit 0   --output_columns _id
           ]
         ],
         [
-          "Start"
-        ],
-        [
           "Restart"
         ]
       ],
-      "action": [
+      "start": [
         [
           2
         ],
@@ -213,19 +219,13 @@ logical_select Logs   --shard_key timestamp   --limit 0   --output_columns _id
           [
             "_key",
             "ShortText"
-          ],
-          [
-            "_nsubrecs",
-            "Int32"
           ]
         ],
         [
-          "Start",
-          1
+          "Start"
         ],
         [
-          "Restart",
-          1
+          "Restart"
         ]
       ]
     }

  Modified: test/command/suite/sharding/logical_select/cache/drilldowns/table.test (+6 -6)
===================================================================
--- test/command/suite/sharding/logical_select/cache/drilldowns/table.test    2017-04-24 15:14:01 +0900 (88e7860)
+++ test/command/suite/sharding/logical_select/cache/drilldowns/table.test    2017-04-24 16:56:26 +0900 (b0e7dfa)
@@ -78,6 +78,8 @@ logical_select Logs \
   --shard_key timestamp \
   --limit 0 \
   --output_columns _id \
+  --drilldowns[action].table restart \
+  --drilldowns[action].keys _key \
   --drilldowns[restart].stage initial \
   --drilldowns[restart].keys 'action' \
   --drilldowns[restart].filter "_key @ 'Restart'" \
@@ -85,14 +87,14 @@ logical_select Logs \
   --drilldowns[start].stage initial \
   --drilldowns[start].keys 'action' \
   --drilldowns[start].filter "_key @ 'Start'" \
-  --drilldowns[start].output_columns _key \
-  --drilldowns[action].table restart \
-  --drilldowns[action].keys _key 
+  --drilldowns[start].output_columns _key
 
 logical_select Logs \
   --shard_key timestamp \
   --limit 0 \
   --output_columns _id \
+  --drilldowns[action].table start \
+  --drilldowns[action].keys _key \
   --drilldowns[restart].stage initial \
   --drilldowns[restart].keys 'action' \
   --drilldowns[restart].filter "_key @ 'Restart'" \
@@ -100,6 +102,4 @@ logical_select Logs \
   --drilldowns[start].stage initial \
   --drilldowns[start].keys 'action' \
   --drilldowns[start].filter "_key @ 'Start'" \
-  --drilldowns[start].output_columns _key \
-  --drilldowns[action].table start \
-  --drilldowns[action].keys _key 
+  --drilldowns[start].output_columns _key
-------------- next part --------------
HTML����������������������������...
下載 



More information about the Groonga-commit mailing list
Back to archive index