[ https://issues.apache.org/jira/browse/AMBARI-8605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Speidel updated AMBARI-8605: --------------------------------- Attachment: LexerWithComplexValueSupport.patch generic support for complex values in functions > Query predicate .matches doesn't work for stacks endpoint with passed logical > OR > -------------------------------------------------------------------------------- > > Key: AMBARI-8605 > URL: https://issues.apache.org/jira/browse/AMBARI-8605 > Project: Ambari > Issue Type: Bug > Affects Versions: 1.7.0 > Reporter: Dmytro Sen > Assignee: Dmytro Sen > Fix For: 2.0.0 > > Attachments: LexerWithComplexValueSupport.patch > > > Stacks endpoint returns java exception for query predicate which use .matches > and logical OR, for example: > {noformat} > /api/v1/stacks/HDP/versions/2.2/services/HIVE/configurations?fields=*&StackConfigurations/property_type.matches((.*USER.*)|(.*GROUP.*)) > /api/v1/stacks/HDP/versions/2.2/services/HIVE/configurations?fields=*&(StackConfigurations/property_type.matches(.*USER.*)|StackConfigurations/property_type.matches(.*GROUP.*)) > {noformat} > Regexp grouping with () doesn't work -- This message was sent by Atlassian JIRA (v6.3.4#6332)