dolthub / dolthub/dolt

support subquery in aggregate syntax

Open
#7,857 0 comments 0 reactions 1 assignee Claimed by @zachmu View on GitHub
bug correctness good repro parser
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 5h
Merged PRs (30d)
108

Description

This parses in MySQL, but throws syntax error in dolt.
```sql
mysql> create table t (i int);
Query OK, 0 rows affected (0.0241 sec)

mysql> insert into t values (1);
Query OK, 0 rows affected (0.0141 sec)

mysql> select i, i = any(select 1) from t;
+---+--------------------+
| i | i = some(select 1) |
+---+--------------------+
| 1 | 1 |
+---+--------------------+
1 row in set (0.0006 sec)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.