Github user hvanhovell commented on the pull request:

    https://github.com/apache/spark/pull/12897#issuecomment-217494270
  
    @yhuai I checked the most recent 1.6 branch. They both interpret `1.0L` as 
`1.0 as L`.
    
    ###### SQL:
    ```scala
    scala> sql("select 1.0L").explain(true)
    == Parsed Logical Plan ==
    'Project [unresolvedalias(1.0 AS L#2)]
    +- OneRowRelation$
    ```
    
    ###### Hive:
    ```scala
    scala> sql("select 1.0L").explain(true)
    == Parsed Logical Plan ==
    'Project [unresolvedalias(1.0 AS L#0)]
    +- OneRowRelation$
    ```
    
    I am leaning towards not changing the behavior. What is your opinion?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to