flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vasiliki Kalavri <vasilikikala...@gmail.com>
Subject Re: ITCases in the Table API
Date Wed, 18 May 2016 17:36:34 GMT
Hey Stephan,

thanks for bringing this up!
We discussed this situation with Fabian a while ago and I saw that he has
now updated FLINK-3656 regarding this.
If nobody picks this up sooner, I can help with reworking the tests next


On 18 May 2016 at 10:23, Stephan Ewen <sewen@apache.org> wrote:

> Hi!
> I want to bring up the discussion again about writing Unit Tests, rather
> than many ITCases. I looked a bit through the Table API and it looks like
> there is virtually no unit test, but everything has an ITCase.
> I would really encourage to write more unit tests.
> The DataStream API is actually a good example: It does not have an ITCase
> for every operator - operators are all unit tested with a test harness
> (mock contexts and environments). There are a few end-to-end ITCases for
> certain functionalities, like Checkpointing, State Backends, or Timestamp
> Handling.
> I think it would be great to adopt a similar model for the TableAPI. So
> far, the Table API follows the DataSet API model, where every single
> operator has one or more ITCases - that makes build times very long. Also,
> in my experience, ITCases are actually not even as precise in the tests as
> a good series of unit tests.
> Given that the library is still being created, now is a good time to look
> into this.
> Once it is established, chances of that getting reworked will be slim.
> Greetings,
> Stephan

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message