This commit is contained in:
2026-06-24 13:47:14 +02:00
commit fd930e15cb
2377 changed files with 1213931 additions and 0 deletions
@@ -0,0 +1,52 @@
## Summary
<!--Explain briefly what goes wrong and explain why you believe this is a bug and not the intended behavior of SQLite (if it is not a crash).-->**No review yet**
## Minimized query
```sql
PRAGMA temp_store = '0';
-- .log ON
.explain auto
PRAGMA query_only = OFF;
ATTACH DATABASE ':memory:' AS aux18;
.log ON
PRAGMA /**/ legacy_alter_table = ON;
CREATE TABLE [T] (
a TEXT,
b INTEGER,
c REAL
);
INSERT INTO T VALUES ('a',NULL,jsonb_group_array(hex('hello'))), ('a',substr(julianday(CAST(-x'' AS BLOB)), -(-(1))),-3.0), ('b',1,4.5);
SELECT a,b,c,
SUM(c) OVER (
PARTITION BY a
ORDER BY b
) AS d
FROM T;
SELECT * FROM T AS a RIGHT OUTER JOIN T AS b ON a.rowid = b.rowid;
SELECT b, (SELECT AVG(b) FROM T) AS avg_val FROM T;
SELECT CUME_DIST() OVER (PARTITION BY a ORDER BY a RANGE BETWEEN 1 PRECEDING AND 1 FOLLOWING) FROM T;
DETACH DATABASE aux18;
```
## Actual output
```sql
Parse error near line 14: no such function: jsonb_group_array
INSERT INTO T VALUES ('a',NULL,jsonb_group_array(hex('hello'))), ('a',substr(j
error here ---^
```
## Expectation
```sql
```
## Flag
```
```