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

   - Add createTypeBody, plsqlTypeBodySource and typeBodyElement rules to the 
Oracle PLSQL grammar, covering MEMBER/STATIC function and procedure bodies, 
CONSTRUCTOR FUNCTION with RETURN SELF AS RESULT, and MAP/ORDER MEMBER FUNCTION 
bodies with optional declare sections and full PL/SQL statement bodies
   - Reuse the existing body, declareSection and parameterDeclaration building 
blocks already exercised by CREATE PACKAGE BODY, CREATE FUNCTION and CREATE 
TRIGGER, and dispatch createTypeBody before createType in the execute rule
   - Build a lightweight OracleCreateTypeBodyStatement carrying the type name 
and register the CREATE_TYPE_BODY visitor rule, DDL assert branch and JAXB test 
case
   - Add 4 parser IT cases from issue #27005 and the official PL/SQL reference 
examples
   
   Fixes #27005
   


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