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/30 06:41:00 UTC

[jira] [Resolved] (CARBONDATA-2291) Add datamap status and refresh command to sync data manually to datamaps

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

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

> Add datamap status and refresh command to sync data manually to datamaps
> ------------------------------------------------------------------------
>
>                 Key: CARBONDATA-2291
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2291
>             Project: CarbonData
>          Issue Type: New Feature
>            Reporter: Ravindra Pesala
>            Priority: Major
>             Fix For: 1.4.0
>
>          Time Spent: 3h 50m
>  Remaining Estimate: 0h
>
> Currently, there is no way to synchronize datamaps manually to the fact table. So at first added the functionality to load the datamaps manually by using command {{refresh}}
> {{REFRESH DATAMAP <datamapName> }}
> Above command syncs the data between the datamap and parent tables.
> In order maintain the data consistency we require to enable or disable datamaps when data is not synchronized between fact and datamap. So added the new status called datamapstatus file under the system folder. whenever the data is out of sync between parent tables and datamap it just updates the status as disabled in datamapstatus file. After user manually refreshes the datamap it will update the status to enable.
> Only the enabled datamaps are considered during query.



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