phpmyadmin / phpmyadmin/sql-parser
Unrecognized data type. (near VECTOR)
Open
Nobody has claimed this yet.
bug
kind/support
- Dominant language
- PHP
- Stars
- 485
- Forks
- 119
- PR merge metrics
- No merged PRs in 30d
Description
CREATE TABLE t1 (id INT AUTO_INCREMENT PRIMARY KEY, v VECTOR(5) NOT NULL,
VECTOR INDEX (v));
Unrecognized data type. (near VECTOR)
Unrecognized data type. (near INDEX)
MariaDB >= 11.7.1
MySQL >= 9.0.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by reproducing the supplied CREATE TABLE statement through the SQL parser and locate the MySQL/MariaDB data-type and index parsing entry points. Done means VECTOR(5) and VECTOR INDEX are accepted without the reported errors, with regression coverage added where the existing parser tests belong.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mariadb, mysql, php, sql
- Domain
- databases, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100