matrixone
matrixone copied to clipboard
[Bug]: create table ERROR when use primary key, column not exists in table
Is there an existing issue for the same bug?
- [X] I have checked the existing issues.
Environment
- Version or commit-id (e.g. v0.1.0 or 8b23a93):
- Hardware parameters:
- OS type:
- Others:
Actual Behavior
The problematic SQL stmt is : CREATE TABLE t( d INT, d1 BIGINT, d2 FLOAT, d3 DOUBLE, PRIMARY KEY (id) );
It's result : Query OK, 0 rows affected (0.01 sec)
But it should be ERROR : Key column 'id' doesn't exist in table.
Expected Behavior
No response
Steps to Reproduce
No response
Additional information
No response