Github user fhueske commented on a diff in the pull request: https://github.com/apache/flink/pull/3791#discussion_r114556553 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/scala/TableConversions.scala --- @@ -35,6 +36,10 @@ class TableConversions(table: Table) { /** Converts the [[Table]] to a [[DataSet]] of the specified type. */ def toDataSet[T: TypeInformation]: DataSet[T] = { + if (UserDefinedFunctionUtils.verifyTableFunctionCallExistence(table)) { --- End diff -- We should put this check into `Table.getRelNode`. This will catch all cases when we try to translate a table.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---