Commit d3b3f8b
Delegate SQLQueryView string-like columns to column_as_string
The view duplicated the Enum8/Enum16 name resolution and UUID formatting
that column_as_string already does for the interpreter readers. Teach
column_as_string to format UUID too and fold the view's String,
LowCardinality(String), Enum8/16 and UUID arms into one fallback that
calls it. Unsupported types now surface an error from the String read
instead of unreachable!() panicking the TUI.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 189621f commit d3b3f8b
2 files changed
Lines changed: 12 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
13 | | - | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
230 | 233 | | |
231 | 234 | | |
232 | 235 | | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | 236 | | |
259 | 237 | | |
260 | 238 | | |
| |||
270 | 248 | | |
271 | 249 | | |
272 | 250 | | |
273 | | - | |
| 251 | + | |
| 252 | + | |
274 | 253 | | |
275 | 254 | | |
276 | 255 | | |
| |||
0 commit comments