Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3656 Rework Table API tests
  3. FLINK-5272

Refactor the stream Scala-expression Table API tests

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.4.0
    • Table SQL / API
    • None

    Description

      Most tests of the streaming Scala Table API tests are full-blown integration tests which are rather expensive to execute.

      Most of tests should be converted into unit tests that validate the resulting execution plan (consisting of DataStreamRel nodes) based on the TableTestBase class.

      In addition we need a few integration tests that check the translation from the optimized DataStreamRel plan to a DataStream program. These tests should be implemented by extending the StreamingMultipleProgramsTestBase and be located in few classes to avoid repeated instantiations of the FLink MiniCluster.

      These tests must cover the translation process of each DataStreamRel operator.

      Attachments

        Activity

          People

            sunjincheng121 sunjincheng
            fhueske Fabian Hueske
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: