You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "lianganping (JIRA)" <ji...@apache.org> on 2018/07/25 10:51:00 UTC

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

lianganping created CARBONDATA-2782:
---------------------------------------

             Summary: dead code in class 'CarbonCleanFilesCommand'
                 Key: CARBONDATA-2782
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2782
             Project: CarbonData
          Issue Type: Improvement
            Reporter: lianganping
             Fix For: 1.4.1


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}

...

}



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