[ 
https://issues.apache.org/jira/browse/FLINK-13525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17321484#comment-17321484
 ] 

Flink Jira Bot commented on FLINK-13525:
----------------------------------------

This issue and all of its Sub-Tasks have not been updated for 180 days. So, it 
has been labeled "stale-minor". If you are still affected by this bug or are 
still interested in this issue, please give an update and remove the label. In 
7 days the issue will be closed automatically.

> Improve Expression validation test
> ----------------------------------
>
>                 Key: FLINK-13525
>                 URL: https://issues.apache.org/jira/browse/FLINK-13525
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Planner
>            Reporter: Jark Wu
>            Priority: Minor
>              Labels: stale-minor
>
> Currently, the expression validation tests under 
> {{org.apache.flink.table.expressions.validation}} are using following pattern 
> to verify an exception should be thrown:
> {code:scala}
> @Test
>   def testWrongKeyType(): Unit = {
>     testAllApis('f2.at(12), "f2.at(12)", "f2[12]", "FAIL")
>   }
> {code}
> However, this only covers the first expression {{'f2.at(12)}} throw the 
> expected exception. All the other expression will be ignored. We should 
> improve this. And it's nice to test the expected exception message too.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to