totalo commented on issue #10584: URL: https://github.com/apache/shardingsphere/issues/10584#issuecomment-858347080
> Hello @totalo > I found that this is still the problem of missing tables, please check whether there are `t_order ` and `t_order_item ` in database `demo_write_ds_0` and `demo_write_ds_1`. > > You can try create the tables and then test again. > > ``` > CREATE TABLE IF NOT EXISTS demo_write_ds_0.t_order (order_id BIGINT NOT NULL AUTO_INCREMENT, user_id INT NOT NULL, status VARCHAR(50), PRIMARY KEY (order_id)); > CREATE TABLE IF NOT EXISTS demo_write_ds_0.t_order_item (order_item_id BIGINT NOT NULL AUTO_INCREMENT, order_id BIGINT NOT NULL, user_id INT NOT NULL, status VARCHAR(50), PRIMARY KEY (order_item_id)); > > CREATE TABLE IF NOT EXISTS demo_write_ds_1.t_order (order_id BIGINT NOT NULL AUTO_INCREMENT, user_id INT NOT NULL, status VARCHAR(50), PRIMARY KEY (order_id)); > CREATE TABLE IF NOT EXISTS demo_write_ds_1.t_order_item (order_item_id BIGINT NOT NULL AUTO_INCREMENT, order_id BIGINT NOT NULL, user_id INT NOT NULL, status VARCHAR(50), PRIMARY KEY (order_item_id)); > ``` yes,I checked and found that it was because there was no table. thx -- 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. For queries about this service, please contact Infrastructure at: [email protected]
