You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:35:33 UTC

[jira] [Resolved] (SPARK-13934) SqlParser.parseTableIdentifier cannot recognize table name start with scientific notation

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

Hyukjin Kwon resolved SPARK-13934.
----------------------------------
    Resolution: Incomplete

> SqlParser.parseTableIdentifier cannot recognize table name start with scientific notation
> -----------------------------------------------------------------------------------------
>
>                 Key: SPARK-13934
>                 URL: https://issues.apache.org/jira/browse/SPARK-13934
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.6.1
>            Reporter: Yang Wang
>            Priority: Major
>              Labels: bulk-closed
>
> SqlParser.parseTableIdentifier cannot recognize table name start with scientific notation like "1e30abcdedfg".
> This bug can be reproduced by code following:
>     val conf = new SparkConf().setAppName(s"test").setMaster("local[2]")
>     val sc = new SparkContext(conf)
>     val hc = new HiveContext(sc)
>     val tableName = "1e34abcd"
>     hc.sql("select 123").registerTempTable(tableName)
>     hc.dropTempTable(tableName)
> The last line will throw a RuntimeException.(java.lang.RuntimeException: [1.1] failure: identifier expected)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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