Fabian Hueske created FLINK-5269: ------------------------------------ Summary: Convert string-based Table API tests into unit tests Key: FLINK-5269 URL: https://issues.apache.org/jira/browse/FLINK-5269 Project: Flink Issue Type: Sub-task Components: Table API & SQL Affects Versions: 1.2.0 Reporter: Fabian Hueske
The string-based Table API is currently tested with expensive integration tests. These tests have a huge overlap with the tests of the Scala-expression Table API. Therefore these tests should be converted into unit tests that compare the logical plan constructed by the string-based Table API with the logical plan of an equivalent Scala-expression Table API query. The logical plan can be retrieved from a {{Table}} as {{Table.logicalPlan}}. Since the translation from string-based Table API to logical plan does not distinguish between batch and streaming, we do not need separate tests but can remove existing duplicate tests. -- This message was sent by Atlassian JIRA (v6.3.4#6332)