Debian Codegraph @

test/command/suite/select/function/number/number_round/uint8.expected

raw
1 plugin_register functions/number
2 [[0,0.0,0.0],true]
3 table_create Data TABLE_NO_KEY
4 [[0,0.0,0.0],true]
5 column_create Data value COLUMN_SCALAR UInt8
6 [[0,0.0,0.0],true]
7 load --table Data
8 [
9 {"value": 11}
10 ]
11 [[0,0.0,0.0],1]
12 select Data --output_columns 'number_round(value)'
13 [[0,0.0,0.0],[[[1],[["number_round",null]],[11]]]]
14 select Data --output_columns 'number_round(value, -1)'
15 [[0,0.0,0.0],[[[1],[["number_round",null]],[10]]]]