INSERT INTO local SELECT .. FROM dist LIMIT .. is not pushing down the limit
Open
bug
dev_reported
- Dominant language
- C
- Stars
- 12.8k
- Forks
- 794
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 31
Description
We should be able to push down the limit when we are inserting into a local table from a distributed table. Currently it is not the case:
schema:
```sql
create table local(a int, b int);
create table dist(a int, b int);
SELECT create_distributed_table('dist','a');
```

Contributor guide
Assessment
This issue has not been assessed yet.