[ 
https://issues.apache.org/jira/browse/FLINK-24004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17405733#comment-17405733
 ] 

Ingo Bürk commented on FLINK-24004:
-----------------------------------

Done as part of FLINK-23663

> Introduce a source/sink testing harness
> ---------------------------------------
>
>                 Key: FLINK-24004
>                 URL: https://issues.apache.org/jira/browse/FLINK-24004
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / API, Table SQL / Planner
>            Reporter: Ingo Bürk
>            Assignee: Ingo Bürk
>            Priority: Minor
>
> For many tests we require some source/sink + factory with specific features 
> and/or abilities. Currently, the "values" source exists for this, but has 
> become quite bloated. Specifically implementing a specific set of abilities 
> is very difficult to reflect there. On the other hand, implementing new 
> factories for individual tests is a lot of bloat and requires a lot of 
> factories to be registered.
> We want to introduce a new factory (alongside the existing "values" one) 
> which simply loads a user-defined class as the source to remove a bunch of 
> that boilerplate.
> Additional tasks:
>  * Use this harness in PushProjectIntoTableSourceScanRuleTest
>  * Migrate the "values" factory to the new config options class pattern so 
> options can be used programmatically.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to