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

   - 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
   - Make REUSE SETTINGS optional in compileTypeClause according to the Oracle 
PL/SQL Language Reference, so ALTER TYPE ... COMPILE, COMPILE SPECIFICATION and 
COMPILE BODY statements parse without trailing REUSE SETTINGS
   - Build a lightweight OracleCreateTypeBodyStatement carrying the type name 
and register the CREATE_TYPE_BODY visitor rule, DDL assert branch and JAXB test 
case
   - Add parser IT cases from issue #27005, the official PL/SQL reference 
examples, and the ALTER TYPE COMPILE forms without REUSE SETTINGS
   
   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