Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
11.8, 12.0(EOL), 12.1
-
None
-
Can result in unexpected behaviour
Description
CS 12.1.0 6a2afb42ba86188ccda0972f9c2df363f34e10a0 (Debug) Build 10/06/2025 |
12.1.0-dbg>CREATE TABLE t1(v VECTOR (16384) NOT NULL,VECTOR (v)) ENGINE=InnoDB;
|
ERROR 1074 (42000): Column length too big for column 'v' (max = 65532); use BLOB or TEXT instead
|
 |
12.1.0-dbg>CREATE TABLE t1(v VECTOR (16383) NOT NULL,VECTOR (v)) ENGINE=InnoDB;
|
Query OK, 0 rows affected (0.012 sec)
|
Besides the error, please also check if there is a off-by-one error, i.e. 16k=16384.
Also, https://mariadb.com/docs/server/reference/data-types/numeric-data-types/vector mentions 65532 as well.
Attachments
Issue Links
- is duplicated by
-
MDEV-35323 ER_TOO_BIG_FIELDLENGTH shows wrong maximum length for vector field
-
- Closed
-
-
MDEV-36680 Description of vector type says VECTOR([M])
-
- Closed
-
-
MDEV-37311 vectro size
-
- Closed
-