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:6027c6b4-ca84-7924-4abd-8308a970e27c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B37E:1B5BAE:4AC750:65282D:6A629B89 |
| html-safe-nonce | fd172f367dd80d0ab2f185522353b0cb590053a9c0a5aed90a66a728b17361b9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzdFOjFCNUJBRTo0QUM3NTA6NjUyODJEOjZBNjI5Qjg5IiwidmlzaXRvcl9pZCI6IjU1MjY1ODY0MjAxNjQyMDU0NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 964851e37bf03f9882fec7c0b23eb2871ef87c9179df99658f9cfe175462561e |
| 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 | a6443033349a18134b517627f043d4a59a5110337b879810c7229c2c7e28eda0 |
| 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 | d6c6cacbe32d3ddfd1796fbd1a39b8fb47b87daf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width