Kouhei Sutou
null+****@clear*****
Tue Jan 24 19:18:56 JST 2017
Kouhei Sutou 2017-01-24 19:18:56 +0900 (Tue, 24 Jan 2017) New Revision: 0df88620802136aa191d9435d001249b1bcb4aad https://github.com/groonga/groonga/commit/0df88620802136aa191d9435d001249b1bcb4aad Message: test: remove needless column Modified files: test/command/suite/select/drilldowns/sort_keys/invalid/nonexistent/column.expected test/command/suite/select/drilldowns/sort_keys/invalid/nonexistent/column.test test/command/suite/select/drilldowns/sort_keys/invalid/nonexistent/with_valid_drilldown.expected test/command/suite/select/drilldowns/sort_keys/invalid/nonexistent/with_valid_drilldown.test Modified: test/command/suite/select/drilldowns/sort_keys/invalid/nonexistent/column.expected (+8 -18) =================================================================== --- test/command/suite/select/drilldowns/sort_keys/invalid/nonexistent/column.expected 2017-01-24 19:14:31 +0900 (8e7299e) +++ test/command/suite/select/drilldowns/sort_keys/invalid/nonexistent/column.expected 2017-01-24 19:18:56 +0900 (6f52a56) @@ -4,14 +4,12 @@ table_create Memos TABLE_HASH_KEY ShortText [[0,0.0,0.0],true] column_create Memos tag COLUMN_SCALAR Tags [[0,0.0,0.0],true] -column_create Memos value COLUMN_SCALAR Int64 -[[0,0.0,0.0],true] load --table Memos [ -{"_key": "Groonga is fast!", "tag": "Groonga", "value": 10}, -{"_key": "Mroonga is fast!", "tag": "Mroonga", "value": 20}, -{"_key": "Groonga sticker!", "tag": "Groonga", "value": 40}, -{"_key": "Rroonga is fast!", "tag": "Rroonga", "value": 80} +{"_key": "Groonga is fast!", "tag": "Groonga"}, +{"_key": "Mroonga is fast!", "tag": "Mroonga"}, +{"_key": "Groonga sticker!", "tag": "Groonga"}, +{"_key": "Rroonga is fast!", "tag": "Rroonga"} ] [[0,0.0,0.0],4] select Memos --drilldowns[tag].keys tag --drilldowns[tag].output_columns _key --drilldowns[tag].sort_keys nonexistent @@ -41,35 +39,27 @@ select Memos --drilldowns[tag].keys tag --drilldowns[tag].output_columns _ke [ "tag", "Tags" - ], - [ - "value", - "Int64" ] ], [ 1, "Groonga is fast!", - "Groonga", - 10 + "Groonga" ], [ 2, "Mroonga is fast!", - "Mroonga", - 20 + "Mroonga" ], [ 3, "Groonga sticker!", - "Groonga", - 40 + "Groonga" ], [ 4, "Rroonga is fast!", - "Rroonga", - 80 + "Rroonga" ] ], { Modified: test/command/suite/select/drilldowns/sort_keys/invalid/nonexistent/column.test (+7 -5) =================================================================== --- test/command/suite/select/drilldowns/sort_keys/invalid/nonexistent/column.test 2017-01-24 19:14:31 +0900 (74d0e76) +++ test/command/suite/select/drilldowns/sort_keys/invalid/nonexistent/column.test 2017-01-24 19:18:56 +0900 (8ec3fde) @@ -1,14 +1,16 @@ table_create Tags TABLE_PAT_KEY ShortText + table_create Memos TABLE_HASH_KEY ShortText column_create Memos tag COLUMN_SCALAR Tags -column_create Memos value COLUMN_SCALAR Int64 + load --table Memos [ -{"_key": "Groonga is fast!", "tag": "Groonga", "value": 10}, -{"_key": "Mroonga is fast!", "tag": "Mroonga", "value": 20}, -{"_key": "Groonga sticker!", "tag": "Groonga", "value": 40}, -{"_key": "Rroonga is fast!", "tag": "Rroonga", "value": 80} +{"_key": "Groonga is fast!", "tag": "Groonga"}, +{"_key": "Mroonga is fast!", "tag": "Mroonga"}, +{"_key": "Groonga sticker!", "tag": "Groonga"}, +{"_key": "Rroonga is fast!", "tag": "Rroonga"} ] + select Memos \ --drilldowns[tag].keys tag \ --drilldowns[tag].output_columns _key \ Modified: test/command/suite/select/drilldowns/sort_keys/invalid/nonexistent/with_valid_drilldown.expected (+8 -18) =================================================================== --- test/command/suite/select/drilldowns/sort_keys/invalid/nonexistent/with_valid_drilldown.expected 2017-01-24 19:14:31 +0900 (21400d4) +++ test/command/suite/select/drilldowns/sort_keys/invalid/nonexistent/with_valid_drilldown.expected 2017-01-24 19:18:56 +0900 (c22e4e9) @@ -4,14 +4,12 @@ table_create Memos TABLE_HASH_KEY ShortText [[0,0.0,0.0],true] column_create Memos tag COLUMN_SCALAR Tags [[0,0.0,0.0],true] -column_create Memos value COLUMN_SCALAR Int64 -[[0,0.0,0.0],true] load --table Memos [ -{"_key": "Groonga is fast!", "tag": "Groonga", "value": 10}, -{"_key": "Mroonga is fast!", "tag": "Mroonga", "value": 20}, -{"_key": "Groonga sticker!", "tag": "Groonga", "value": 40}, -{"_key": "Rroonga is fast!", "tag": "Rroonga", "value": 80} +{"_key": "Groonga is fast!", "tag": "Groonga"}, +{"_key": "Mroonga is fast!", "tag": "Mroonga"}, +{"_key": "Groonga sticker!", "tag": "Groonga"}, +{"_key": "Rroonga is fast!", "tag": "Rroonga"} ] [[0,0.0,0.0],4] select Memos --drilldowns[tag].keys tag --drilldowns[tag].output_columns _key --drilldowns[tag].sort_keys nonexistent --drilldowns[tag2].keys tag @@ -41,35 +39,27 @@ select Memos --drilldowns[tag].keys tag --drilldowns[tag].output_columns _ke [ "tag", "Tags" - ], - [ - "value", - "Int64" ] ], [ 1, "Groonga is fast!", - "Groonga", - 10 + "Groonga" ], [ 2, "Mroonga is fast!", - "Mroonga", - 20 + "Mroonga" ], [ 3, "Groonga sticker!", - "Groonga", - 40 + "Groonga" ], [ 4, "Rroonga is fast!", - "Rroonga", - 80 + "Rroonga" ] ], { Modified: test/command/suite/select/drilldowns/sort_keys/invalid/nonexistent/with_valid_drilldown.test (+7 -5) =================================================================== --- test/command/suite/select/drilldowns/sort_keys/invalid/nonexistent/with_valid_drilldown.test 2017-01-24 19:14:31 +0900 (ea05645) +++ test/command/suite/select/drilldowns/sort_keys/invalid/nonexistent/with_valid_drilldown.test 2017-01-24 19:18:56 +0900 (d9efb8d) @@ -1,14 +1,16 @@ table_create Tags TABLE_PAT_KEY ShortText + table_create Memos TABLE_HASH_KEY ShortText column_create Memos tag COLUMN_SCALAR Tags -column_create Memos value COLUMN_SCALAR Int64 + load --table Memos [ -{"_key": "Groonga is fast!", "tag": "Groonga", "value": 10}, -{"_key": "Mroonga is fast!", "tag": "Mroonga", "value": 20}, -{"_key": "Groonga sticker!", "tag": "Groonga", "value": 40}, -{"_key": "Rroonga is fast!", "tag": "Rroonga", "value": 80} +{"_key": "Groonga is fast!", "tag": "Groonga"}, +{"_key": "Mroonga is fast!", "tag": "Mroonga"}, +{"_key": "Groonga sticker!", "tag": "Groonga"}, +{"_key": "Rroonga is fast!", "tag": "Rroonga"} ] + select Memos \ --drilldowns[tag].keys tag \ --drilldowns[tag].output_columns _key \ -------------- next part -------------- HTML����������������������������...Download