You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Dian Fu (JIRA)" <ji...@apache.org> on 2018/12/05 08:38:00 UTC

[jira] [Created] (FLINK-11074) Improve the harness test to make it possible test with state backend

Dian Fu created FLINK-11074:
-------------------------------

             Summary: Improve the harness test to make it possible test with state backend
                 Key: FLINK-11074
                 URL: https://issues.apache.org/jira/browse/FLINK-11074
             Project: Flink
          Issue Type: Test
          Components: Table API &amp; SQL
            Reporter: Dian Fu
            Assignee: Dian Fu


Currently, the harness test can only test without state backend. If you use a DataView in the accumulator of the aggregate function, the DataView is a java object and held in heap, not replaced with StateMapView/StateListView which values are actually held in the state backend. We should improve the harness test to make it possible to test with state backend. Otherwise, issues such as FLINK-10674 could have never been found. With this harness test available, we could test the built-in aggregate functions which use the DataView more fine grained.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)