[
https://issues.apache.org/jira/browse/SPARK-28696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16905642#comment-16905642
]
Dongjoon Hyun edited comment on SPARK-28696 at 8/12/19 10:30 PM:
-----------------------------------------------------------------
Oops. Wait a minute. We should allow this in Apache Spark 3.0 because of the
feature parity with PostgreSQL (SPARK-27764).
I'd like to close this issue as `Won't Do` and marked as superseded by
SPARK-27764 .
How do you think about that, [~cloud_fan], [~srowen], [~smilegator]?
{code}
postgres=# CREATE DATABASE _;
CREATE DATABASE
postgres=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+----------+----------+------------+------------+-----------------------
_ | postgres | UTF8 | en_US.utf8 | en_US.utf8 |
...
{code}
was (Author: dongjoon):
Oops. Wait a minute. We should allow this in Apache Spark 3.0 because of the
feature parity with PostgreSQL (SPARK-27764).
I'd like to close this issue as `Won't Do` and marked as superseded by
SPARK-27764 .
How do you think about that, [~cloud_fan], [~srowen], [~smilegator]?
> create database _; allowing in Spark but Hive throws Parse Exception
> --------------------------------------------------------------------
>
> Key: SPARK-28696
> URL: https://issues.apache.org/jira/browse/SPARK-28696
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: ABHISHEK KUMAR GUPTA
> Priority: Minor
>
> In Spark
> spark-sql> create database _;
> Time taken: 0.062 seconds
> spark-sql> show databases;
> _
> adap
> adaptive
> adaptive_tc8
> In Hive
> 0: jdbc:hive2://10.18.98.147:21066/> create database _;
> Error: Error while compiling statement: FAILED: ParseException line 1:16
> cannot recognize input near '_--0' '<EOF>' '<EOF>' in create database
> statement (state=42000,code=40000)
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]