awmatheson opened a new pull request, #27000:
URL: https://github.com/apache/flink/pull/27000

   
   ## Contribution Checklist
     
     - Make sure that the change passes the automated tests, i.e., `mvn clean 
verify` passes. You can set up Azure Pipelines CI to do that following [this 
guide](https://cwiki.apache.org/confluence/display/FLINK/Azure+Pipelines#AzurePipelines-Tutorial:SettingupAzurePipelinesforaforkoftheFlinkrepository).
   
   ## What is the purpose of the change
   
   Currently, the CREATE FUNCTION USING syntax only supports JAR resources, 
which limits the flexibility for specifying different types of dependencies for 
user-defined functions. Users need the ability to specify artifact dependencies 
in addition to JAR files.
   
   
   ## Brief change log
   
   1. Parser Configuration
   * Added ARTIFACT keyword to Parser.tdd in both keywords and 
nonReservedKeywords lists
   * Added ARTIFACT to SqlResourceType enum
   2. Parser Implementation
   * Modified SqlResourceInfo() method in parserImpls.ftl to accept ARTIFACT 
resources
   * Updated method signature to accept functionLanguage parameter for 
validation
   * Implemented flexible validation logic:
     * JAR resources: Only allowed for JAVA and SCALA languages
     * ARTIFACT resources: Allowed for all languages (JAVA, SCALA, SQL, PYTHON)
   3. Testing
   * Added tests for ARTIFACT syntax with all supported languages
   * Added tests for validation rules (ensuring proper blocking/allowing)
   * Added tests for multiple artifact resources
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Modifies
   
   ## Documentation
   
     - TODO
   


-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to