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

Kent Yao updated SPARK-32207:
-----------------------------
    Description: 
{code:sql}
select 1.1f;
{code}

currently thows

{code:java}

```
org.apache.spark.sql.AnalysisException: Can't extract value from 1: need struct 
type but got int;
```
{code}


  was:

{code:sql}
select 1.1f;
{code}



> Support 'F'-suffixed Float Literals
> -----------------------------------
>
>                 Key: SPARK-32207
>                 URL: https://issues.apache.org/jira/browse/SPARK-32207
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.3.4, 2.4.6, 3.0.1, 3.1.0
>            Reporter: Kent Yao
>            Priority: Major
>
> {code:sql}
> select 1.1f;
> {code}
> currently thows
> {code:java}
> ```
> org.apache.spark.sql.AnalysisException: Can't extract value from 1: need 
> struct type but got int;
> ```
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to