Kouhei Sutou
null+****@clear*****
Fri Mar 1 13:37:35 JST 2013
Kouhei Sutou 2013-03-01 13:37:35 +0900 (Fri, 01 Mar 2013) New Revision: b602d37c0203532cffb265c6ec5cb1f22d18fc41 https://github.com/groonga/groonga/commit/b602d37c0203532cffb265c6ec5cb1f22d18fc41 Merged d686f72: Merge pull request #56 from groonga/support-numeric-arithmetic-operations-for-small-value-types Log: Add a test for binary assign operation for Int8 type Operation: X /= Y Added files: test/command/suite/select/operation/slash_assign/int8.expected test/command/suite/select/operation/slash_assign/int8.test Added: test/command/suite/select/operation/slash_assign/int8.expected (+13 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/operation/slash_assign/int8.expected 2013-03-01 13:37:35 +0900 (56d9259) @@ -0,0 +1,13 @@ +table_create Values TABLE_NO_KEY +[[0,0.0,0.0],true] +column_create Values value COLUMN_SCALAR Int8 +[[0,0.0,0.0],true] +column_create Values output COLUMN_SCALAR Int8 +[[0,0.0,0.0],true] +load --table Values +[ +{"value": 2, "output": 7} +] +[[0,0.0,0.0],1] +select Values --filter true --scorer 'output /= value' --output_columns 'value, output' +[[0,0.0,0.0],[[[1],[["value","Int8"],["output","Int8"]],[2,3]]]] Added: test/command/suite/select/operation/slash_assign/int8.test (+13 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/operation/slash_assign/int8.test 2013-03-01 13:37:35 +0900 (2a78d16) @@ -0,0 +1,13 @@ +table_create Values TABLE_NO_KEY +column_create Values value COLUMN_SCALAR Int8 +column_create Values output COLUMN_SCALAR Int8 + +load --table Values +[ +{"value": 2, "output": 7} +] + +select Values \ + --filter true \ + --scorer 'output /= value' \ + --output_columns 'value, output' -------------- next part -------------- HTML����������������������������...다운로드