René's URL Explorer Experiment


Title: [BUG] JSQLParser 5.3 : MySQL : Encountered unexpected token: "as" "AS" · Issue #2336 · JSQLParser/JSqlParser · GitHub

Open Graph Title: [BUG] JSQLParser 5.3 : MySQL : Encountered unexpected token: "as" "AS" · Issue #2336 · JSQLParser/JSqlParser

X Title: [BUG] JSQLParser 5.3 : MySQL : Encountered unexpected token: "as" "AS" · Issue #2336 · JSQLParser/JSqlParser

Description: Always check against the Latest SNAPSHOT of JSQLParser and the Syntax Diagram Failing SQL Feature: Encountered unexpected token: "as" "AS" SQL Example: ```sql insert into xxx(a, b, c) values (?, ?, ?) as x on duplicate key update a=?,b=?...

Open Graph Description: Always check against the Latest SNAPSHOT of JSQLParser and the Syntax Diagram Failing SQL Feature: Encountered unexpected token: "as" "AS" SQL Example: ```sql insert into xxx(a, b, c) values (?, ?,...

X Description: Always check against the Latest SNAPSHOT of JSQLParser and the Syntax Diagram Failing SQL Feature: Encountered unexpected token: "as" "AS" SQL Example: ```sql insert into xxx(a,...

Opengraph URL: https://github.com/JSQLParser/JSqlParser/issues/2336

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] JSQLParser 5.3 : MySQL : Encountered unexpected token: \"as\" \"AS\"","articleBody":"Always check against the **Latest SNAPSHOT of JSQLParser** and the [Syntax Diagram](https://jsqlparser.github.io/JSqlParser/syntax_snapshot.html)\n\n### Failing SQL Feature:\n- Encountered unexpected token: \"as\" \"AS\"\n\n### SQL Example:\n    ```sql\n    insert into xxx(a, b, c) values (?, ?, ?) as x on duplicate key update a=?,b=?,c=?\n    ```\n\n### Software Information:\n- JSqlParser 5.3\n- Database MySQL\n\n### Tips:\n```\nnet.sf.jsqlparser.JSQLParserException: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: \"as\" \"AS\"\n    at line 1, column 43.\n\nWas expecting one of:\n\n    \"ON\"\n    \"RETURN\"\n    \"RETURNING\"\n    \u003cEOF\u003e\n    \u003cST_SEMICOLON\u003e\n\n\n\tat net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatements(CCJSqlParserUtil.java:444)\n\tat net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatements(CCJSqlParserUtil.java:414)\n\tat cn.jumiao.infra.service.Test.test(Test.java:15)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:568)\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\n\tat org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\n\tat org.junit.runner.JUnitCore.run(JUnitCore.java:137)\n\tat com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)\n\tat com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)\n\tat com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)\n\tat com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)\n\tat com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:237)\n\tat com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:58)\nCaused by: java.util.concurrent.ExecutionException: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: \"as\" \"AS\"\n    at line 1, column 43.\n\nWas expecting one of:\n\n    \"ON\"\n    \"RETURN\"\n    \"RETURNING\"\n    \u003cEOF\u003e\n    \u003cST_SEMICOLON\u003e\n\n\tat java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)\n\tat java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205)\n\tat net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatements(CCJSqlParserUtil.java:437)\n\t... 29 more\nCaused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: \"as\" \"AS\"\n    at line 1, column 43.\n\nWas expecting one of:\n\n    \"ON\"\n    \"RETURN\"\n    \"RETURNING\"\n    \u003cEOF\u003e\n    \u003cST_SEMICOLON\u003e\n\n\tat net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:53111)\n\tat net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:52929)\n\tat net.sf.jsqlparser.parser.CCJSqlParser.Statements(CCJSqlParser.java:1172)\n\tat net.sf.jsqlparser.parser.CCJSqlParserUtil$2.call(CCJSqlParserUtil.java:433)\n\tat net.sf.jsqlparser.parser.CCJSqlParserUtil$2.call(CCJSqlParserUtil.java:430)\n\tat java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java)\n\tat --- Async.Stack.Trace --- (captured by IntelliJ IDEA debugger)\n\tat java.base/java.util.concurrent.FutureTask.\u003cinit\u003e(FutureTask.java:132)\n\tat java.base/java.util.concurrent.AbstractExecutorService.newTaskFor(AbstractExecutorService.java:113)\n\tat java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:144)\n\tat net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatements(CCJSqlParserUtil.java:430)\n\t... 29 more\n\n```","author":{"url":"https://github.com/okou19900722","@type":"Person","name":"okou19900722"},"datePublished":"2025-11-03T14:01:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2336/JSqlParser/issues/2336"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:44a4df0a-3019-f15d-0e0e-247528db7810
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA9A2:36D1F1:173B749:1F3A94B:6964AB67
html-safe-noncea84f665268550d6b4bbb69c8ba80ff9f4755a41c10d9861bb0f7301541e5d08a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUEyOjM2RDFGMToxNzNCNzQ5OjFGM0E5NEI6Njk2NEFCNjciLCJ2aXNpdG9yX2lkIjoiMzk5NjUxODgyMDc1NzE1NDY2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac974ca47974a45b9864c361a326b91882b31b3d47c70010985fa91b93d94839ef
hovercard-subject-tagissue:3582209426
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JSQLParser/JSqlParser/2336/issue_layout
twitter:imagehttps://opengraph.githubassets.com/74667de5dc85d491f129ad8b6af5915d0ecbcea4c666133b2d287b9fbb8ed482/JSQLParser/JSqlParser/issues/2336
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/74667de5dc85d491f129ad8b6af5915d0ecbcea4c666133b2d287b9fbb8ed482/JSQLParser/JSqlParser/issues/2336
og:image:altAlways check against the Latest SNAPSHOT of JSQLParser and the Syntax Diagram Failing SQL Feature: Encountered unexpected token: "as" "AS" SQL Example: ```sql insert into xxx(a, b, c) values (?, ?,...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameokou19900722
hostnamegithub.com
expected-hostnamegithub.com
None15579c46431b7fd25941c3b09010f74fd1890c7a35226839bbbf40ce70fb3057
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release499abb347cb197601d399c346cfeb4b3fa135d5c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JSQLParser/JSqlParser/issues/2336#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJSQLParser%2FJSqlParser%2Fissues%2F2336
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJSQLParser%2FJSqlParser%2Fissues%2F2336
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=JSQLParser%2FJSqlParser
Reloadhttps://github.com/JSQLParser/JSqlParser/issues/2336
Reloadhttps://github.com/JSQLParser/JSqlParser/issues/2336
Reloadhttps://github.com/JSQLParser/JSqlParser/issues/2336
JSQLParser https://github.com/JSQLParser
JSqlParserhttps://github.com/JSQLParser/JSqlParser
Please reload this pagehttps://github.com/JSQLParser/JSqlParser/issues/2336
Notifications https://github.com/login?return_to=%2FJSQLParser%2FJSqlParser
Fork 1.4k https://github.com/login?return_to=%2FJSQLParser%2FJSqlParser
Star 5.9k https://github.com/login?return_to=%2FJSQLParser%2FJSqlParser
Code https://github.com/JSQLParser/JSqlParser
Issues 102 https://github.com/JSQLParser/JSqlParser/issues
Pull requests 5 https://github.com/JSQLParser/JSqlParser/pulls
Discussions https://github.com/JSQLParser/JSqlParser/discussions
Actions https://github.com/JSQLParser/JSqlParser/actions
Projects 0 https://github.com/JSQLParser/JSqlParser/projects
Wiki https://github.com/JSQLParser/JSqlParser/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/JSQLParser/JSqlParser/security
Please reload this pagehttps://github.com/JSQLParser/JSqlParser/issues/2336
Insights https://github.com/JSQLParser/JSqlParser/pulse
Code https://github.com/JSQLParser/JSqlParser
Issues https://github.com/JSQLParser/JSqlParser/issues
Pull requests https://github.com/JSQLParser/JSqlParser/pulls
Discussions https://github.com/JSQLParser/JSqlParser/discussions
Actions https://github.com/JSQLParser/JSqlParser/actions
Projects https://github.com/JSQLParser/JSqlParser/projects
Wiki https://github.com/JSQLParser/JSqlParser/wiki
Security https://github.com/JSQLParser/JSqlParser/security
Insights https://github.com/JSQLParser/JSqlParser/pulse
New issuehttps://github.com/login?return_to=https://github.com/JSQLParser/JSqlParser/issues/2336
New issuehttps://github.com/login?return_to=https://github.com/JSQLParser/JSqlParser/issues/2336
Featurehttps://github.com/JSQLParser/JSqlParser/issues?q=type:"Feature"
[BUG] JSQLParser 5.3 : MySQL : Encountered unexpected token: "as" "AS"https://github.com/JSQLParser/JSqlParser/issues/2336#top
MySQLMySQL specific issuehttps://github.com/JSQLParser/JSqlParser/issues?q=state%3Aopen%20label%3A%22MySQL%22
Sponsor neededhttps://github.com/JSQLParser/JSqlParser/issues?q=state%3Aopen%20label%3A%22Sponsor%20needed%22
improvementhttps://github.com/JSQLParser/JSqlParser/issues?q=state%3Aopen%20label%3A%22improvement%22
https://github.com/okou19900722
https://github.com/okou19900722
okou19900722https://github.com/okou19900722
on Nov 3, 2025https://github.com/JSQLParser/JSqlParser/issues/2336#issue-3582209426
Syntax Diagramhttps://jsqlparser.github.io/JSqlParser/syntax_snapshot.html
MySQLMySQL specific issuehttps://github.com/JSQLParser/JSqlParser/issues?q=state%3Aopen%20label%3A%22MySQL%22
Sponsor neededhttps://github.com/JSQLParser/JSqlParser/issues?q=state%3Aopen%20label%3A%22Sponsor%20needed%22
improvementhttps://github.com/JSQLParser/JSqlParser/issues?q=state%3Aopen%20label%3A%22improvement%22
Featurehttps://github.com/JSQLParser/JSqlParser/issues?q=type:"Feature"
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.