greenlion / warp

WarpSQL Server, an open source OLAP focused distribution of the world's most popular open source database bundled with OLAP performance related plugins such as the WARP storage engine..
http://warpsql.blog
Other
41 stars 2 forks source link

WARP allows for the creation of PRIMARY KEY but doesn't support querying them #64

Closed greenlion closed 2 years ago

greenlion commented 3 years ago
CREATE TABLE `employees` (
  `id` int NOT NULL,
  `fname` varchar(30) DEFAULT NULL,
  `lname` varchar(30) DEFAULT NULL,
  `hired` date NOT NULL DEFAULT '1970-01-01',
  `separated` date DEFAULT NULL,
  `job_code` char(3) NOT NULL,
  `store_id` int NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=WARP DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
mysql> select * from employees where id = 1;
ERROR 1031 (HY000): Table storage engine for 'employees' doesn't have this option
2020-09-15T09:52:23.640398Z 15 [ERROR] [MY-010211] [Server] Got error 131 when reading table './warp/employees'
greenlion commented 2 years ago

fixed in 8.0 branch