jinzhuguang created FLINK-35721:
-----------------------------------

             Summary: 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
         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)

Reply via email to