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

    https://github.com/apache/carbondata/pull/2257#discussion_r185401794
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/metadata/schema/table/CarbonTable.java
 ---
    @@ -244,10 +244,17 @@ public static CarbonTable buildFromDataFile(
         return buildFromTableInfo(tableInfo);
       }
     
    -  public static CarbonTable buildFromTablePath(
    -      String tableName, String tablePath) throws IOException {
    -    return SchemaReader.readCarbonTableFromStore(
    -        AbsoluteTableIdentifier.from(tablePath, tableName, "default"));
    +  public static CarbonTable buildFromTablePath(String tableName, String 
tablePath,
    +      boolean isTransactionalTable) throws IOException {
    +    if (isTransactionalTable) {
    +      return SchemaReader
    +          
.readCarbonTableFromStore(AbsoluteTableIdentifier.from(tablePath, tableName, 
"default"));
    --- End diff --
    
    Done.


---

Reply via email to