| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:37fe04e1-43cf-0230-a512-43a6dc7e52e4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C49C:1CE302:5FD7E2:81C210:6B0440D6 |
| html-safe-nonce | 13de9ddfd769d9342d0c1ee294f35b3896845c3bf8cbc482ed4603a5119978d0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDlDOjFDRTMwMjo1RkQ3RTI6ODFDMjEwOjZCMDQ0MEQ2IiwidmlzaXRvcl9pZCI6Ijc5Mjg1Mzg1NzM5OTYwNDg1OTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 207fbbaf1dd6289483a5085533178d6722a88b4c7942d2db3f3badf9d99175f0 |
| hovercard-subject-tag | pull_request:222653755 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/phpmyadmin/sql-parser/203/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/7d30b48ca165eb878786a84b11ffb8c72b3a1fbf2217d5cbd102ff4c076730e0/phpmyadmin/sql-parser/pull/203 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7d30b48ca165eb878786a84b11ffb8c72b3a1fbf2217d5cbd102ff4c076730e0/phpmyadmin/sql-parser/pull/203 |
| og:image:alt | Hi
This PR allows CASE expressions to be aliased to fix issues #192 and #162
It specifically adds support for CASE ... END [AS] alias for both CASE formats with the AS keyword being optional.
Im a ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mostertb |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| turbo-cache-control | no-cache |
| go-import | github.com/phpmyadmin/sql-parser git https://github.com/phpmyadmin/sql-parser.git |
| octolytics-dimension-user_id | 1351977 |
| octolytics-dimension-user_login | phpmyadmin |
| octolytics-dimension-repository_id | 36256604 |
| octolytics-dimension-repository_nwo | phpmyadmin/sql-parser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36256604 |
| octolytics-dimension-repository_network_root_nwo | phpmyadmin/sql-parser |
| 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 | 06dc448a76fe4751ac1db26524aefa3aa3e889a8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/phpmyadmin/sql-parser/pull/203#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpmyadmin%2Fsql-parser%2Fpull%2F203 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpmyadmin%2Fsql-parser%2Fpull%2F203 |
| 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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=phpmyadmin%2Fsql-parser |
| Reload | https://github.com/phpmyadmin/sql-parser/pull/203 |
| Reload | https://github.com/phpmyadmin/sql-parser/pull/203 |
| Reload | https://github.com/phpmyadmin/sql-parser/pull/203 |
| phpmyadmin | https://github.com/phpmyadmin |
| sql-parser | https://github.com/phpmyadmin/sql-parser |
| Code | https://github.com/phpmyadmin/sql-parser |
| Issues55 (55) | https://github.com/phpmyadmin/sql-parser/issues |
| Pull requests21 (21) | https://github.com/phpmyadmin/sql-parser/pulls |
| Actions | https://github.com/phpmyadmin/sql-parser/actions |
| Security and quality | https://github.com/phpmyadmin/sql-parser/security |
| Insights | https://github.com/phpmyadmin/sql-parser/insights |
| https://github.com/phpmyadmin/sql-parser |
| ibennetch | https://github.com/ibennetch |
| phpmyadmin:master | https://github.com/phpmyadmin/sql-parser/tree/master |
| mostertb:case-alias | https://github.com/mostertb/sql-parser/tree/case-alias |
| Conversation | https://github.com/phpmyadmin/sql-parser/pull/203 |
| Commits7 (7) | https://github.com/phpmyadmin/sql-parser/pull/203/commits |
| Checks | https://github.com/phpmyadmin/sql-parser/pull/203/checks |
| Files changed | https://github.com/phpmyadmin/sql-parser/pull/203/files |
| Add support for Aliases on CASE expressions | https://github.com/phpmyadmin/sql-parser/pull/203#top |
| ibennetch | https://github.com/ibennetch |
| phpmyadmin:master | https://github.com/phpmyadmin/sql-parser/tree/master |
| mostertb:case-alias | https://github.com/mostertb/sql-parser/tree/case-alias |
|
| https://github.com/mostertb |
| mostertb | https://github.com/mostertb |
| Oct 13, 2018 | https://github.com/phpmyadmin/sql-parser/pull/203#issue-369807819 |
| #192 | https://github.com/phpmyadmin/sql-parser/issues/192 |
| #162 | https://github.com/phpmyadmin/sql-parser/issues/162 |
| Please reload this page | https://github.com/phpmyadmin/sql-parser/pull/203 |
| mostertb | https://github.com/mostertb |
| October 13, 2018 13:36 | https://github.com/phpmyadmin/sql-parser/pull/203#commits-pushed-1a18d1c |
|
| https://github.com/mostertb |
| Add Support for CASE ... END AS alias | https://github.com/phpmyadmin/sql-parser/pull/203/commits/1a18d1c5bad164cb0d2e4584578a76273af7feaf |
| 1a18d1c | https://github.com/phpmyadmin/sql-parser/pull/203/commits/1a18d1c5bad164cb0d2e4584578a76273af7feaf |
|
| https://github.com/mostertb |
| Handle CASE alias without AS | https://github.com/phpmyadmin/sql-parser/pull/203/commits/f2127a175835f25e4936bb08698a812841a3915d |
| f2127a1 | https://github.com/phpmyadmin/sql-parser/pull/203/commits/f2127a175835f25e4936bb08698a812841a3915d |
|
| https://github.com/mostertb |
| Explicitly handle case where keyword encountered before alias value f… | https://github.com/phpmyadmin/sql-parser/pull/203/commits/f72a44cfd6266e9448e43bf7c1dcf759ea693a72 |
| f72a44c | https://github.com/phpmyadmin/sql-parser/pull/203/commits/f72a44cfd6266e9448e43bf7c1dcf759ea693a72 |
|
| https://github.com/mostertb |
| Handle end of statement while parsing CASE alias | https://github.com/phpmyadmin/sql-parser/pull/203/commits/9cc6cc7a51607f9df355a1713d31893aa5e4e53d |
| 9cc6cc7 | https://github.com/phpmyadmin/sql-parser/pull/203/commits/9cc6cc7a51607f9df355a1713d31893aa5e4e53d |
|
| https://github.com/mostertb |
| Add tests for parsing of CASE expressions with aliases | https://github.com/phpmyadmin/sql-parser/pull/203/commits/6f76011f86aed4f5645abef6da888c1ae0ee5bcb |
| 6f76011 | https://github.com/phpmyadmin/sql-parser/pull/203/commits/6f76011f86aed4f5645abef6da888c1ae0ee5bcb |
|
| https://github.com/mostertb |
| Add component build tests from CASE expressions with aliases | https://github.com/phpmyadmin/sql-parser/pull/203/commits/61343f63d0a64a14287f2366c2907b8a05eb0a87 |
| 61343f6 | https://github.com/phpmyadmin/sql-parser/pull/203/commits/61343f63d0a64a14287f2366c2907b8a05eb0a87 |
|
| https://github.com/mostertb |
| Apply php-cs-fixer formatting changes | https://github.com/phpmyadmin/sql-parser/pull/203/commits/bf4ad3d3b148ce0868339ee24bca9a5c46821063 |
| bf4ad3d | https://github.com/phpmyadmin/sql-parser/pull/203/commits/bf4ad3d3b148ce0868339ee24bca9a5c46821063 |
| https://github.com/apps/codecov |
| codecov | https://github.com/apps/codecov |
| Oct 13, 2018 | https://github.com/phpmyadmin/sql-parser/pull/203#issuecomment-429547384 |
| Codecov | https://codecov.io/gh/phpmyadmin/sql-parser/pull/203?src=pr&el=h1 |
| #203 | https://codecov.io/gh/phpmyadmin/sql-parser/pull/203?src=pr&el=desc |
| master | https://codecov.io/gh/phpmyadmin/sql-parser/commit/20ed99420d54d6942e76c94e867ca4729f361669?src=pr&el=desc |
| Please reload this page | https://github.com/phpmyadmin/sql-parser/pull/203 |
| https://github.com/devenbansod |
| devenbansod | https://github.com/devenbansod |
| devenbansod | https://github.com/devenbansod |
| nijel | https://github.com/nijel |
| devenbansod | https://github.com/devenbansod |
| October 29, 2018 08:29 | https://github.com/phpmyadmin/sql-parser/pull/203#event-1931555190 |
| https://github.com/devenbansod |
| devenbansod | https://github.com/devenbansod |
|
Oct 29, 2018
| https://github.com/phpmyadmin/sql-parser/pull/203#pullrequestreview-169188541 |
|
View reviewed changes
| https://github.com/phpmyadmin/sql-parser/pull/203/files/bf4ad3d3b148ce0868339ee24bca9a5c46821063 |
| devenbansod | https://github.com/devenbansod |
| https://github.com/phpmyadmin/sql-parser/pull/203#pullrequestreview-169188541 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpmyadmin/sql-parser/pull/203 |
| https://github.com/williamdes |
| williamdes | https://github.com/williamdes |
|
Dec 21, 2018
| https://github.com/phpmyadmin/sql-parser/pull/203#pullrequestreview-187412038 |
|
View reviewed changes
| https://github.com/phpmyadmin/sql-parser/pull/203/files/bf4ad3d3b148ce0868339ee24bca9a5c46821063 |
| williamdes | https://github.com/williamdes |
| https://github.com/phpmyadmin/sql-parser/pull/203#pullrequestreview-187412038 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpmyadmin/sql-parser/pull/203 |
| https://github.com/ibennetch |
| ibennetch | https://github.com/ibennetch |
| c8febda | https://github.com/phpmyadmin/sql-parser/commit/c8febda27875d0f33af2f47fffa451abbf599747 |
| Dec 24, 2018 | https://github.com/phpmyadmin/sql-parser/pull/203#event-2043248889 |
| https://github.com/ibennetch |
| ibennetch | https://github.com/ibennetch |
| Dec 24, 2018 | https://github.com/phpmyadmin/sql-parser/pull/203#issuecomment-449753805 |
| Please reload this page | https://github.com/phpmyadmin/sql-parser/pull/203 |
|
Syntax error on keyword 'as' with case in a valid query
#192
| https://github.com/phpmyadmin/sql-parser/issues/192 |
|
Aliases not supported after CASE expression
#162
| https://github.com/phpmyadmin/sql-parser/issues/162 |
|
Error syntax highlight with this query
phpmyadmin/phpmyadmin#13541
| https://github.com/phpmyadmin/phpmyadmin/issues/13541 |
| https://github.co/hiddenchars |
| https://github.com/phpmyadmin/sql-parser/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpmyadmin%2Fsql-parser%2Fpull%2F203 |
|
| https://github.com/devenbansod |
|
devenbansod
| https://github.com/devenbansod |
|
| https://github.com/phpmyadmin/sql-parser/pull/203/files/bf4ad3d3b148ce0868339ee24bca9a5c46821063 |
|
| https://github.com/williamdes |
|
williamdes
| https://github.com/williamdes |
|
| https://github.com/phpmyadmin/sql-parser/pull/203/files/bf4ad3d3b148ce0868339ee24bca9a5c46821063 |
|
| https://github.com/nijel |
|
nijel
| https://github.com/nijel |
| Please reload this page | https://github.com/phpmyadmin/sql-parser/pull/203 |
| Please reload this page | https://github.com/phpmyadmin/sql-parser/pull/203 |
|
| https://github.com/mostertb |
|
| https://github.com/ibennetch |
|
| https://github.com/devenbansod |
|
| https://github.com/williamdes |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |