In 1.11.2/flinkSql/batch, tableEnv.getConfig.setNullCheck(false) seems to break group by-s

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

In 1.11.2/flinkSql/batch, tableEnv.getConfig.setNullCheck(false) seems to break group by-s

Jon Alberdi

Hello to all,

on flink-1.11.2 the program  written at https://gist.github.com/yetanotherion/d007fa113d97411226eaea4f20cd4c2d

creates unexpected stack traces when the line “// triggerBug…”

Is uncommented (some lines of the stack trace are written in the gist).

(It correctly outputs

+-------------+

|           c |

+-------------+

|           1 |

|           2 |

+-------------+

“ else)

Is that behavior expected?

If not, do you think a jira should be created to handle that? (I’d be glad to do so)


Regards,

Ion

 

Reply | Threaded
Open this post in threaded view
|

Re: In 1.11.2/flinkSql/batch, tableEnv.getConfig.setNullCheck(false) seems to break group by-s

Kurt Young
Yes, I think this is a bug, feel free to open a jira and a pull request.

Best,
Kurt


On Fri, Oct 16, 2020 at 4:13 PM Jon Alberdi <[hidden email]> wrote:

Hello to all,

on flink-1.11.2 the program  written at https://gist.github.com/yetanotherion/d007fa113d97411226eaea4f20cd4c2d

creates unexpected stack traces when the line “// triggerBug…”

Is uncommented (some lines of the stack trace are written in the gist).

(It correctly outputs

+-------------+

|           c |

+-------------+

|           1 |

|           2 |

+-------------+

“ else)

Is that behavior expected?

If not, do you think a jira should be created to handle that? (I’d be glad to do so)


Regards,

Ion

 

Reply | Threaded
Open this post in threaded view
|

Re: In 1.11.2/flinkSql/batch, tableEnv.getConfig.setNullCheck(false) seems to break group by-s

Timo Walther
Hi Jon,

I would not recommend to use the configuration parameter. It is not
deprecated yet but can be considered legacy code from before we reworked
the type system.

Regards,
Timo

On 16.10.20 13:23, Kurt Young wrote:

> Yes, I think this is a bug, feel free to open a jira and a pull request.
>
> Best,
> Kurt
>
>
> On Fri, Oct 16, 2020 at 4:13 PM Jon Alberdi <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hello to all, ____
>
>     on flink-1.11.2 the program  written at
>     https://gist.github.com/yetanotherion/d007fa113d97411226eaea4f20cd4c2d____
>
>     creates unexpected stack traces when the line “// triggerBug…”____
>
>     Is uncommented (some lines of the stack trace are written in the
>     gist).____
>
>     (It correctly outputs
>     “____
>
>     +-------------+____
>
>     | c |____
>
>     +-------------+____
>
>     | 1 |____
>
>     | 2 |____
>
>     +-------------+____
>
>     “ else)
>
>     Is that behavior expected? ____
>
>     If not, do you think a jira should be created to handle that? (I’d
>     be glad to do so)____
>
>
>     Regards,____
>
>     Ion____
>
>     __ __
>