[
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)