avamingli opened a new issue, #1214:
URL: https://github.com/apache/cloudberry/issues/1214
### Apache Cloudberry version
main
### What happened
ERROR: Reader Gang execute ModifyTable node, some bugs must happen.
### What you think should happen instead
_No response_
### How to reproduce
```sql
CREATE TABLE t_w_cte(a integer);
EXPLAIN(analyze, COSTS OFF, VERBOSE) WITH ins AS (
INSERT INTO t_w_cte(a) VALUES (1), (2), (3)
RETURNING a
)
SELECT sum(a) INTO t_w_cte_1 FROM ins;
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column(s) named
'sum' as the Apache Cloudberry data distribution key for this table.
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make
sure column(s) chosen are the optimal data distribution key to minimize skew.
ERROR: Reader Gang execute ModifyTable node, some bugs must happen
(nodeModifyTable.c:2643) (seg0 slice2 127.0.1.1:9102 pid=2525007)
(nodeModifyTable.c:2643)
```
### Operating System
Ubuntu
### Anything else
_No response_
### Are you willing to submit PR?
- [x] Yes, I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of
Conduct](https://github.com/apache/cloudberry/blob/main/CODE_OF_CONDUCT.md).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]