> Drop metacache command does not clear the cache for table with MV having data loaded in Spark 2.1
> -------------------------------------------------------------------------------------------------
>
> Key: CARBONDATA-3586
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-3586> Project: CarbonData
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Vikram Ahuja
> Priority: Minor
> Fix For: 2.0.0
>
> Time Spent: 14h 50m
> Remaining Estimate: 0h
>
> Drop metacache command does not clear the cache for table with MV having data loaded in Spark 2.1 for the Index Server,
> Show Metacache before dropping:
> +-----------------------------+----------+-------------------------+-----------------+--+
> | Field | Size | Comment | Cache Location |
> +-----------------------------+----------+-------------------------+-----------------+--+
> | Index | 0 B | 0/1 index files cached | DRIVER |
> | Dictionary | 0 B | | DRIVER |
> | Index | 1.17 KB | 2/1 index files cached | INDEX SERVER |
> | Dictionary | 0 B | | INDEX SERVER |
> | vamsi_test_testbrinj_table | 603 B | mv | INDEX SERVER |
> +-----------------------------+----------+-------------------------+-----------------+–+
>
> Show metacache after dropping:
> +-------------+--------+-------------------------+-----------------+--+
> | Field | Size | Comment | Cache Location |
> +-------------+--------+-------------------------+-----------------+--+
> | Index | 0 B | 0/1 index files cached | DRIVER |
> | Dictionary | 0 B | | DRIVER |
> *| Index | 601 B | 1/1 index files cached | INDEX SERVER |*
> | Dictionary | 0 B | | INDEX SERVER |
> +-------------+--------+-------------------------+-----------------+--+