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

    https://github.com/apache/carbondata/pull/2313#discussion_r189174422
  
    --- Diff: 
integration/hive/src/main/java/org/apache/carbondata/hive/MapredCarbonInputFormat.java
 ---
    @@ -77,13 +77,15 @@ private static void populateCarbonTable(Configuration 
configuration, String path
             }
           }
         }
    -    AbsoluteTableIdentifier absoluteTableIdentifier = 
AbsoluteTableIdentifier
    -        .from(validInputPath, getDatabaseName(configuration), 
getTableName(configuration));
    -    // read the schema file to get the absoluteTableIdentifier having the 
correct table id
    -    // persisted in the schema
    -    CarbonTable carbonTable = 
SchemaReader.readCarbonTableFromStore(absoluteTableIdentifier);
    -    configuration.set(CARBON_TABLE, 
ObjectSerializationUtil.convertObjectToString(carbonTable));
    -    setTableInfo(configuration, carbonTable.getTableInfo());
    +    if (null != validInputPath) {
    --- End diff --
    
    InvalidPath should throw exception


---

Reply via email to