FlyingZC opened a new pull request, #39776:
URL: https://github.com/apache/shardingsphere/pull/39776

   Changes proposed in this pull request:
     - Add `LiteralExpressionSegment#isNullLiteral()` while preserving the 
existing semantic value and text contracts.
     - Handle SQL NULL literals in projection labels, ORDER BY/GROUP BY items, 
pagination contexts, and SQL Federation conversion without changing numeric 
ordinal handling.
     - Add focused unit tests and parser integration cases for MySQL, 
PostgreSQL, openGauss, Oracle, SQLServer, and ClickHouse.
   
   ---
   
   Before committing this PR, I am sure that I have checked the following 
options:
   - [x] My code follows the [code of 
conduct](https://shardingsphere.apache.org/community/en/involved/conduct/code/) 
of this project.
   - [x] I have self-reviewed the commit code.
   - [ ] I have (or in comment I request) added corresponding labels for the 
pull request.
   - [ ] I have passed the full maven check locally: `./mvnw clean install -B 
-T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e`.
   - [ ] I have made corresponding changes to the documentation. No user-facing 
documentation change is required for this parser bug fix.
   - [x] I have added corresponding unit tests for my changes.
   - [ ] I have updated the Release Notes of the current development version.
   - [x] I have disclosed the tool and affected files or scope for material AI 
assistance.
   
   AI assistance disclosure: OpenAI Codex materially assisted with adapting and 
testing the SQL NULL literal handling changes across the 22 production, 
unit-test, and parser-test files in this pull request. I reviewed the resulting 
code, scope, and verification results.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to