[
https://issues.apache.org/jira/browse/FALCON-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14946690#comment-14946690
]
Narayan Periwal commented on FALCON-1490:
-----------------------------------------
As [~pallavi.rao] mentioned, right now, it is AND across filter fields and OR
within a single field. I went through all the filterBy use-cases and found some
following inconsistencies :
1. For entity list and summary, the OR is inconsistent within the field CLUSTER
and PIPELINES. Only the first value of these field is being considered for
filterBy rather than considering the OR.
for example, falcon entity -type process -list -filterBy
PIPELINES:lda,PIPELINES:cob
This will output the process with pipeline=lda. "PIPELINES:cob" is ignored.
I am not sure if this behavior is because of any particular use-case. If there
is any such historical reason, kindly let me know, otherwise I will go ahead
with making this behaviour consistent.
> Support OR in filterBy
> -----------------------
>
> Key: FALCON-1490
> URL: https://issues.apache.org/jira/browse/FALCON-1490
> Project: Falcon
> Issue Type: Sub-task
> Components: client
> Reporter: sandeep samudrala
> Assignee: Narayan Periwal
> Priority: Minor
> Fix For: 0.8
>
>
> As of now only AND is supported in filterBy, it would be useful to have OR
> support too so that users can use filterBy accordingly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)