---
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
## 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
|
||||
CREATE TABLE T (
|
||||
a TEXT,
|
||||
b REAL
|
||||
);
|
||||
INSERT INTO T VALUES ('a',jsonb_array()), ('b',-nullif(NULL, NULL)), ('c',9e999);
|
||||
SELECT a,b,
|
||||
LEAD(b,1) OVER (ORDER BY b DESC) AS c,
|
||||
NTILE(2) OVER (ORDER BY b DESC) AS d FROM T;
|
||||
INSERT OR ROLLBACK INTO T VALUES (NULL, '');
|
||||
SELECT AVG(a) FROM T;
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS idx_T_1267 ON T(b) WHERE b > 0;
|
||||
CREATE INDEX IF NOT EXISTS idx_T_1060 ON T(a) WHERE a IS NOT NULL;
|
||||
```
|
||||
|
||||
## Actual output
|
||||
|
||||
```sql
|
||||
Parse error near line 5: no such function: jsonb_array
|
||||
INSERT INTO T VALUES ('a',jsonb_array()), ('b',-nullif(NULL, NULL)), ('c',9e99
|
||||
error here ---^
|
||||
```
|
||||
|
||||
## Expectation
|
||||
|
||||
```sql
|
||||
|
||||
```
|
||||
|
||||
## Flag
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user