GitHub user anubhav100 opened a pull request:
https://github.com/apache/incubator-carbondata/pull/580 [CARBONDATA-685]added vaidation for table name with spaces IN tableName option using carbon source
when using carbon source i am able to create table with spaces
logs====
0: jdbc:hive2://localhost:10000> CREATE TABLE table (ID Int, date Timestamp, country String, name String, phonetype String, serialname String, salary Int) USING org.apache.spark.sql.CarbonSource OPTIONS("tableName"="t a b l e ");
---------+
Result
---------+
---------+
No rows select
here table with empty spaces is created in hdfs
it should not allow this
with this pr this check will be validated
You can merge this pull request into a Git repository by running:
$ git pull
https://github.com/anubhav100/incubator-carbondata CARBONDATA-685
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-carbondata/pull/580.patchTo close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #580
----
commit 4434579e8ea80f1c615cdf027be0811dd89e2b71
Author: anubhav100 <
[hidden email]>
Date: 2017-01-29T12:31:44Z
added vaidation for table name with spaces
----
---
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
[hidden email] or file a JIRA ticket
with INFRA.
---