Kouhei Sutou
null+****@clear*****
Tue Feb 24 11:33:43 JST 2015
Kouhei Sutou 2015-02-24 11:33:43 +0900 (Tue, 24 Feb 2015) New Revision: 3b4018f16f6cd5c91003818cee4201c4fcc2dd75 https://github.com/groonga/groonga/commit/3b4018f16f6cd5c91003818cee4201c4fcc2dd75 Message: test logical_range_filter: use shared schema Modified files: test/command/suite/sharding/logical_range_filter/index/no_condition/multiple_physical_tables.expected test/command/suite/sharding/logical_range_filter/index/no_condition/multiple_physical_tables.test test/command/suite/sharding/logical_range_filter/no_index/no_condition/multiple_physical_tables.expected test/command/suite/sharding/logical_range_filter/no_index/no_condition/multiple_physical_tables.test Modified: test/command/suite/sharding/logical_range_filter/index/no_condition/multiple_physical_tables.expected (+10 -20) =================================================================== --- test/command/suite/sharding/logical_range_filter/index/no_condition/multiple_physical_tables.expected 2015-02-24 11:00:42 +0900 (430167f) +++ test/command/suite/sharding/logical_range_filter/index/no_condition/multiple_physical_tables.expected 2015-02-24 11:33:43 +0900 (1deb4c2) @@ -1,23 +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] -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] -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] load --table Logs_20150203 [ {"timestamp": "2015-02-03 12:49:00", "memo": "2015-02-03 12:49:00"} @@ -50,32 +30,42 @@ logical_range_filter Logs timestamp "ShortText" ], [ + "message", + "Text" + ], + [ "timestamp", "Time" ] ], [ "2015-02-03 12:49:00", + "", 1422935340.0 ], [ "2015-02-04 13:49:00", + "", 1423025340.0 ], [ "2015-02-04 13:50:00", + "", 1423025400.0 ], [ "2015-02-05 13:49:00", + "", 1423111740.0 ], [ "2015-02-05 13:50:00", + "", 1423111800.0 ], [ "2015-02-05 13:51:00", + "", 1423111860.0 ] ] Modified: test/command/suite/sharding/logical_range_filter/index/no_condition/multiple_physical_tables.test (+1 -15) =================================================================== --- test/command/suite/sharding/logical_range_filter/index/no_condition/multiple_physical_tables.test 2015-02-24 11:00:42 +0900 (9aa627e) +++ test/command/suite/sharding/logical_range_filter/index/no_condition/multiple_physical_tables.test 2015-02-24 11:33:43 +0900 (cf02ddb) @@ -1,18 +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 - -table_create Logs_20150204 TABLE_NO_KEY -column_create Logs_20150204 timestamp COLUMN_SCALAR Time -column_create Logs_20150204 memo COLUMN_SCALAR ShortText - -table_create Logs_20150205 TABLE_NO_KEY -column_create Logs_20150205 timestamp COLUMN_SCALAR Time -column_create Logs_20150205 memo COLUMN_SCALAR ShortText +#@include fixture/sharding/logical_range_filter/index/schema.grn load --table Logs_20150203 [ Modified: test/command/suite/sharding/logical_range_filter/no_index/no_condition/multiple_physical_tables.expected (+10 -20) =================================================================== --- test/command/suite/sharding/logical_range_filter/no_index/no_condition/multiple_physical_tables.expected 2015-02-24 11:00:42 +0900 (430167f) +++ test/command/suite/sharding/logical_range_filter/no_index/no_condition/multiple_physical_tables.expected 2015-02-24 11:33:43 +0900 (1deb4c2) @@ -1,23 +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] -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] -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] load --table Logs_20150203 [ {"timestamp": "2015-02-03 12:49:00", "memo": "2015-02-03 12:49:00"} @@ -50,32 +30,42 @@ logical_range_filter Logs timestamp "ShortText" ], [ + "message", + "Text" + ], + [ "timestamp", "Time" ] ], [ "2015-02-03 12:49:00", + "", 1422935340.0 ], [ "2015-02-04 13:49:00", + "", 1423025340.0 ], [ "2015-02-04 13:50:00", + "", 1423025400.0 ], [ "2015-02-05 13:49:00", + "", 1423111740.0 ], [ "2015-02-05 13:50:00", + "", 1423111800.0 ], [ "2015-02-05 13:51:00", + "", 1423111860.0 ] ] Modified: test/command/suite/sharding/logical_range_filter/no_index/no_condition/multiple_physical_tables.test (+1 -15) =================================================================== --- test/command/suite/sharding/logical_range_filter/no_index/no_condition/multiple_physical_tables.test 2015-02-24 11:00:42 +0900 (9aa627e) +++ test/command/suite/sharding/logical_range_filter/no_index/no_condition/multiple_physical_tables.test 2015-02-24 11:33:43 +0900 (33c5ac0) @@ -1,18 +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 - -table_create Logs_20150204 TABLE_NO_KEY -column_create Logs_20150204 timestamp COLUMN_SCALAR Time -column_create Logs_20150204 memo COLUMN_SCALAR ShortText - -table_create Logs_20150205 TABLE_NO_KEY -column_create Logs_20150205 timestamp COLUMN_SCALAR Time -column_create Logs_20150205 memo COLUMN_SCALAR ShortText +#@include fixture/sharding/logical_range_filter/no_index/schema.grn load --table Logs_20150203 [ -------------- next part -------------- HTML����������������������������...Download