flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [flink] wangxlong opened a new pull request #9916: UDF's open method is invoked to initialize when sql is optimized in oldPlanner
Date Wed, 16 Oct 2019 15:19:10 GMT
wangxlong opened a new pull request #9916: UDF's open method is invoked to initialize when
sql is optimized in oldPlanner
URL: https://github.com/apache/flink/pull/9916
 
 
   ## What is the purpose of the change
   In oldPlanner, UDF's open method can not be invoked when SQL is optimized. So this pr will
fix it.
   
   ## Brief change log
   (1) Add ConstantFunctionContext and ConstantFunctionCodeGenerator to pass functionConext
to udf open method.
   (2) invoke richMapFunction open method.
   
   ## Verifying this change
   This change added tests and can be verified as follows:
   (1) ExpressionReductionRulesTest.testExpressionReductionWithUDF
   (2) ExpressionReductionRulesTest.testExpressionReductionWithRichUDF
   
   ## Does this pull request potentially affect one of the following parts:
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (no )
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing,
Yarn/Mesos, ZooKeeper: (no)
     - The S3 file system connector: (no)
   
   ## Documentation
     - Does this pull request introduce a new feature? (no)
     - If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message