[ https://issues.apache.org/jira/browse/FLINK-19796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jingsong Lee closed FLINK-19796. -------------------------------- Fix Version/s: 1.14.0 Resolution: Fixed Fixed via master: 0f51995bc156435eb9e97d2ac15e0225117877e2 > Error results when use constant decimal array > --------------------------------------------- > > Key: FLINK-19796 > URL: https://issues.apache.org/jira/browse/FLINK-19796 > Project: Flink > Issue Type: Bug > Components: Table SQL / Runtime > Affects Versions: 1.11.2 > Reporter: Zou > Assignee: Shuo Cheng > Priority: Major > Labels: auto-unassigned, pull-request-available > Fix For: 1.14.0 > > > The result is wrong when use constant decimal array with different precisions. > Here is an example: > {code:sql} > create table print_sink( > data array<decimal(3,2)> > ) with ( > 'connector' = 'print' > ); > insert into print_sink > select array[0.12, 0.5, 0.99]; > {code} > The result will be: > {code:java} > +I([0.12, 0.05, 0.99]) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)