Title: [BUG] JSQLParser 5.4-SNAPSHOT : MySQL : PROCEDURE ANALYSE() not supported in SELECT statements · Issue #2428 · JSQLParser/JSqlParser · GitHub
Open Graph Title: [BUG] JSQLParser 5.4-SNAPSHOT : MySQL : PROCEDURE ANALYSE() not supported in SELECT statements · Issue #2428 · JSQLParser/JSqlParser
X Title: [BUG] JSQLParser 5.4-SNAPSHOT : MySQL : PROCEDURE ANALYSE() not supported in SELECT statements · Issue #2428 · JSQLParser/JSqlParser
Description: Failing SQL Feature MySQL PROCEDURE ANALYSE() clause used in SELECT statements. MySQL (notably in older versions such as 5.5) supports PROCEDURE ANALYSE() as a query modifier that analyzes a result set and suggests optimal column types a...
Open Graph Description: Failing SQL Feature MySQL PROCEDURE ANALYSE() clause used in SELECT statements. MySQL (notably in older versions such as 5.5) supports PROCEDURE ANALYSE() as a query modifier that analyzes a result...
X Description: Failing SQL Feature MySQL PROCEDURE ANALYSE() clause used in SELECT statements. MySQL (notably in older versions such as 5.5) supports PROCEDURE ANALYSE() as a query modifier that analyzes a result...
Opengraph URL: https://github.com/JSQLParser/JSqlParser/issues/2428
X: @github
Domain: Github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] JSQLParser 5.4-SNAPSHOT : MySQL : PROCEDURE ANALYSE() not supported in SELECT statements","articleBody":"### Failing SQL Feature\nMySQL `PROCEDURE ANALYSE()` clause used in `SELECT` statements.\n\nMySQL (notably in older versions such as 5.5) supports `PROCEDURE ANALYSE()` as a query modifier that analyzes a result set and suggests optimal column types and sizes. It is appended directly to a `SELECT` statement and returns metadata instead of modifying data.\n\nAlthough seems to be deprecated and removed in modern MySQL versions, it is still valid syntax in legacy mysql databases and may appear in migration scenarios or older production systems.\n\n### SQL Example\n```sql\nCREATE TABLE heavy_table (\n id INT AUTO_INCREMENT PRIMARY KEY,\n col1 INT,\n col2 VARCHAR(50)\n);\n\nINSERT INTO heavy_table (col1, col2) VALUES\n(10, 'alpha'),\n(20, 'beta'),\n(10, 'gamma');\n\nSELECT col1, col2\nFROM heavy_table\nPROCEDURE ANALYSE(10, 256);\n```\n\n### Parsing error\n`ParseException: Encountered: \u003cS_IDENTIFIER\u003e / \"ANALYSE\", at line 1, column 46, in lexical state DEFAULT.`","author":{"url":"https://github.com/tomershay","@type":"Person","name":"tomershay"},"datePublished":"2026-04-13T18:01:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2428/JSqlParser/issues/2428"}
| 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:fa0d5fd6-afe4-5206-d6c7-187dfddd637e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A66E:13B657:15AFD45:1D87C7E:6A62B431 |
| html-safe-nonce | d957326426e0c40f36eb5caeb1ba16c95a28d5649721db90b1f08a8efa08d849 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjZFOjEzQjY1NzoxNUFGRDQ1OjFEODdDN0U6NkE2MkI0MzEiLCJ2aXNpdG9yX2lkIjoiMzc2NDI5MjAwOTI1MzMxOTcyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 59b7f28d9547f02ba19ce0307875a1eee0fcda3f45aed22be423bbbff3933146 |
| hovercard-subject-tag | issue:4256880409 |
| 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/2428/issue_layout |
| twitter:image | https://opengraph.githubassets.com/03f0d3a38e6ef035e6ab6ef112bc122ca7c49b348c7acd33882b4de6bebf7e8d/JSQLParser/JSqlParser/issues/2428 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/03f0d3a38e6ef035e6ab6ef112bc122ca7c49b348c7acd33882b4de6bebf7e8d/JSQLParser/JSqlParser/issues/2428 |
| og:image:alt | Failing SQL Feature MySQL PROCEDURE ANALYSE() clause used in SELECT statements. MySQL (notably in older versions such as 5.5) supports PROCEDURE ANALYSE() as a query modifier that analyzes a result... |
| 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 | 2738d7125e864b55224a8bc40c72c220ca7d2c73f91a7bb8d69dffe9d35e997d |
| 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 | bf54af498459157b66a67136f992a68752cdbb54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width