[ 
https://issues.apache.org/jira/browse/GRIFFIN-283?focusedWorklogId=299878&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-299878
 ]

ASF GitHub Bot logged work on GRIFFIN-283:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Aug/19 02:44
            Start Date: 23/Aug/19 02:44
    Worklog Time Spent: 10m 
      Work Description: wankunde commented on pull request #526: [GRIFFIN-283] 
Move sink steps into TransformStep
URL: https://github.com/apache/griffin/pull/526#discussion_r316956799
 
 

 ##########
 File path: 
measure/src/main/scala/org/apache/griffin/measure/step/builder/dsl/transform/Expr2DQSteps.scala
 ##########
 @@ -32,6 +33,10 @@ trait Expr2DQSteps extends Loggable with Serializable {
 
   def getDQSteps(): Seq[DQStep]
 
+  implicit def recoredWriteStepToList(writeStep: RecordWriteStep): 
List[WriteStep] = writeStep :: Nil
+
+  implicit def metricsWriteStepToList(writeStep: MetricWriteStep): 
List[WriteStep] = writeStep :: Nil
 
 Review comment:
   @bhlx3lyx7 @guoyuepeng 
   At first , I think for a TransformStep there could be one sink or a sink 
list. So I add a implicit method,and the argument can be WriteStep or 
List[WriteStep].
   
   But now,I think for the result table or dataframe of a transformStep, there 
could be only one WriteStep( one sink can sink to different places  and we 
don't need different output logic). So  i want to chuange the interface to 
**Option[WriteStep]** .
   
   Is that ok ?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 299878)
    Time Spent: 50m  (was: 40m)

> Move sink steps into TransformStep
> ----------------------------------
>
>                 Key: GRIFFIN-283
>                 URL: https://issues.apache.org/jira/browse/GRIFFIN-283
>             Project: Griffin
>          Issue Type: Task
>            Reporter: wan kun
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Treat sink steps as a part of a transform step, so we can keep focus on 
> transform step codes.
> Also the sink steps and some other transform step could be executed 
> concurrently.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to