[Groonga-commit] groonga/groonga at 5fcc505 [master] test logical_range_filter: remove needless information

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jul 10 11:29:45 JST 2015


Kouhei Sutou	2015-07-10 11:29:45 +0900 (Fri, 10 Jul 2015)

  New Revision: 5fcc505885fe85952d6eb53eeb009320453acb8f
  https://github.com/groonga/groonga/commit/5fcc505885fe85952d6eb53eeb009320453acb8f

  Message:
    test logical_range_filter: remove needless information

  Modified files:
    test/command/suite/sharding/logical_range_filter/filter/between/range_index.expected
    test/command/suite/sharding/logical_range_filter/filter/between/range_index.test
    test/command/suite/sharding/logical_range_filter/filter/between/select.expected
    test/command/suite/sharding/logical_range_filter/filter/between/select.test

  Modified: test/command/suite/sharding/logical_range_filter/filter/between/range_index.expected (+4 -19)
===================================================================
--- test/command/suite/sharding/logical_range_filter/filter/between/range_index.expected    2015-07-10 11:25:52 +0900 (b27b223)
+++ test/command/suite/sharding/logical_range_filter/filter/between/range_index.expected    2015-07-10 11:29:45 +0900 (31417c6)
@@ -1,42 +1,32 @@
 plugin_register sharding
 [[0,0.0,0.0],true]
-table_create Terms TABLE_PAT_KEY ShortText   --default_tokenizer TokenBigram
-[[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 action COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
 table_create Timestamp_20150205 TABLE_PAT_KEY Time
 [[0,0.0,0.0],true]
 column_create Timestamp_20150205 index COLUMN_INDEX Logs_20150205 timestamp
 [[0,0.0,0.0],true]
-column_create Terms index_20150205 COLUMN_INDEX|WITH_POSITION|WITH_SECTION   Logs_20150205 memo,action
-[[0,0.0,0.0],true]
 load --table Logs_20150205
 [
 {
   "timestamp": "2015-02-05 13:49:00",
-       "memo": "2015-02-05 13:49:00",
-     "action": "Start"
+       "memo": "2015-02-05 13:49:00"
 },
 {
   "timestamp": "2015-02-05 13:50:00",
-       "memo": "2015-02-05 13:50:00",
-     "action": "Running"
+       "memo": "2015-02-05 13:50:00"
 },
 {
   "timestamp": "2015-02-05 13:51:00",
-       "memo": "2015-02-05 13:51:00",
-     "action": "Running"
+       "memo": "2015-02-05 13:51:00"
 },
 {
   "timestamp": "2015-02-05 13:52:00",
-       "memo": "2015-02-05 13:52:00",
-     "action": "Shutdown"
+       "memo": "2015-02-05 13:52:00"
 }
 ]
 [[0,0.0,0.0],4]
@@ -52,10 +42,6 @@ logical_range_filter Logs timestamp   --limit 1   --filter 'between(timestamp, "
   [
     [
       [
-        "action",
-        "Text"
-      ],
-      [
         "memo",
         "ShortText"
       ],
@@ -65,7 +51,6 @@ logical_range_filter Logs timestamp   --limit 1   --filter 'between(timestamp, "
       ]
     ],
     [
-      "Running",
       "2015-02-05 13:50:00",
       1423111800.0
     ]

  Modified: test/command/suite/sharding/logical_range_filter/filter/between/range_index.test (+4 -15)
===================================================================
--- test/command/suite/sharding/logical_range_filter/filter/between/range_index.test    2015-07-10 11:25:52 +0900 (d9a9bae)
+++ test/command/suite/sharding/logical_range_filter/filter/between/range_index.test    2015-07-10 11:29:45 +0900 (ec453c3)
@@ -2,42 +2,31 @@
 plugin_register sharding
 #@on-error default
 
-table_create Terms TABLE_PAT_KEY ShortText \
-  --default_tokenizer TokenBigram
-
 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 action COLUMN_SCALAR Text
 
 table_create Timestamp_20150205 TABLE_PAT_KEY Time
 column_create Timestamp_20150205 index COLUMN_INDEX Logs_20150205 timestamp
 
-column_create Terms index_20150205 COLUMN_INDEX|WITH_POSITION|WITH_SECTION \
-  Logs_20150205 memo,action
-
 
 load --table Logs_20150205
 [
 {
   "timestamp": "2015-02-05 13:49:00",
-       "memo": "2015-02-05 13:49:00",
-     "action": "Start"
+       "memo": "2015-02-05 13:49:00"
 },
 {
   "timestamp": "2015-02-05 13:50:00",
-       "memo": "2015-02-05 13:50:00",
-     "action": "Running"
+       "memo": "2015-02-05 13:50:00"
 },
 {
   "timestamp": "2015-02-05 13:51:00",
-       "memo": "2015-02-05 13:51:00",
-     "action": "Running"
+       "memo": "2015-02-05 13:51:00"
 },
 {
   "timestamp": "2015-02-05 13:52:00",
-       "memo": "2015-02-05 13:52:00",
-     "action": "Shutdown"
+       "memo": "2015-02-05 13:52:00"
 }
 ]
 

  Modified: test/command/suite/sharding/logical_range_filter/filter/between/select.expected (+4 -20)
===================================================================
--- test/command/suite/sharding/logical_range_filter/filter/between/select.expected    2015-07-10 11:25:52 +0900 (3895a85)
+++ test/command/suite/sharding/logical_range_filter/filter/between/select.expected    2015-07-10 11:29:45 +0900 (5077c40)
@@ -1,42 +1,32 @@
 plugin_register sharding
 [[0,0.0,0.0],true]
-table_create Terms TABLE_PAT_KEY ShortText   --default_tokenizer TokenBigram
-[[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 action COLUMN_SCALAR Text
-[[0,0.0,0.0],true]
 table_create Timestamp_20150205 TABLE_PAT_KEY Time
 [[0,0.0,0.0],true]
 column_create Timestamp_20150205 index COLUMN_INDEX Logs_20150205 timestamp
 [[0,0.0,0.0],true]
-column_create Terms index_20150205 COLUMN_INDEX|WITH_POSITION|WITH_SECTION   Logs_20150205 memo,action
-[[0,0.0,0.0],true]
 load --table Logs_20150205
 [
 {
   "timestamp": "2015-02-05 13:49:00",
-       "memo": "2015-02-05 13:49:00",
-     "action": "Start"
+       "memo": "2015-02-05 13:49:00"
 },
 {
   "timestamp": "2015-02-05 13:50:00",
-       "memo": "2015-02-05 13:50:00",
-     "action": "Running"
+       "memo": "2015-02-05 13:50:00"
 },
 {
   "timestamp": "2015-02-05 13:51:00",
-       "memo": "2015-02-05 13:51:00",
-     "action": "Running"
+       "memo": "2015-02-05 13:51:00"
 },
 {
   "timestamp": "2015-02-05 13:52:00",
-       "memo": "2015-02-05 13:52:00",
-     "action": "Shutdown"
+       "memo": "2015-02-05 13:52:00"
 }
 ]
 [[0,0.0,0.0],4]
@@ -52,10 +42,6 @@ logical_range_filter Logs timestamp   --limit -1   --filter 'between(timestamp,
   [
     [
       [
-        "action",
-        "Text"
-      ],
-      [
         "memo",
         "ShortText"
       ],
@@ -65,12 +51,10 @@ logical_range_filter Logs timestamp   --limit -1   --filter 'between(timestamp,
       ]
     ],
     [
-      "Running",
       "2015-02-05 13:50:00",
       1423111800.0
     ],
     [
-      "Running",
       "2015-02-05 13:51:00",
       1423111860.0
     ]

  Modified: test/command/suite/sharding/logical_range_filter/filter/between/select.test (+4 -16)
===================================================================
--- test/command/suite/sharding/logical_range_filter/filter/between/select.test    2015-07-10 11:25:52 +0900 (b3b21d4)
+++ test/command/suite/sharding/logical_range_filter/filter/between/select.test    2015-07-10 11:29:45 +0900 (7ae53a7)
@@ -2,42 +2,30 @@
 plugin_register sharding
 #@on-error default
 
-table_create Terms TABLE_PAT_KEY ShortText \
-  --default_tokenizer TokenBigram
-
 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 action COLUMN_SCALAR Text
 
 table_create Timestamp_20150205 TABLE_PAT_KEY Time
 column_create Timestamp_20150205 index COLUMN_INDEX Logs_20150205 timestamp
 
-column_create Terms index_20150205 COLUMN_INDEX|WITH_POSITION|WITH_SECTION \
-  Logs_20150205 memo,action
-
-
 load --table Logs_20150205
 [
 {
   "timestamp": "2015-02-05 13:49:00",
-       "memo": "2015-02-05 13:49:00",
-     "action": "Start"
+       "memo": "2015-02-05 13:49:00"
 },
 {
   "timestamp": "2015-02-05 13:50:00",
-       "memo": "2015-02-05 13:50:00",
-     "action": "Running"
+       "memo": "2015-02-05 13:50:00"
 },
 {
   "timestamp": "2015-02-05 13:51:00",
-       "memo": "2015-02-05 13:51:00",
-     "action": "Running"
+       "memo": "2015-02-05 13:51:00"
 },
 {
   "timestamp": "2015-02-05 13:52:00",
-       "memo": "2015-02-05 13:52:00",
-     "action": "Shutdown"
+       "memo": "2015-02-05 13:52:00"
 }
 ]
 
-------------- next part --------------
HTML����������������������������...
Download 



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