Hi Akash, please note that if the index datamap supports lazy build, then there could be a chance that only some segments that have corresponding index data while some do not, which means that carbondata should handle this situation during query.
We cannot just discard the existing index otherwise the query performance will be affected. Hope your design has handle this properly. Thanks. Sent from my Huawei phone