1. please deduplicate the code in those `EXTRACT(XYZ FROM TIME t)` tests. 
Either use parametrized tests from junit4 ( 
https://stackoverflow.com/questions/4399881/parameterized-unit-tests-in-scala-with-junit4
 ), or create a for loop over units.
2. Add expected exception message pattern like `unit .* can not be applied to 
time variable`?

[ Full content available at: https://github.com/apache/flink/pull/6614 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to