gfphoenix78 opened a new issue, #1055:
URL: https://github.com/apache/cloudberry/issues/1055

   ### Apache Cloudberry version
   
   main branch, with cassert
   
   ### What happened
   
   ```sql
   set default_table_access_method = ao_column;
   create table t1();
   create index on t1 using btree ((1)); -- assert fail
   
   insert into t1 default values;
   select * from t1;
   
   delete from t1;
   select * from t1;
   
   insert into t1 default values;
   select * from t1;
   ```
   
   The above query will crash.
   
   ### What you think should happen instead
   
   The above query should has the same behavior as heap tables.
   
   ### How to reproduce
   
   ```sql
   set default_table_access_method = ao_column;
   create table t1();
   create index on t1 using btree ((1)); -- assert fail
   
   insert into t1 default values;
   select * from t1;
   
   delete from t1;
   select * from t1;
   
   insert into t1 default values;
   select * from t1;
   ```
   
   ### Operating System
   
   no spec
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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]

Reply via email to