Here’s the table build statement, and insert
statement I used.
After successfully creating the table, it took a long time to execute using the insert
statement without success.
Please help me to see what is the problem.
CREATE TABLE orders1 (
order_id bigint NOT NULL,
user_id INT NOT NULL,
good_id INT NOT NULL,
cnt int NOT NULL,
revenue int NOT NULL
)
PRIMARY KEY (order_id)
DISTRIBUTED BY HASH (order_id)
PROPERTIES (
"enable_persistent_index" = "true"
);
insert into orders1 values(1, 2, 3, 4, 5);
Below is a screenshot of my starrocks operation using dbeaver
.