[Groonga-commit] groonga/groonga at fc129c8 [master] test: use fixture for defining schema

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Feb 23 17:52:24 JST 2015


Kouhei Sutou	2015-02-23 17:52:24 +0900 (Mon, 23 Feb 2015)

  New Revision: fc129c866c6c1ca832f0b42eb5834d9f8cca1fa0
  https://github.com/groonga/groonga/commit/fc129c866c6c1ca832f0b42eb5834d9f8cca1fa0

  Message:
    test: use fixture for defining schema

  Added files:
    test/command/fixture/sharding/logical_range_filter/no_index/schema.grn
  Modified files:
    test/command/suite/sharding/logical_range_filter/no_index/condition/no_range.expected
    test/command/suite/sharding/logical_range_filter/no_index/condition/no_range.test
    test/command/suite/sharding/logical_range_filter/no_index/condition/range/max_exclude.expected
    test/command/suite/sharding/logical_range_filter/no_index/condition/range/max_exclude.test
    test/command/suite/sharding/logical_range_filter/no_index/condition/range/max_include.expected
    test/command/suite/sharding/logical_range_filter/no_index/condition/range/max_include.test
    test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude.expected
    test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude.test
    test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude_max_exclude.expected
    test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude_max_exclude.test
    test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude_max_include.expected
    test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude_max_include.test
    test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include.expected
    test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include.test
    test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include_max_exclude.expected
    test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include_max_exclude.test
    test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include_max_include.expected
    test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include_max_include.test

  Added: test/command/fixture/sharding/logical_range_filter/no_index/schema.grn (+22 -0) 100644
===================================================================
--- /dev/null
+++ test/command/fixture/sharding/logical_range_filter/no_index/schema.grn    2015-02-23 17:52:24 +0900 (d8745ca)
@@ -0,0 +1,22 @@
+#@disable-logging
+
+#@on-error omit
+register sharding
+#@on-error default
+
+table_create Logs_20150203 TABLE_NO_KEY
+column_create Logs_20150203 timestamp COLUMN_SCALAR Time
+column_create Logs_20150203 memo COLUMN_SCALAR ShortText
+column_create Logs_20150203 message COLUMN_SCALAR Text
+
+table_create Logs_20150204 TABLE_NO_KEY
+column_create Logs_20150204 timestamp COLUMN_SCALAR Time
+column_create Logs_20150204 memo COLUMN_SCALAR ShortText
+column_create Logs_20150204 message COLUMN_SCALAR Text
+
+table_create Logs_20150205 TABLE_NO_KEY
+column_create Logs_20150205 timestamp COLUMN_SCALAR Time
+column_create Logs_20150205 memo COLUMN_SCALAR ShortText
+column_create Logs_20150205 message COLUMN_SCALAR Text
+
+#@enable-logging

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/no_range.expected (+0 -26)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/no_range.expected    2015-02-23 17:21:46 +0900 (bac7869)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/no_range.expected    2015-02-23 17:52:24 +0900 (6be0500)
@@ -1,29 +1,3 @@
-register sharding
-[[0,0.0,0.0],true]
-table_create Logs_20150203 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150203 memo COLUMN_SCALAR ShortText
-[[0,0.0,0.0],true]
-column_create Logs_20150203 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150204 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150204 memo COLUMN_SCALAR ShortText
-[[0,0.0,0.0],true]
-column_create Logs_20150204 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150205 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150205 memo COLUMN_SCALAR ShortText
-[[0,0.0,0.0],true]
-column_create Logs_20150205 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
 load --table Logs_20150203
 [
 {

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/no_range.test (+1 -18)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/no_range.test    2015-02-23 17:21:46 +0900 (35df14a)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/no_range.test    2015-02-23 17:52:24 +0900 (6004766)
@@ -1,21 +1,4 @@
-#@on-error omit
-register sharding
-#@on-error default
-
-table_create Logs_20150203 TABLE_NO_KEY
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-column_create Logs_20150203 memo COLUMN_SCALAR ShortText
-column_create Logs_20150203 message COLUMN_SCALAR Text
-
-table_create Logs_20150204 TABLE_NO_KEY
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-column_create Logs_20150204 memo COLUMN_SCALAR ShortText
-column_create Logs_20150204 message COLUMN_SCALAR Text
-
-table_create Logs_20150205 TABLE_NO_KEY
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-column_create Logs_20150205 memo COLUMN_SCALAR ShortText
-column_create Logs_20150205 message COLUMN_SCALAR Text
+#@include fixture/sharding/logical_range_filter/no_index/schema.grn
 
 load --table Logs_20150203
 [

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/range/max_exclude.expected (+1 -27)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/range/max_exclude.expected    2015-02-23 17:21:46 +0900 (862e56b)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/range/max_exclude.expected    2015-02-23 17:52:24 +0900 (cf1a97b)
@@ -1,29 +1,3 @@
-register sharding
-[[0,0.0,0.0],true]
-table_create Logs_20150203 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150203 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150203 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150204 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150204 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150204 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150205 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150205 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150205 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
 load --table Logs_20150203
 [
 {"timestamp": "2015-02-03 23:59:58", "memo": "2015-02-03 23:59:58", "message": "Start"},
@@ -61,7 +35,7 @@ logical_range_filter Logs timestamp   --filter 'message == "Shutdown"'   --max "
     [
       [
         "memo",
-        "Text"
+        "ShortText"
       ],
       [
         "message",

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/range/max_exclude.test (+1 -18)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/range/max_exclude.test    2015-02-23 17:21:46 +0900 (98b42f0)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/range/max_exclude.test    2015-02-23 17:52:24 +0900 (8f981af)
@@ -1,21 +1,4 @@
-#@on-error omit
-register sharding
-#@on-error default
-
-table_create Logs_20150203 TABLE_NO_KEY
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-column_create Logs_20150203 memo COLUMN_SCALAR Text
-column_create Logs_20150203 message COLUMN_SCALAR Text
-
-table_create Logs_20150204 TABLE_NO_KEY
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-column_create Logs_20150204 memo COLUMN_SCALAR Text
-column_create Logs_20150204 message COLUMN_SCALAR Text
-
-table_create Logs_20150205 TABLE_NO_KEY
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-column_create Logs_20150205 memo COLUMN_SCALAR Text
-column_create Logs_20150205 message COLUMN_SCALAR Text
+#@include fixture/sharding/logical_range_filter/no_index/schema.grn
 
 load --table Logs_20150203
 [

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/range/max_include.expected (+1 -27)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/range/max_include.expected    2015-02-23 17:21:46 +0900 (ee7a170)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/range/max_include.expected    2015-02-23 17:52:24 +0900 (1641b1a)
@@ -1,29 +1,3 @@
-register sharding
-[[0,0.0,0.0],true]
-table_create Logs_20150203 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150203 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150203 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150204 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150204 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150204 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150205 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150205 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150205 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
 load --table Logs_20150203
 [
 {"timestamp": "2015-02-03 23:59:58", "memo": "2015-02-03 23:59:58", "message": "Start"},
@@ -61,7 +35,7 @@ logical_range_filter Logs timestamp   --filter 'message == "Shutdown"'   --max "
     [
       [
         "memo",
-        "Text"
+        "ShortText"
       ],
       [
         "message",

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/range/max_include.test (+1 -18)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/range/max_include.test    2015-02-23 17:21:46 +0900 (0b8ad52)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/range/max_include.test    2015-02-23 17:52:24 +0900 (d29d419)
@@ -1,21 +1,4 @@
-#@on-error omit
-register sharding
-#@on-error default
-
-table_create Logs_20150203 TABLE_NO_KEY
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-column_create Logs_20150203 memo COLUMN_SCALAR Text
-column_create Logs_20150203 message COLUMN_SCALAR Text
-
-table_create Logs_20150204 TABLE_NO_KEY
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-column_create Logs_20150204 memo COLUMN_SCALAR Text
-column_create Logs_20150204 message COLUMN_SCALAR Text
-
-table_create Logs_20150205 TABLE_NO_KEY
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-column_create Logs_20150205 memo COLUMN_SCALAR Text
-column_create Logs_20150205 message COLUMN_SCALAR Text
+#@include fixture/sharding/logical_range_filter/no_index/schema.grn
 
 load --table Logs_20150203
 [

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude.expected (+1 -27)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude.expected    2015-02-23 17:21:46 +0900 (e07d653)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude.expected    2015-02-23 17:52:24 +0900 (ab42784)
@@ -1,29 +1,3 @@
-register sharding
-[[0,0.0,0.0],true]
-table_create Logs_20150203 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150203 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150203 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150204 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150204 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150204 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150205 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150205 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150205 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
 load --table Logs_20150203
 [
 {"timestamp": "2015-02-03 23:59:58", "memo": "2015-02-03 23:59:58", "message": "Start"},
@@ -61,7 +35,7 @@ logical_range_filter Logs timestamp   --filter 'message == "Shutdown"'   --min "
     [
       [
         "memo",
-        "Text"
+        "ShortText"
       ],
       [
         "message",

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude.test (+1 -18)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude.test    2015-02-23 17:21:46 +0900 (0889ad3)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude.test    2015-02-23 17:52:24 +0900 (ac3eb6a)
@@ -1,21 +1,4 @@
-#@on-error omit
-register sharding
-#@on-error default
-
-table_create Logs_20150203 TABLE_NO_KEY
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-column_create Logs_20150203 memo COLUMN_SCALAR Text
-column_create Logs_20150203 message COLUMN_SCALAR Text
-
-table_create Logs_20150204 TABLE_NO_KEY
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-column_create Logs_20150204 memo COLUMN_SCALAR Text
-column_create Logs_20150204 message COLUMN_SCALAR Text
-
-table_create Logs_20150205 TABLE_NO_KEY
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-column_create Logs_20150205 memo COLUMN_SCALAR Text
-column_create Logs_20150205 message COLUMN_SCALAR Text
+#@include fixture/sharding/logical_range_filter/no_index/schema.grn
 
 load --table Logs_20150203
 [

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude_max_exclude.expected (+1 -27)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude_max_exclude.expected    2015-02-23 17:21:46 +0900 (aa65a3d)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude_max_exclude.expected    2015-02-23 17:52:24 +0900 (c1ec0c1)
@@ -1,29 +1,3 @@
-register sharding
-[[0,0.0,0.0],true]
-table_create Logs_20150203 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150203 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150203 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150204 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150204 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150204 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150205 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150205 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150205 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
 load --table Logs_20150203
 [
 {"timestamp": "2015-02-03 23:59:58", "memo": "2015-02-03 23:59:58", "message": "Start"},
@@ -61,7 +35,7 @@ logical_range_filter Logs timestamp   --filter 'message == "Shutdown"'   --min "
     [
       [
         "memo",
-        "Text"
+        "ShortText"
       ],
       [
         "message",

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude_max_exclude.test (+1 -18)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude_max_exclude.test    2015-02-23 17:21:46 +0900 (4da3d47)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude_max_exclude.test    2015-02-23 17:52:24 +0900 (304cd9d)
@@ -1,21 +1,4 @@
-#@on-error omit
-register sharding
-#@on-error default
-
-table_create Logs_20150203 TABLE_NO_KEY
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-column_create Logs_20150203 memo COLUMN_SCALAR Text
-column_create Logs_20150203 message COLUMN_SCALAR Text
-
-table_create Logs_20150204 TABLE_NO_KEY
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-column_create Logs_20150204 memo COLUMN_SCALAR Text
-column_create Logs_20150204 message COLUMN_SCALAR Text
-
-table_create Logs_20150205 TABLE_NO_KEY
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-column_create Logs_20150205 memo COLUMN_SCALAR Text
-column_create Logs_20150205 message COLUMN_SCALAR Text
+#@include fixture/sharding/logical_range_filter/no_index/schema.grn
 
 load --table Logs_20150203
 [

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude_max_include.expected (+1 -27)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude_max_include.expected    2015-02-23 17:21:46 +0900 (6203238)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude_max_include.expected    2015-02-23 17:52:24 +0900 (25e2eeb)
@@ -1,29 +1,3 @@
-register sharding
-[[0,0.0,0.0],true]
-table_create Logs_20150203 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150203 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150203 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150204 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150204 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150204 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150205 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150205 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150205 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
 load --table Logs_20150203
 [
 {"timestamp": "2015-02-03 23:59:58", "memo": "2015-02-03 23:59:58", "message": "Start"},
@@ -61,7 +35,7 @@ logical_range_filter Logs timestamp   --filter 'message == "Shutdown"'   --min "
     [
       [
         "memo",
-        "Text"
+        "ShortText"
       ],
       [
         "message",

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude_max_include.test (+1 -18)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude_max_include.test    2015-02-23 17:21:46 +0900 (6dbdb15)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_exclude_max_include.test    2015-02-23 17:52:24 +0900 (8181a03)
@@ -1,21 +1,4 @@
-#@on-error omit
-register sharding
-#@on-error default
-
-table_create Logs_20150203 TABLE_NO_KEY
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-column_create Logs_20150203 memo COLUMN_SCALAR Text
-column_create Logs_20150203 message COLUMN_SCALAR Text
-
-table_create Logs_20150204 TABLE_NO_KEY
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-column_create Logs_20150204 memo COLUMN_SCALAR Text
-column_create Logs_20150204 message COLUMN_SCALAR Text
-
-table_create Logs_20150205 TABLE_NO_KEY
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-column_create Logs_20150205 memo COLUMN_SCALAR Text
-column_create Logs_20150205 message COLUMN_SCALAR Text
+#@include fixture/sharding/logical_range_filter/no_index/schema.grn
 
 load --table Logs_20150203
 [

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include.expected (+1 -27)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include.expected    2015-02-23 17:21:46 +0900 (5992284)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include.expected    2015-02-23 17:52:24 +0900 (28d84e8)
@@ -1,29 +1,3 @@
-register sharding
-[[0,0.0,0.0],true]
-table_create Logs_20150203 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150203 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150203 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150204 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150204 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150204 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150205 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150205 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150205 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
 load --table Logs_20150203
 [
 {"timestamp": "2015-02-03 23:59:58", "memo": "2015-02-03 23:59:58", "message": "Start"},
@@ -61,7 +35,7 @@ logical_range_filter Logs timestamp   --filter 'message == "Shutdown"'   --min "
     [
       [
         "memo",
-        "Text"
+        "ShortText"
       ],
       [
         "message",

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include.test (+1 -18)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include.test    2015-02-23 17:21:46 +0900 (edb2249)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include.test    2015-02-23 17:52:24 +0900 (bdad5c2)
@@ -1,21 +1,4 @@
-#@on-error omit
-register sharding
-#@on-error default
-
-table_create Logs_20150203 TABLE_NO_KEY
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-column_create Logs_20150203 memo COLUMN_SCALAR Text
-column_create Logs_20150203 message COLUMN_SCALAR Text
-
-table_create Logs_20150204 TABLE_NO_KEY
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-column_create Logs_20150204 memo COLUMN_SCALAR Text
-column_create Logs_20150204 message COLUMN_SCALAR Text
-
-table_create Logs_20150205 TABLE_NO_KEY
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-column_create Logs_20150205 memo COLUMN_SCALAR Text
-column_create Logs_20150205 message COLUMN_SCALAR Text
+#@include fixture/sharding/logical_range_filter/no_index/schema.grn
 
 load --table Logs_20150203
 [

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include_max_exclude.expected (+1 -27)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include_max_exclude.expected    2015-02-23 17:21:46 +0900 (6b87fdd)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include_max_exclude.expected    2015-02-23 17:52:24 +0900 (cd03368)
@@ -1,29 +1,3 @@
-register sharding
-[[0,0.0,0.0],true]
-table_create Logs_20150203 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150203 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150203 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150204 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150204 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150204 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150205 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150205 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150205 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
 load --table Logs_20150203
 [
 {"timestamp": "2015-02-03 23:59:58", "memo": "2015-02-03 23:59:58", "message": "Start"},
@@ -61,7 +35,7 @@ logical_range_filter Logs timestamp   --filter 'message == "Shutdown"'   --min "
     [
       [
         "memo",
-        "Text"
+        "ShortText"
       ],
       [
         "message",

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include_max_exclude.test (+1 -18)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include_max_exclude.test    2015-02-23 17:21:46 +0900 (fa18f0a)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include_max_exclude.test    2015-02-23 17:52:24 +0900 (3c378d4)
@@ -1,21 +1,4 @@
-#@on-error omit
-register sharding
-#@on-error default
-
-table_create Logs_20150203 TABLE_NO_KEY
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-column_create Logs_20150203 memo COLUMN_SCALAR Text
-column_create Logs_20150203 message COLUMN_SCALAR Text
-
-table_create Logs_20150204 TABLE_NO_KEY
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-column_create Logs_20150204 memo COLUMN_SCALAR Text
-column_create Logs_20150204 message COLUMN_SCALAR Text
-
-table_create Logs_20150205 TABLE_NO_KEY
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-column_create Logs_20150205 memo COLUMN_SCALAR Text
-column_create Logs_20150205 message COLUMN_SCALAR Text
+#@include fixture/sharding/logical_range_filter/no_index/schema.grn
 
 load --table Logs_20150203
 [

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include_max_include.expected (+1 -27)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include_max_include.expected    2015-02-23 17:21:46 +0900 (dd58db7)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include_max_include.expected    2015-02-23 17:52:24 +0900 (f7f5f93)
@@ -1,29 +1,3 @@
-register sharding
-[[0,0.0,0.0],true]
-table_create Logs_20150203 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150203 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150203 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150204 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150204 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150204 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-table_create Logs_20150205 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150205 memo COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
-column_create Logs_20150205 message COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
 load --table Logs_20150203
 [
 {"timestamp": "2015-02-03 23:59:58", "memo": "2015-02-03 23:59:58", "message": "Start"},
@@ -61,7 +35,7 @@ logical_range_filter Logs timestamp   --filter 'message == "Shutdown"'   --min "
     [
       [
         "memo",
-        "Text"
+        "ShortText"
       ],
       [
         "message",

  Modified: test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include_max_include.test (+1 -18)
===================================================================
--- test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include_max_include.test    2015-02-23 17:21:46 +0900 (7f66862)
+++ test/command/suite/sharding/logical_range_filter/no_index/condition/range/min_include_max_include.test    2015-02-23 17:52:24 +0900 (5498866)
@@ -1,21 +1,4 @@
-#@on-error omit
-register sharding
-#@on-error default
-
-table_create Logs_20150203 TABLE_NO_KEY
-column_create Logs_20150203 timestamp COLUMN_SCALAR Time
-column_create Logs_20150203 memo COLUMN_SCALAR Text
-column_create Logs_20150203 message COLUMN_SCALAR Text
-
-table_create Logs_20150204 TABLE_NO_KEY
-column_create Logs_20150204 timestamp COLUMN_SCALAR Time
-column_create Logs_20150204 memo COLUMN_SCALAR Text
-column_create Logs_20150204 message COLUMN_SCALAR Text
-
-table_create Logs_20150205 TABLE_NO_KEY
-column_create Logs_20150205 timestamp COLUMN_SCALAR Time
-column_create Logs_20150205 memo COLUMN_SCALAR Text
-column_create Logs_20150205 message COLUMN_SCALAR Text
+#@include fixture/sharding/logical_range_filter/no_index/schema.grn
 
 load --table Logs_20150203
 [
-------------- next part --------------
HTML����������������������������...
Download 



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