Skip to content

Allow TIMEOUT as non-reserved keyword and identifier (#2260) - #3083

Open
leolalopeslobo wants to merge 4 commits into
AlaSQL:mainfrom
leolalopeslobo:fix/2260-timeout-keyword
Open

leolalopeslobo wants to merge 4 commits into
AlaSQL:mainfrom
leolalopeslobo:fix/2260-timeout-keyword

Conversation

@leolalopeslobo

Copy link
Copy Markdown

Resolves #2260

Description

Allows the TIMEOUT keyword to be used as a non-reserved keyword and identifier (e.g., column names, table names, aliases, and JSON properties) without syntax errors.

Changes

  • Added TIMEOUT to Literal, NonReserved, and the nonReserved list in src/alasqlparser.jison.
  • Regenerated src/alasqlparser.js using yarn jison.
  • Added unit tests in test/test2260.js covering table names, column names, aliases, WHERE, ORDER BY, GROUP BY, UPDATE, DELETE, JOIN, JSON arrow access, and bracket-quoted identifiers.
  • Formatted with yarn format and passed all formatting and unit tests.

@leolalopeslobo
leolalopeslobo force-pushed the fix/2260-timeout-keyword branch from 48854c2 to 9ba0d05 Compare November 18, 2026 14:58
@leolalopeslobo
leolalopeslobo changed the base branch from develop to main November 25, 2026 03:27
@leolalopeslobo
leolalopeslobo force-pushed the fix/2260-timeout-keyword branch from 9ba0d05 to 9a2c2a3 Compare November 25, 2026 07:04
@mathiasrw mathiasrw added this to the v4.x Focus milestone Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Limit the impact of using the keyword: TIMEOUT

2 participants