You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/12/07 12:45:00 UTC

[jira] [Commented] (SPARK-33686) Spark SQL unrecognized `db.tbl`

    [ https://issues.apache.org/jira/browse/SPARK-33686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17245184#comment-17245184 ] 

Apache Spark commented on SPARK-33686:
--------------------------------------

User 'StefanXiepj' has created a pull request for this issue:
https://github.com/apache/spark/pull/30646

> Spark SQL unrecognized `db.tbl`
> -------------------------------
>
>                 Key: SPARK-33686
>                 URL: https://issues.apache.org/jira/browse/SPARK-33686
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.4.2
>            Reporter: xiepengjie
>            Priority: Major
>
> When executing command like this:
> {code:java}
> create table `bigdata_db.test_spark_33686` (c1 int);
> {code}
> exception will thrown:
> {code:java}
> spark-sql> create table `bigdata_db.test_spark_33686` (c1 int);Error in query: `bigdata_db.test_spark_33686` is not a valid name for tables/databases. Valid names only contain alphabet characters, numbers and _.;
> {code}
> you must write command like this:
> {code:java}
> create table `bigdata_db`.`test_spark_33686` (c1 int);
> {code}
> i think we should support `db.tbl`



--
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