[ https://issues.apache.org/jira/browse/FLINK-16771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rui Li updated FLINK-16771: --------------------------- Description: The following SQL can trigger the issue: {code} create table foo (d decimal(15,8)); insert into foo values (cast('123.123' as decimal(15,8))); select * from foo where d>cast('123456789.123' as decimal(15,8)); {code} > NPE when filtering by decimal column > ------------------------------------ > > Key: FLINK-16771 > URL: https://issues.apache.org/jira/browse/FLINK-16771 > Project: Flink > Issue Type: Bug > Components: Table SQL / Planner > Reporter: Rui Li > Priority: Major > > The following SQL can trigger the issue: > {code} > create table foo (d decimal(15,8)); > insert into foo values (cast('123.123' as decimal(15,8))); > select * from foo where d>cast('123456789.123' as decimal(15,8)); > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)