Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-32207

Support 'F'-suffixed Float Literals

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.4, 2.4.6, 3.0.1, 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: SQL
    • Labels:
      None

      Description

      select 1.1f;
      

      currently thows

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

        Attachments

          Activity

            People

            • Assignee:
              Qin Yao Kent Yao
              Reporter:
              Qin Yao Kent Yao

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment