Github user clockfly commented on the issue:

    https://github.com/apache/spark/pull/15006
  
    @gatorsmile
    
    We are not "more flexible than Hive". We are as flexible as Hive. With this 
PR, we only treats a string as an IDENTIFIER if there is no ambiguity that it 
can not be interpreted as a number token. 
    
    For example, after this fix:
    ```
    scala> spark.sql("create table 3r") // allowed, 3r is not ambiguous
    scala> spark.sql("create table 3M") // not allowed, as 3M is ambiguous, it 
can also mean BYTELENGTH_LITERAL.
    scala> spark.sql("create table 3L") // not allowed, as 3L is ambiguous, it 
can also mean BIGINT_LITERAL.
    ```
    
    
    



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to