test/command/suite/select/columns/dependency/window_sort_keys.expected
raw| 1 | table_create Logs TABLE_HASH_KEY ShortText |
| 2 | [[0,0.0,0.0],true] |
| 3 | load --table Logs |
| 4 | [ |
| 5 | {"_key": "log-1"}, |
| 6 | {"_key": "log-2"}, |
| 7 | {"_key": "log-3"} |
| 8 | ] |
| 9 | [[0,0.0,0.0],3] |
| 10 | select Logs --columns[a].flags "COLUMN_SCALAR" --columns[a].stage "initial" --columns[a].type "UInt32" --columns[a].value "window_record_number()" --columns[a].window.sort_keys "b" --columns[b].flags "COLUMN_SCALAR" --columns[b].stage "initial" --columns[b].type "UInt32" --columns[b].value "_id" |
| 11 | [ |
| 12 | [ |
| 13 | 0, |
| 14 | 0.0, |
| 15 | 0.0 |
| 16 | ], |
| 17 | [ |
| 18 | [ |
| 19 | [ |
| 20 | 3 |
| 21 | ], |
| 22 | [ |
| 23 | [ |
| 24 | "_id", |
| 25 | "UInt32" |
| 26 | ], |
| 27 | [ |
| 28 | "_key", |
| 29 | "ShortText" |
| 30 | ], |
| 31 | [ |
| 32 | "a", |
| 33 | "UInt32" |
| 34 | ], |
| 35 | [ |
| 36 | "b", |
| 37 | "UInt32" |
| 38 | ] |
| 39 | ], |
| 40 | [ |
| 41 | 1, |
| 42 | "log-1", |
| 43 | 1, |
| 44 | 1 |
| 45 | ], |
| 46 | [ |
| 47 | 2, |
| 48 | "log-2", |
| 49 | 2, |
| 50 | 2 |
| 51 | ], |
| 52 | [ |
| 53 | 3, |
| 54 | "log-3", |
| 55 | 3, |
| 56 | 3 |
| 57 | ] |
| 58 | ] |
| 59 | ] |
| 60 | ] |