You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@griffin.apache.org by "kaid (Jira)" <ji...@apache.org> on 2020/07/10 08:45:00 UTC

[jira] [Created] (GRIFFIN-331) Excution error in SeqDqStep

kaid created GRIFFIN-331:
----------------------------

             Summary: 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


[ .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}
 



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