carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kunal642 <...@git.apache.org>
Subject [GitHub] carbondata pull request #1605: [CARBONDATA-1526] [PreAgg] Added support to c...
Date Tue, 05 Dec 2017 15:26:47 GMT
Github user kunal642 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1605#discussion_r154979724
  
    --- Diff: integration/spark-common/src/main/scala/org/apache/carbondata/events/LoadEvents.scala
---
    @@ -42,6 +42,14 @@ case class LoadTablePostExecutionEvent(sparkSession: SparkSession,
         carbonTableIdentifier: CarbonTableIdentifier,
         carbonLoadModel: CarbonLoadModel) extends Event with LoadEventInfo
     
    +/**
    + * Class for handling operations after data load completion and before final commit of
load
    + * operation. Example usage: For loading pre-aggregate tables
    + */
    +case class LoadTablePreStatusUpdateEvent(sparkSession: SparkSession,
    --- End diff --
    
    This event will be used to perform some task just before updating the carbontable status.
    For example: When loading data into parent table we need to start load for all child datamaps
 so that if any of the load fails then parent table status file would not be written.


---

Mime
View raw message