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

   ## Summary
   Support SQLServer session-level `SET` statements for:
   - `SET QUOTED_IDENTIFIER ON|OFF`
   - `SET TEXTSIZE <number>`
   
   ## Issue
   Fixes #37973.
   
   ## Changes
   - Add SQLServer DAL grammar rules for session-level `SET` statements.
   - Add `TEXTSIZE` keyword in SQLServer lexer keywords.
   - Wire `set` entry into SQLServer statement execute alternatives.
   - Extend SQLServer DAL visitor to build `SetStatement` with 
`VariableAssignSegment`.
   - Add parser IT SQL/case resources for the two SQLServer `SET` statements.
   
   ## Tests
   - `./mvnw -pl test/it/parser -am -DskipITs -Dspotless.skip=true 
-Dtest=InternalSQLServerParserIT -Dsurefire.failIfNoSpecifiedTests=false test`
   - `./mvnw -pl parser/sql/engine/dialect/sqlserver,test/it/parser -am -Pcheck 
checkstyle:check`
   - `./mvnw -pl parser/sql/engine/dialect/sqlserver,test/it/parser -am 
spotless:apply -Pcheck`
   


-- 
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