René's URL Explorer Experiment


Title: fix: deparse casts to single-field row types by PHJ2000 · Pull Request #2757 · JSQLParser/JSqlParser · GitHub

Open Graph Title: fix: deparse casts to single-field row types by PHJ2000 · Pull Request #2757 · JSQLParser/JSqlParser

X Title: fix: deparse casts to single-field row types by PHJ2000 · Pull Request #2757 · JSQLParser/JSqlParser

Description: SELECT CAST(ROW(1) AS ROW(x BIGINT)) parses successfully, but toString() and StatementDeParser both dereference a null scalar type instead of rendering the one-element row definition. Treat any nonempty columnDefinitions list as a row target in both serializers. Add a regression that checks the parsed field metadata and independently exercises both serialization paths, plus a TRY_CAST round trip. Existing multi-field and scalar cast coverage remains in the same test class. Validation: the new regression fails on unmodified master with both NPEs; the same query also fails with the released 5.4 artifact. mvn verify completed the full suite (9,525 tests, 0 failures/errors, 25 skipped), PMD and Checkstyle. The subsequent spotless:check requested import sorting in the two touched production files; mvn spotless:apply spotless:check then passed. Fixes #2756.

Open Graph Description: SELECT CAST(ROW(1) AS ROW(x BIGINT)) parses successfully, but toString() and StatementDeParser both dereference a null scalar type instead of rendering the one-element row definition. Treat any non...

X Description: SELECT CAST(ROW(1) AS ROW(x BIGINT)) parses successfully, but toString() and StatementDeParser both dereference a null scalar type instead of rendering the one-element row definition. Treat any non...

Opengraph URL: https://github.com/JSQLParser/JSqlParser/pull/2757

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c857599b-b320-63c4-4487-17a32ec7dce3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id858E:2CC3B4:802A7B:A93143:6AFBD029
html-safe-nonce624c27e817ded66852edf5ea051607edc77127c878aacf937581e368bba60ad1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NThFOjJDQzNCNDo4MDJBN0I6QTkzMTQzOjZBRkJEMDI5IiwidmlzaXRvcl9pZCI6IjQxOTU0MjQxODkzOTUyMjY2NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3bd3ec378e8d0b0312252d913c77f869de54ae79a3967d3e74d32cbfc8711f30
hovercard-subject-tagpull_request:4736105462
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/JSQLParser/JSqlParser/pull/2757/files
twitter:imagehttps://avatars.githubusercontent.com/u/105151063?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/105151063?s=400&v=4
og:image:altSELECT CAST(ROW(1) AS ROW(x BIGINT)) parses successfully, but toString() and StatementDeParser both dereference a null scalar type instead of rendering the one-element row definition. Treat any non...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/JSQLParser/JSqlParser git https://github.com/JSQLParser/JSqlParser.git
octolytics-dimension-user_id4643847
octolytics-dimension-user_loginJSQLParser
octolytics-dimension-repository_id1944709
octolytics-dimension-repository_nwoJSQLParser/JSqlParser
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1944709
octolytics-dimension-repository_network_root_nwoJSQLParser/JSqlParser
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release820be804f18e1ef3940bd74a00d41d73d02e2b91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JSQLParser/JSqlParser/pull/2757/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJSQLParser%2FJSqlParser%2Fpull%2F2757%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJSQLParser%2FJSqlParser%2Fpull%2F2757%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=JSQLParser%2FJSqlParser
Reloadhttps://github.com/JSQLParser/JSqlParser/pull/2757/files
Reloadhttps://github.com/JSQLParser/JSqlParser/pull/2757/files
Reloadhttps://github.com/JSQLParser/JSqlParser/pull/2757/files
JSQLParserhttps://github.com/JSQLParser
JSqlParserhttps://github.com/JSQLParser/JSqlParser
Codehttps://github.com/JSQLParser/JSqlParser
Issues4 (4)https://github.com/JSQLParser/JSqlParser/issues
Pull requests2 (2)https://github.com/JSQLParser/JSqlParser/pulls
Discussionshttps://github.com/JSQLParser/JSqlParser/discussions
Actionshttps://github.com/JSQLParser/JSqlParser/actions
Projectshttps://github.com/JSQLParser/JSqlParser/projects
Wikihttps://github.com/JSQLParser/JSqlParser/wiki
Security and qualityhttps://github.com/JSQLParser/JSqlParser/security
Insightshttps://github.com/JSQLParser/JSqlParser/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FJSQLParser%2FJSqlParser%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FJSQLParser%2FJSqlParser%2Fissues%2Fnew%2Fchoose
manticore-projectshttps://github.com/manticore-projects
JSQLParser:masterhttps://github.com/JSQLParser/JSqlParser/tree/master
PHJ2000:fix-single-field-row-castshttps://github.com/PHJ2000/JSqlParser/tree/fix-single-field-row-casts
Conversation 1 https://github.com/JSQLParser/JSqlParser/pull/2757
Commits 1 https://github.com/JSQLParser/JSqlParser/pull/2757/commits
Checks 10 https://github.com/JSQLParser/JSqlParser/pull/2757/checks
Files changed https://github.com/JSQLParser/JSqlParser/pull/2757/files
Please reload this pagehttps://github.com/JSQLParser/JSqlParser/pull/2757/files
fix: deparse casts to single-field row types https://github.com/JSQLParser/JSqlParser/pull/2757/files#top
Show all changes 1 commit https://github.com/JSQLParser/JSqlParser/pull/2757/files
0ce3837 fix: deparse casts to single-field row types PHJ2000 Oct 4, 2026 https://github.com/JSQLParser/JSqlParser/pull/2757/commits/0ce3837ab8552d33fbb4edcd84a1b4d45f1de84b
Clear filters https://github.com/JSQLParser/JSqlParser/pull/2757/files
Please reload this pagehttps://github.com/JSQLParser/JSqlParser/pull/2757/files
Please reload this pagehttps://github.com/JSQLParser/JSqlParser/pull/2757/files
CastExpression.java https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-d4c5e86891149323f16b617c06eef1a15f048eebd2c0ece912d7726cd122ebd2
ExpressionDeParser.java https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-1ce55172b9d695a35ec4bae38258bacd8087d9c367f59a808c6dd6de1c3f905e
CastExpressionTest.java https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-19274aad8cc1fa1a1a23cfefc4f6bd699353416d7a7cae4e9e913ce0028912b7
src/main/java/net/sf/jsqlparser/expression/CastExpression.javahttps://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-d4c5e86891149323f16b617c06eef1a15f048eebd2c0ece912d7726cd122ebd2
View file https://github.com/PHJ2000/JSqlParser/blob/0ce3837ab8552d33fbb4edcd84a1b4d45f1de84b/src/main/java/net/sf/jsqlparser/expression/CastExpression.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JSQLParser/JSqlParser/pull/2757/{{ revealButtonHref }}
https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-d4c5e86891149323f16b617c06eef1a15f048eebd2c0ece912d7726cd122ebd2
https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-d4c5e86891149323f16b617c06eef1a15f048eebd2c0ece912d7726cd122ebd2
https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-d4c5e86891149323f16b617c06eef1a15f048eebd2c0ece912d7726cd122ebd2
https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-d4c5e86891149323f16b617c06eef1a15f048eebd2c0ece912d7726cd122ebd2
src/main/java/net/sf/jsqlparser/util/deparser/ExpressionDeParser.javahttps://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-1ce55172b9d695a35ec4bae38258bacd8087d9c367f59a808c6dd6de1c3f905e
View file https://github.com/PHJ2000/JSqlParser/blob/0ce3837ab8552d33fbb4edcd84a1b4d45f1de84b/src/main/java/net/sf/jsqlparser/util/deparser/ExpressionDeParser.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JSQLParser/JSqlParser/pull/2757/{{ revealButtonHref }}
https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-1ce55172b9d695a35ec4bae38258bacd8087d9c367f59a808c6dd6de1c3f905e
https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-1ce55172b9d695a35ec4bae38258bacd8087d9c367f59a808c6dd6de1c3f905e
https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-1ce55172b9d695a35ec4bae38258bacd8087d9c367f59a808c6dd6de1c3f905e
https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-1ce55172b9d695a35ec4bae38258bacd8087d9c367f59a808c6dd6de1c3f905e
https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-1ce55172b9d695a35ec4bae38258bacd8087d9c367f59a808c6dd6de1c3f905e
https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-1ce55172b9d695a35ec4bae38258bacd8087d9c367f59a808c6dd6de1c3f905e
https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-1ce55172b9d695a35ec4bae38258bacd8087d9c367f59a808c6dd6de1c3f905e
https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-1ce55172b9d695a35ec4bae38258bacd8087d9c367f59a808c6dd6de1c3f905e
https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-1ce55172b9d695a35ec4bae38258bacd8087d9c367f59a808c6dd6de1c3f905e
src/test/java/net/sf/jsqlparser/expression/CastExpressionTest.javahttps://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-19274aad8cc1fa1a1a23cfefc4f6bd699353416d7a7cae4e9e913ce0028912b7
View file https://github.com/PHJ2000/JSqlParser/blob/0ce3837ab8552d33fbb4edcd84a1b4d45f1de84b/src/test/java/net/sf/jsqlparser/expression/CastExpressionTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JSQLParser/JSqlParser/pull/2757/{{ revealButtonHref }}
https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-19274aad8cc1fa1a1a23cfefc4f6bd699353416d7a7cae4e9e913ce0028912b7
https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-19274aad8cc1fa1a1a23cfefc4f6bd699353416d7a7cae4e9e913ce0028912b7
https://github.com/JSQLParser/JSqlParser/pull/2757/files#diff-19274aad8cc1fa1a1a23cfefc4f6bd699353416d7a7cae4e9e913ce0028912b7
Please reload this pagehttps://github.com/JSQLParser/JSqlParser/pull/2757/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.