You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kent Yao (Jira)" <ji...@apache.org> on 2020/07/07 08:47:00 UTC
[jira] [Updated] (SPARK-32207) Support 'F'-suffixed Float Literals
[ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org