Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2122#discussion_r178422490
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/datamap/IndexDataMapProvider.java 
---
    @@ -41,6 +41,9 @@ public IndexDataMapProvider(DataMapSchemaStorageProvider 
storageProvider) {
       @Override
       public void initMeta(CarbonTable mainTable, DataMapSchema dataMapSchema, 
String ctasSqlStatement)
           throws MalformedDataMapCommandException, IOException {
    +    if (mainTable == null) {
    +      throw new MalformedDataMapCommandException("Parent table required to 
create index");
    --- End diff --
    
    change to `Parent table is required to create datamap`


---

Reply via email to