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/07/27 02:49:00 UTC

[jira] [Resolved] (CARBONDATA-2782) dead code in class 'CarbonCleanFilesCommand'

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

Jacky Li resolved CARBONDATA-2782.
----------------------------------
    Resolution: Fixed

> dead code in class 'CarbonCleanFilesCommand'
> --------------------------------------------
>
>                 Key: CARBONDATA-2782
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2782
>             Project: CarbonData
>          Issue Type: Improvement
>            Reporter: lianganping
>            Assignee: lianganping
>            Priority: Trivial
>             Fix For: 1.4.1
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> class:CarbonCleanFilesCommand 
>  dead code:
> override def processMetadata(sparkSession: SparkSession): Seq[Row] = {
>  carbonTable = CarbonEnv.getCarbonTable(databaseNameOp, tableName.get)(sparkSession)
> {color:#ff0000}val dms = carbonTable.getTableInfo.getDataMapSchemaList.asScala.map(_.getDataMapName){color}
>  {color:#ff0000} val indexDms = DataMapStoreManager.getInstance.getAllDataMap(carbonTable).asScala{color}
>  {color:#ff0000} .filter(_.getDataMapSchema.isIndexDataMap){color}
> ...
> }
> the variables(dms、indexDms) are nerver used.



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