Skip to content

fix: default wildcard exclusions to EXCEPT - #2652

Open
jakezwang wants to merge 1 commit into
JSQLParser:masterfrom
jakezwang:fix/all-columns-except-keyword
Open

jakezwang wants to merge 1 commit into
JSQLParser:masterfrom
jakezwang:fix/all-columns-except-keyword

Conversation

@jakezwang

Copy link
Copy Markdown

Adding excluded columns to a new or parsed wildcard currently produces SQL such as SELECT * null( hidden ) FROM t. Use EXCEPT when no keyword was specified, preserving explicit EXCLUDE and existing keyword casing.

The regressions cover programmatic *, parsed * and t.*, including SQL rendering, deparsing and roundtrips. All three fail before the fix; empty/null exclusion lists and explicit keywords remain covered.

Validation on JDK17: mvn spotless:apply verify and ./gradlew check passed, including the full test suites and static checks. ./gradlew jmh completed the standard parser benchmarks.

@manticore-projects

Copy link
Copy Markdown
Contributor

Please resolve conflicts.

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.

2 participants