GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Failure to parse query with PRIOR in select list by hannes92 · Pull Request #2083 · JSQLParser/JSqlParser

Conversation

@hannes92

@hannes92 hannes92 commented Oct 2, 2024

Copy link
Copy Markdown
Contributor

Encountered a failure with parsing queries having PRIOR in the select list (select t.id, prior t.id as parent_id ...).
Thought I would give it a try and fix it myself, but this is my first encounter with AST:s and parser libs in general so do keep that in mind.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
hannes92 added 2 commits October 2, 2024 20:31
@hannes92
Added support for PRIOR operator to be used in select list
44b35f3
@hannes92
Fixed copy paste issue
310a1dd
@manticore-projects

manticore-projects commented Oct 2, 2024

Copy link
Copy Markdown
Contributor

Excellent work, very clean!
Thank you very much for your interest and contribution and we are looking for seeing more from you soon. Cheers!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@manticore-projects
manticore-projects merged commit 3046924 into JSQLParser:master Oct 2, 2024
manticore-projects added a commit that referenced this pull request Oct 3, 2024
@manticore-projects
fix: clean up minor issues around #2083
be8ff93
- `PRIOR` is a reserved keyword now

Signed-off-by: Andreas Reichel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@hannes92 @manticore-projects
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.