Title: SQL contains ISNULL function in select clause parsing fails if used with NOT · Issue #733 · JSQLParser/JSqlParser · GitHub
Open Graph Title: SQL contains ISNULL function in select clause parsing fails if used with NOT · Issue #733 · JSQLParser/JSqlParser
X Title: SQL contains ISNULL function in select clause parsing fails if used with NOT · Issue #733 · JSQLParser/JSqlParser
Description: The fix for ISNULL as a keyword or as a function doesn't work with NOT as a prefix: @Test public void testSqlContainIsNullFunctionShouldBeParsed3() throws JSQLParserException { assertSqlCanBeParsedAndDeparsed("SELECT name, age FROM perso...
Open Graph Description: The fix for ISNULL as a keyword or as a function doesn't work with NOT as a prefix: @Test public void testSqlContainIsNullFunctionShouldBeParsed3() throws JSQLParserException { assertSqlCanBeParsed...
X Description: The fix for ISNULL as a keyword or as a function doesn't work with NOT as a prefix: @Test public void testSqlContainIsNullFunctionShouldBeParsed3() throws JSQLParserException { assertSqlCanBePa...
Opengraph URL: https://github.com/JSQLParser/JSqlParser/issues/733
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SQL contains ISNULL function in select clause parsing fails if used with NOT","articleBody":"The fix for ISNULL as a keyword or as a function doesn't work with NOT as a prefix:\r\n```java\r\n @Test\r\n public void testSqlContainIsNullFunctionShouldBeParsed3() throws JSQLParserException {\r\n assertSqlCanBeParsedAndDeparsed(\"SELECT name, age FROM person WHERE NOT ISNULL(home, 'earn more money')\");\r\n }\r\n```\r\n\r\nresults in:\r\n```net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: \"(\" \"(\"\r\n at line 1, column 46.\r\n\r\nWas expecting one of:\r\n\r\n \"\u0026\u0026\"\r\n \";\"\r\n \"AND\"\r\n \"CONNECT\"\r\n \"EXCEPT\"\r\n \"FOR\"\r\n \"GROUP\"\r\n \"HAVING\"\r\n \"INTERSECT\"\r\n \"MINUS\"\r\n \"ORDER\"\r\n \"START\"\r\n \"UNION\"\r\n \u003cEOF\u003e\r\n```\r\n\r\n_Originally posted by @damienb-opt in https://github.com/JSQLParser/JSqlParser/pull/610#issuecomment-453487603_","author":{"url":"https://github.com/damienb-opt","@type":"Person","name":"damienb-opt"},"datePublished":"2019-01-14T09:00:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/733/JSqlParser/issues/733"}
| 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:6d5fbfda-b7c8-6e62-d375-879639efd011 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E7F8:169246:597B93:71AEAF:697F4783 |
| html-safe-nonce | 3cf4078f5f2e644336ab815428ad9c28b1dfff3f64dde307e3dfd8bc1fa76de8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0Y4OjE2OTI0Njo1OTdCOTM6NzFBRUFGOjY5N0Y0NzgzIiwidmlzaXRvcl9pZCI6IjU2MjM1NDA0OTY0OTMxMzU3NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2d2f664e8e85b5c04d5c5790b96f0b73f0e74e8dff3ce5871ca094e43af0029b |
| hovercard-subject-tag | issue:398796651 |
| 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/733/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e109d7e0a0c5f762bed4c01cad77e3ae4eddb1d179d1f29917f0f28330028ffe/JSQLParser/JSqlParser/issues/733 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e109d7e0a0c5f762bed4c01cad77e3ae4eddb1d179d1f29917f0f28330028ffe/JSQLParser/JSqlParser/issues/733 |
| og:image:alt | The fix for ISNULL as a keyword or as a function doesn't work with NOT as a prefix: @Test public void testSqlContainIsNullFunctionShouldBeParsed3() throws JSQLParserException { assertSqlCanBeParsed... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | damienb-opt |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width