[
https://issues.apache.org/jira/browse/CARBONDATA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15367740#comment-15367740
]
ASF GitHub Bot commented on CARBONDATA-47:
------------------------------------------
GitHub user ravipesala opened a pull request:
https://github.com/apache/incubator-carbondata/pull/32
[CARBONDATA-47]Simplified datasource format name and storage name in
carbondata
For more details https://issues.apache.org/jira/browse/CARBONDATA-47
This PR also cleans some unused code.
In order to add simplified name CarbonDatasourceRelation extends with
`DataSourceRegister` and also added services to META_INF folder.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ravipesala/incubator-carbondata segmentdelete
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-carbondata/pull/32.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #32
----
commit 6c1684b4ea7d1bfa1cd456923136d3ef62b905fc
Author: ravipesala <[email protected]>
Date: 2016-07-08T12:52:46Z
Added DatasourceRegister to make format name simple and clean up some
unused code
commit f91f4f5c8029b14a07dea5bdc66cf9791ea4a09e
Author: ravipesala <[email protected]>
Date: 2016-07-08T14:03:48Z
Simplified the storage name
----
> Simplified datasource format name and storage name in carbondata
> ----------------------------------------------------------------
>
> Key: CARBONDATA-47
> URL: https://issues.apache.org/jira/browse/CARBONDATA-47
> Project: CarbonData
> Issue Type: Improvement
> Reporter: Ravindra Pesala
> Assignee: Ravindra Pesala
> Priority: Minor
>
> It is part of usability changes. Simplified datasource format name and query
> storage name.
> *Datasource format name :*
> Current usage of datasource format
> {code}
> df.write.format("org.apache.spark.sql.CarbonSource")
> {code}
> We can also use as follow to simplify
> {code}
> df.write.format("carbondata")
> {code}
> *Query storage name :*
> Current usage of query storage name
> {code}
> CREATE TABLE IF NOT EXISTS t3
> (country String,name String, phonetype String, serialname String, salary
> Int)
> STORED BY 'org.apache.carbondata.format'
> {code}
>
> We can also use as follow to simplify
> {code}
> CREATE TABLE IF NOT EXISTS t3
> (country String,name String, phonetype String, serialname String, salary
> Int)
> STORED BY 'carbondata'
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)