Skip to content

A parsing error that occurred on sqlite3 for NOT INDEXED expression. #6331

@VLDB2026

Description

@VLDB2026

Fully reproducible code snippet

When I'm trying to parse the query below, a ParseError occurs:

import sqlglot

query = "SELECT * FROM t1 NOT INDEXED;"
sqlglot.parse_one(query, read="sqlite")

error messages:

sqlglot.errors.ParseError: Invalid expression / Unexpected token. Line 1, Col: 20.
  SELECT * FROM t1 NOT INDEXED;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions