You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Jacky Li (JIRA)" <ji...@apache.org> on 2018/03/28 11:16:00 UTC

[jira] [Resolved] (CARBONDATA-2278) Save the datamaps to system folder of warehouse

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

Jacky Li resolved CARBONDATA-2278.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

> Save the datamaps to system folder of warehouse
> -----------------------------------------------
>
>                 Key: CARBONDATA-2278
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2278
>             Project: CarbonData
>          Issue Type: New Feature
>            Reporter: Ravindra Pesala
>            Assignee: Ravindra Pesala
>            Priority: Major
>             Fix For: 1.4.0
>
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> *Problem*
> Currently, datamap schema is saved inside the main table schema itself. This approach cannot satisfy if a datamap belongs to more than one table. For suppose if we need to create a datamap joining 2 tables then we cannot keep the datamap schema under any one table.
> And also accessing the datamaps required to read the main table schema every time, it is not well optimized. And if we need to create multiple datamaps for a table then all datamaps need to store under the schema of that table so the size of main table schema grows and impacts the performance.
> *Solution*
> Make the datamap schema independent of main table schema. And store the schema under {{_system}}folder location. This location is configurable by using carbon property {{carbon.system.folder.location}} , by default, it stores under the store location.
> Created datamap schema in JSON format for better readability. And has the interfaces to store it in database.
> Made {{on table <tablename>}} for datamap DDL as optional , so now user can create/drop or show datamaps without {{on table}} option.



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