twalthr opened a new pull request #11904:
URL: https://github.com/apache/flink/pull/11904


   ## What is the purpose of the change
   
   Enables support for untyped NULL literals in function calls. The null type 
remains a helper type. We don't expose this type through the DDL or allow it as 
a function return type. It will not be used during runtime for serialization. 
The PR might not cover all cases, entry points of NULL into the type factory 
should be avoided.
   
   ## Brief change log
   
   - Don't allow a NULL type during type generalization
   - Generate a null literal for FLIP-65 functions
   
   ## Verifying this change
   
   This change added tests and can be verified as follows: `FunctionITCase`, 
`NullTypeTest`
   
   ## 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)`: yes
     - The serializers: no
     - The runtime per-record code paths (performance sensitive): no
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
     - The S3 file system connector: no
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (yes / 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:
[email protected]


Reply via email to