[ 
https://issues.apache.org/jira/browse/GRIFFIN-331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

kaid updated GRIFFIN-331:
-------------------------
    Description: 
[[map(_.execute(context))]|https://github.com/apache/griffin/blob/7123269b5cc69806499bffc0757da63eaa1b9306/measure/src/main/scala/org/apache/griffin/measure/step/SeqDQStep.scala#L38]|https://github.com/apache/griffin/blob/7123269b5cc69806499bffc0757da63eaa1b9306/measure/src/main/scala/org/apache/griffin/measure/step/SeqDQStep.scala#L38]

you should not use .map to execute the sequential steps, foreach instead
{code:java}
dqSteps.foreach(_.execute(context) match {
  case Success(p) => p
  case Failure(ex) => throw ex
})
Try(true)
{code}
 

  was:
[map(_.execute(context))]|https://github.com/apache/griffin/blob/7123269b5cc69806499bffc0757da63eaa1b9306/measure/src/main/scala/org/apache/griffin/measure/step/SeqDQStep.scala#L38]

you should not use .map to execute the sequential steps, foreach instead
{code:java}
dqSteps.foreach(_.execute(context) match {
  case Success(p) => p
  case Failure(ex) => throw ex
})
Try(true)
{code}
 


> Excution error in SeqDqStep
> ---------------------------
>
>                 Key: GRIFFIN-331
>                 URL: https://issues.apache.org/jira/browse/GRIFFIN-331
>             Project: Griffin
>          Issue Type: Bug
>    Affects Versions: 0.6.0
>            Reporter: kaid
>            Priority: Major
>
> [[map(_.execute(context))]|https://github.com/apache/griffin/blob/7123269b5cc69806499bffc0757da63eaa1b9306/measure/src/main/scala/org/apache/griffin/measure/step/SeqDQStep.scala#L38]|https://github.com/apache/griffin/blob/7123269b5cc69806499bffc0757da63eaa1b9306/measure/src/main/scala/org/apache/griffin/measure/step/SeqDQStep.scala#L38]
> you should not use .map to execute the sequential steps, foreach instead
> {code:java}
> dqSteps.foreach(_.execute(context) match {
>   case Success(p) => p
>   case Failure(ex) => throw ex
> })
> Try(true)
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to