dawidwys commented on a change in pull request #14098:
URL: https://github.com/apache/flink/pull/14098#discussion_r526091834
##########
File path:
flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/expressions/RowTypeTest.scala
##########
@@ -142,14 +142,11 @@ class RowTypeTest extends RowTypeTestBase {
@Test
def testUnsupportedCastSqlApi(): Unit = {
- expectedException.expect(classOf[CodeGenException])
- expectedException.expectMessage(
- "Unsupported cast from 'ROW<`f0` STRING, `f1` BOOLEAN>' to 'ROW<`f0`
INT, `f1` STRING>'")
+ expectedException.expect(classOf[ValidationException])
Review comment:
nit: Can we assert the message to make sure we are failing for the right
reason?
----------------------------------------------------------------
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]