carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravipesala <...@git.apache.org>
Subject [GitHub] carbondata pull request #1759: [CARBONDATA-1980][PARTITION]Fix adding partit...
Date Thu, 04 Jan 2018 14:53:06 GMT
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1759#discussion_r159669950
  
    --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/management/RefreshCarbonTableCommand.scala
---
    @@ -91,6 +95,11 @@ case class RefreshCarbonTableCommand(
               registerAggregates(databaseName, dataMapSchemaList)(sparkSession)
             }
             registerTableWithHive(databaseName, tableName, tableInfo)(sparkSession)
    +        // Register partitions to hive metastore in case of hive partitioning carbon
table
    +        if (tableInfo.getFactTable.getPartitionInfo != null &&
    +            tableInfo.getFactTable.getPartitionInfo.getPartitionType == PartitionType.NATIVE_HIVE)
{
    +          registerAllPartitionsToHive(tablePath, databaseName, tableName, sparkSession)
    --- End diff --
    
    ok


---

Mime
View raw message