phpmyadmin / phpmyadmin/sql-parser

Unrecognized data type. (near VECTOR)

Open
#641 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.