My question concerns the behavior seen in the following code (inserted in a Framework markdown file):
```sql id=[test]
create table tbl (a varchar, b integer);
insert into tbl (a, b) values ('a', 31);
insert into tbl (a, b) values ('aa', 42);
select sum(b) as x from tbl;
\```
```js
display(test.x)
\```
${test.x}
(I backslash-escaped some triple-backquotes to not break the formatting).
For some reason test.x
displays as Yt(4) [292, 0, 0, 0]
(some array-like object?), so the output of ${test.x}
gets three extra zeros appended.
This does not happen with other aggregate functions.
WTF?