[ https://issues.apache.org/jira/browse/FLINK-35721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hong Liang Teoh updated FLINK-35721: ------------------------------------ Fix Version/s: 1.19.2 > I found out that in the Flink SQL documentation it says that Double type > cannot be converted to Boolean type, but in reality, it can. > ------------------------------------------------------------------------------------------------------------------------------------- > > Key: FLINK-35721 > URL: https://issues.apache.org/jira/browse/FLINK-35721 > Project: Flink > Issue Type: Bug > Components: Table SQL / Planner > Affects Versions: 1.19.1 > Reporter: jinzhuguang > Priority: Blocker > Fix For: 1.19.2 > > Attachments: image-2024-06-28-16-57-54-354.png > > > I found out that in the Flink SQL documentation it says that Double type > cannot be converted to Boolean type, but in reality, it can. > Ralated code : > org.apache.flink.table.planner.functions.casting.NumericToBooleanCastRule#generateExpression > Ralated document url : > [https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/types/] > !image-2024-06-28-16-57-54-354.png|width=378,height=342! -- This message was sent by Atlassian Jira (v8.20.10#820010)