Title: [BUG] JSQLParser 5.4-SNAPSHOT : PostgreSQL : EXCLUDE TIES not supported in window function frame clause · Issue #2430 · JSQLParser/JSqlParser · GitHub
Open Graph Title: [BUG] JSQLParser 5.4-SNAPSHOT : PostgreSQL : EXCLUDE TIES not supported in window function frame clause · Issue #2430 · JSQLParser/JSqlParser
X Title: [BUG] JSQLParser 5.4-SNAPSHOT : PostgreSQL : EXCLUDE TIES not supported in window function frame clause · Issue #2430 · JSQLParser/JSqlParser
Description: Failing SQL Feature PostgreSQL EXCLUDE TIES frame exclusion clause used inside a window function's frame specification. PostgreSQL supports the SQL-standard frame_exclusion options on window function frames: EXCLUDE CURRENT ROW, EXCLUDE ...
Open Graph Description: Failing SQL Feature PostgreSQL EXCLUDE TIES frame exclusion clause used inside a window function's frame specification. PostgreSQL supports the SQL-standard frame_exclusion options on window functi...
X Description: Failing SQL Feature PostgreSQL EXCLUDE TIES frame exclusion clause used inside a window function's frame specification. PostgreSQL supports the SQL-standard frame_exclusion options on window fu...
Opengraph URL: https://github.com/JSQLParser/JSqlParser/issues/2430
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] JSQLParser 5.4-SNAPSHOT : PostgreSQL : EXCLUDE TIES not supported in window function frame clause","articleBody":" **Failing SQL Feature**\n \n PostgreSQL `EXCLUDE TIES` frame exclusion clause used inside a window function's frame specification.\n \n PostgreSQL supports the SQL-standard `frame_exclusion` options on window function frames: `EXCLUDE CURRENT ROW`, `EXCLUDE GROUP`, `EXCLUDE TIES`, and `EXCLUDE NO OTHERS`. `EXCLUDE TIES` excludes any peers of the current row from the frame,\n but keeps the current row itself. It is valid syntax in PostgreSQL and appears in analytical queries that need fine-grained control over window frame contents.\n\nDocs: https://www.postgresql.org/docs/current/sql-expressions.html\n \n **SQL Example**\n \n```\n CREATE TABLE sales (\n id SERIAL PRIMARY KEY,\n salesperson TEXT,\n amount INT\n );\n\n INSERT INTO sales (salesperson, amount) VALUES\n ('Alice', 100),\n ('Bob', 100),\n ('Carol', 200),\n ('Dave', 300);\n\n SELECT\n id,\n salesperson,\n amount,\n SUM(amount) OVER (\n ORDER BY amount\n RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n EXCLUDE TIES\n ) AS running_sum_exclude_ties\n FROM sales\n ORDER BY amount, id;\n\n```\n **Parsing error**\n\n`ParseException: Encountered: \u003cK_EXCLUDE\u003e / \"EXCLUDE\", at line 8, column 9, in lexical state DEFAULT.`","author":{"url":"https://github.com/tomershay","@type":"Person","name":"tomershay"},"datePublished":"2026-05-12T17:25:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2430/JSqlParser/issues/2430"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d4d2d867-926a-4107-a2a5-e94033b80b85 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B64C:296AF8:D051:11DBE:6A62E4B2 |
| html-safe-nonce | cddced67129de082aeb0ce9bc593db09257355d7596048ad2cd53baebb41d4bf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjRDOjI5NkFGODpEMDUxOjExREJFOjZBNjJFNEIyIiwidmlzaXRvcl9pZCI6IjI3NTAzMjc2NjQ2MzMxMTE3MzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0b28a5c9852772708dbe8d225f0804573f20dbf312b9b81b9376beeef3078280 |
| hovercard-subject-tag | issue:4431243275 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JSQLParser/JSqlParser/2430/issue_layout |
| twitter:image | https://opengraph.githubassets.com/84048f6d2ef5895f69d992ac795260d3401946a95bda985695978c8b9e0ed943/JSQLParser/JSqlParser/issues/2430 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/84048f6d2ef5895f69d992ac795260d3401946a95bda985695978c8b9e0ed943/JSQLParser/JSqlParser/issues/2430 |
| og:image:alt | Failing SQL Feature PostgreSQL EXCLUDE TIES frame exclusion clause used inside a window function's frame specification. PostgreSQL supports the SQL-standard frame_exclusion options on window functi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tomershay |
| hostname | github.com |
| expected-hostname | github.com |
| None | df33b1b61ee7b9a0af988199bfc3503c9c1acafb1f1d40e1f140ea7c84f890dd |
| turbo-cache-control | no-preview |
| go-import | github.com/JSQLParser/JSqlParser git https://github.com/JSQLParser/JSqlParser.git |
| octolytics-dimension-user_id | 4643847 |
| octolytics-dimension-user_login | JSQLParser |
| octolytics-dimension-repository_id | 1944709 |
| octolytics-dimension-repository_nwo | JSQLParser/JSqlParser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1944709 |
| octolytics-dimension-repository_network_root_nwo | JSQLParser/JSqlParser |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d41cd1bdb290013455c0ac430fa755621733f5eb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width