[
https://issues.apache.org/jira/browse/GRIFFIN-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16616503#comment-16616503
]
Nikolay Sokolov commented on GRIFFIN-191:
-----------------------------------------
No, that was from UI. It works well if partition size is set to be non-zero in
measure, but fails if it is zero.
> Attempt to create job for 0-day partitioned accuracy measure fails
> ------------------------------------------------------------------
>
> Key: GRIFFIN-191
> URL: https://issues.apache.org/jira/browse/GRIFFIN-191
> Project: Griffin (Incubating)
> Issue Type: Bug
> Reporter: Nikolay Sokolov
> Priority: Trivial
>
> If accuracy measure is created through UI with partition size of 0 days,
> attempt to create job for such measure from UI fails with error "Missing
> 'as.baseline' config in 'data.segments'".
> Request:
> {code:none}
> {"job.name":"my-accuracy-job-0","job.type":"batch","measure.id":404,"cron.expression":"0
> * * * * ?","cron.time.zone":"GMT7:00","data.segments":[]}
> {code}
> Response:
> {code:none}
> {"timestamp":1536989880993,"status":400,"error":"Bad
> Request","code":"40005","message":"Missing 'as.baseline' config in
> 'data.segments'","path":"/api/v1/jobs"}
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)