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

    https://github.com/apache/carbondata/pull/2209#discussion_r184927567
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/metadata/schema/SchemaReader.java 
---
    @@ -81,10 +81,13 @@ public static TableInfo 
getTableInfo(AbsoluteTableIdentifier identifier)
       }
     
       public static TableInfo inferSchema(AbsoluteTableIdentifier identifier,
    -      boolean isCarbonFileProvider) throws IOException {
    +      boolean isCarbonFileProvider, TableInfo tableInfoFromCache) throws 
IOException {
         // This routine is going to infer schema from the carbondata file 
footer
         // Convert the ColumnSchema -> TableSchema -> TableInfo.
         // Return the TableInfo.
    +    if (tableInfoFromCache != null) {
    --- End diff --
    
    Done


---

Reply via email to