Kouhei Sutou
null+****@clear*****
Tue Dec 16 00:04:03 JST 2014
Kouhei Sutou 2014-12-16 00:04:03 +0900 (Tue, 16 Dec 2014) New Revision: 78dfa6273170cec46ba26bd3443dd4da227b73d1 https://github.com/groonga/groonga/commit/78dfa6273170cec46ba26bd3443dd4da227b73d1 Message: test: add a test for indexing vector of UInt64 Added files: test/command/suite/load/index/online/vector_uint64.expected test/command/suite/load/index/online/vector_uint64.test Added: test/command/suite/load/index/online/vector_uint64.expected (+20 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/load/index/online/vector_uint64.expected 2014-12-16 00:04:03 +0900 (0fbba3f) @@ -0,0 +1,20 @@ +table_create Users TABLE_NO_KEY +[[0,0.0,0.0],true] +column_create Users ids COLUMN_VECTOR UInt64 +[[0,0.0,0.0],true] +table_create IDs TABLE_PAT_KEY UInt64 +[[0,0.0,0.0],true] +column_create IDs users_ids COLUMN_INDEX Users ids +[[0,0.0,0.0],true] +load --table Users +[ +["ids"], +[[10, 20, 30]], +[[20, 40]], +[[]] +] +[[0,0.0,0.0],3] +select Users --output_columns ids +[[0,0.0,0.0],[[[3],[["ids","UInt64"]],[[10,20,30]],[[20,40]],[[]]]]] +select IDs --output_columns _key +[[0,0.0,0.0],[[[4],[["_key","UInt64"]],[10],[20],[30],[40]]]] Added: test/command/suite/load/index/online/vector_uint64.test (+16 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/load/index/online/vector_uint64.test 2014-12-16 00:04:03 +0900 (99aa3d1) @@ -0,0 +1,16 @@ +table_create Users TABLE_NO_KEY +column_create Users ids COLUMN_VECTOR UInt64 + +table_create IDs TABLE_PAT_KEY UInt64 +column_create IDs users_ids COLUMN_INDEX Users ids + +load --table Users +[ +["ids"], +[[10, 20, 30]], +[[20, 40]], +[[]] +] + +select Users --output_columns ids +select IDs --output_columns _key -------------- next part -------------- HTML����������������������������... 다운로드