You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (Jira)" <ji...@apache.org> on 2023/01/13 04:23:00 UTC

[jira] [Resolved] (SPARK-40143) ANSI mode: allow explicitly casting fraction strings as Integral types

     [ https://issues.apache.org/jira/browse/SPARK-40143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gengliang Wang resolved SPARK-40143.
------------------------------------
    Resolution: Won't Do

>  ANSI mode: allow explicitly casting fraction strings as Integral types
> -----------------------------------------------------------------------
>
>                 Key: SPARK-40143
>                 URL: https://issues.apache.org/jira/browse/SPARK-40143
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>            Priority: Major
>
> It's part of the ANSI SQL standard, and more consistent with the non-ansi casting. We can have different behavior for implicit casting to avoid `'1.2' = 1` returns true.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org