Skip to content

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

Closed

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;

Activity

  1. added a commit that references this issue on Nov 15, 2025
    64c0d55
  2. added a commit that references this issue on May 3, 2026
    5f89f8a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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