Kouhei Sutou
null+****@clear*****
Thu Sep 13 13:04:27 JST 2018
Kouhei Sutou 2018-09-13 13:04:27 +0900 (Thu, 13 Sep 2018) Revision: 3902db9625512e97728c772917a114600c9944cc https://github.com/groonga/groonga/commit/3902db9625512e97728c772917a114600c9944cc Message: test: update expected to include condition Modified files: test/command/suite/sharding/logical_count/cache/columns/initial.expected test/command/suite/sharding/logical_count/query_log.expected test/command/suite/sharding/logical_range_filter/cache/columns/filtered.expected test/command/suite/sharding/logical_range_filter/cache/columns/initial.expected test/command/suite/sharding/logical_select/cache/drilldowns/table.expected test/command/suite/sharding/logical_select/columns/stage/filtered/filter.expected Modified: test/command/suite/sharding/logical_count/cache/columns/initial.expected (+2 -2) =================================================================== --- test/command/suite/sharding/logical_count/cache/columns/initial.expected 2018-09-13 10:53:41 +0900 (05e9f9e28) +++ test/command/suite/sharding/logical_count/cache/columns/initial.expected 2018-09-13 13:04:27 +0900 (46f3d778e) @@ -16,8 +16,8 @@ load --table Logs_20170315 logical_count Logs --shard_key timestamp --columns[price_with_tax].stage initial --columns[price_with_tax].type UInt32 --columns[price_with_tax].flags COLUMN_SCALAR --columns[price_with_tax].value 'price * 1.08' --filter 'price_with_tax > 550' [[0,0.0,0.0],2] #>logical_count --columns[price_with_tax].flags "COLUMN_SCALAR" --columns[price_with_tax].stage "initial" --columns[price_with_tax].type "UInt32" --columns[price_with_tax].value "price * 1.08" --filter "price_with_tax > 550" --logical_table "Logs" --shard_key "timestamp" -#:000000000000000 filter(3) -#:000000000000000 filter(2) +#:000000000000000 filter(3): true +#:000000000000000 filter(2): 2147483650.price_with_tax greater 550 #:000000000000000 count(2) #<000000000000000 rc=0 logical_count Logs --shard_key timestamp --columns[price_with_tax].stage initial --columns[price_with_tax].type UInt32 --columns[price_with_tax].flags COLUMN_SCALAR --columns[price_with_tax].value 'price * 1.08' --filter 'price_with_tax > 550' Modified: test/command/suite/sharding/logical_count/query_log.expected (+2 -2) =================================================================== --- test/command/suite/sharding/logical_count/query_log.expected 2018-09-13 10:53:41 +0900 (2e5d8a2eb) +++ test/command/suite/sharding/logical_count/query_log.expected 2018-09-13 13:04:27 +0900 (4bc215e79) @@ -16,7 +16,7 @@ load --table Logs_20170315 logical_count Logs --shard_key timestamp --columns[price_with_tax].stage initial --columns[price_with_tax].type UInt32 --columns[price_with_tax].flags COLUMN_SCALAR --columns[price_with_tax].value 'price * 1.08' --filter 'price_with_tax > 550' [[0,0.0,0.0],2] #>logical_count --columns[price_with_tax].flags "COLUMN_SCALAR" --columns[price_with_tax].stage "initial" --columns[price_with_tax].type "UInt32" --columns[price_with_tax].value "price * 1.08" --filter "price_with_tax > 550" --logical_table "Logs" --shard_key "timestamp" -#:000000000000000 filter(3) -#:000000000000000 filter(2) +#:000000000000000 filter(3): true +#:000000000000000 filter(2): 2147483650.price_with_tax greater 550 #:000000000000000 count(2) #<000000000000000 rc=0 Modified: test/command/suite/sharding/logical_range_filter/cache/columns/filtered.expected (+1 -1) =================================================================== --- test/command/suite/sharding/logical_range_filter/cache/columns/filtered.expected 2018-09-13 10:53:41 +0900 (5f3c323b9) +++ test/command/suite/sharding/logical_range_filter/cache/columns/filtered.expected 2018-09-13 13:04:27 +0900 (f53d13bf0) @@ -42,7 +42,7 @@ logical_range_filter Logs --shard_key timestamp --filter '_id > 1' --colum ] ] #>logical_range_filter --columns[price_with_tax].flags "COLUMN_SCALAR" --columns[price_with_tax].stage "filtered" --columns[price_with_tax].type "UInt32" --columns[price_with_tax].value "price * 1.08" --filter "_id > 1" --logical_table "Logs" --output_columns "price,price_with_tax" --shard_key "timestamp" -#:000000000000000 filter(2) +#:000000000000000 filter(2): #<accessor _id(Logs_20170315)> greater 1 #<000000000000000 rc=0 logical_range_filter Logs --shard_key timestamp --filter '_id > 1' --columns[price_with_tax].stage filtered --columns[price_with_tax].type UInt32 --columns[price_with_tax].flags COLUMN_SCALAR --columns[price_with_tax].value 'price * 1.08' --output_columns price,price_with_tax [ Modified: test/command/suite/sharding/logical_range_filter/cache/columns/initial.expected (+1 -1) =================================================================== --- test/command/suite/sharding/logical_range_filter/cache/columns/initial.expected 2018-09-13 10:53:41 +0900 (84658d0ad) +++ test/command/suite/sharding/logical_range_filter/cache/columns/initial.expected 2018-09-13 13:04:27 +0900 (a1acdc42b) @@ -46,7 +46,7 @@ logical_range_filter Logs --shard_key timestamp --columns[price_with_tax].st ] ] #>logical_range_filter --columns[price_with_tax].flags "COLUMN_SCALAR" --columns[price_with_tax].stage "initial" --columns[price_with_tax].type "UInt32" --columns[price_with_tax].value "price * 1.08" --logical_table "Logs" --output_columns "price,price_with_tax" --shard_key "timestamp" -#:000000000000000 filter(3) +#:000000000000000 filter(3): true #<000000000000000 rc=0 logical_range_filter Logs --shard_key timestamp --columns[price_with_tax].stage initial --columns[price_with_tax].type UInt32 --columns[price_with_tax].flags COLUMN_SCALAR --columns[price_with_tax].value 'price * 1.08' --output_columns price,price_with_tax [ Modified: test/command/suite/sharding/logical_select/cache/drilldowns/table.expected (+4 -4) =================================================================== --- test/command/suite/sharding/logical_select/cache/drilldowns/table.expected 2018-09-13 10:53:41 +0900 (dc846513b) +++ test/command/suite/sharding/logical_select/cache/drilldowns/table.expected 2018-09-13 13:04:27 +0900 (7a8372b24) @@ -158,8 +158,8 @@ logical_select Logs --shard_key timestamp --limit 0 --output_columns _id #:000000000000000 select(2)[Logs_20150203] #:000000000000000 select(3)[Logs_20150204] #:000000000000000 select(4)[Logs_20150205] -#:000000000000000 filter(1) -#:000000000000000 filter(2) +#:000000000000000 filter(1): #<accessor _key(anonymous)> match "Restart" +#:000000000000000 filter(2): #<accessor _key(anonymous)> match "Start" #:000000000000000 output(0) #:000000000000000 output.drilldowns(1) #:000000000000000 output.drilldowns(1) @@ -246,8 +246,8 @@ logical_select Logs --shard_key timestamp --limit 0 --output_columns _id #:000000000000000 select(2)[Logs_20150203] #:000000000000000 select(3)[Logs_20150204] #:000000000000000 select(4)[Logs_20150205] -#:000000000000000 filter(2) -#:000000000000000 filter(1) +#:000000000000000 filter(2): #<accessor _key(anonymous)> match "Start" +#:000000000000000 filter(1): #<accessor _key(anonymous)> match "Restart" #:000000000000000 output(0) #:000000000000000 output.drilldowns(2) #:000000000000000 output.drilldowns(1) Modified: test/command/suite/sharding/logical_select/columns/stage/filtered/filter.expected (+3 -3) =================================================================== --- test/command/suite/sharding/logical_select/columns/stage/filtered/filter.expected 2018-09-13 10:53:41 +0900 (f16f0627a) +++ test/command/suite/sharding/logical_select/columns/stage/filtered/filter.expected 2018-09-13 13:04:27 +0900 (c8e0672fb) @@ -91,11 +91,11 @@ logical_select Logs --shard_key timestamp --columns[filtered_id].stage filte ] ] #>logical_select --columns[filtered_id].flags "COLUMN_SCALAR" --columns[filtered_id].stage "filtered" --columns[filtered_id].type "UInt32" --columns[filtered_id].value "_id" --filter "price < 910" --logical_table "Logs" --output_columns "_id,filtered_id,price" --shard_key "timestamp" -#:000000000000000 filter(1) +#:000000000000000 filter(1): Logs_20170315.price less 910 #:000000000000000 select(1)[Logs_20170315] -#:000000000000000 filter(2) +#:000000000000000 filter(2): Logs_20170316.price less 910 #:000000000000000 select(2)[Logs_20170316] -#:000000000000000 filter(2) +#:000000000000000 filter(2): Logs_20170317.price less 910 #:000000000000000 select(2)[Logs_20170317] #:000000000000000 output(5) #<000000000000000 rc=0 -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180913/a3c36cb7/attachment-0001.htm