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

    https://github.com/apache/carbondata/pull/1469#discussion_r152730693
  
    --- Diff: integration/spark2/src/main/spark2.1/CarbonSessionState.scala ---
    @@ -107,15 +110,14 @@ class CarbonSessionCatalog(
         carbonEnv.carbonMetastore.
           checkSchemasModifiedTimeAndReloadTables(storePath)
     
    -    val tableMeta = carbonEnv.carbonMetastore
    -      
.getTableFromMetadataCache(carbonDatasourceHadoopRelation.carbonTable.getDatabaseName,
    -        carbonDatasourceHadoopRelation.carbonTable.getFactTableName)
    -    if (tableMeta.isEmpty || (tableMeta.isDefined &&
    -        tableMeta.get.carbonTable.getTableLastUpdatedTime !=
    -          
carbonDatasourceHadoopRelation.carbonTable.getTableLastUpdatedTime)) {
    +    val table = carbonEnv.carbonMetastore.getTableFromMetadataCache(
    +      carbonDatasourceHadoopRelation.carbonTable.getDatabaseName,
    +      carbonDatasourceHadoopRelation.carbonTable.getFactTableName)
    +    if (table.isEmpty || (table.isDefined &&
    +                          table.get.carbonTable.getTableLastUpdatedTime !=
    --- End diff --
    
    wrong indent


---

Reply via email to