Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.2.0
-
None
-
None
Description
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.