hequn8128 opened a new pull request #8345: [FLINK-12402][table] Make validation 
error message for CallExpression more user friendly
URL: https://github.com/apache/flink/pull/8345
 
 
   
   ## What is the purpose of the change
   
   This pull request makes the validation error message more user friendly. The 
previous error message for CallExpression validation may not display the root 
cause which may confuse our users. See more details in the 
[jira](https://issues.apache.org/jira/browse/FLINK-12402).
   
   ## Brief change log
   
     - Display the truth validation error message.
     - Adjust test cases.
   
   ## Verifying this change
   
   This change added tests and can be verified as follows:
   
     - Add `testInvalidParameterTypes` in `CalcValidationTest` to test the 
validation error message.
   
   ## 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)
   

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


With regards,
Apache Git Services

Reply via email to