[ 
https://issues.apache.org/jira/browse/EAGLE-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15427531#comment-15427531
 ] 

ASF GitHub Bot commented on EAGLE-473:
--------------------------------------

Github user haoch commented on the issue:

    https://github.com/apache/incubator-eagle/pull/361
  
    LGTM.


> Query error if query string contains "[]"
> -----------------------------------------
>
>                 Key: EAGLE-473
>                 URL: https://issues.apache.org/jira/browse/EAGLE-473
>             Project: Eagle
>          Issue Type: Bug
>    Affects Versions: v0.3.0
>            Reporter: Zhao, Qingwen
>             Fix For: v0.5.0
>
>
> Query 
> string:[7279137F3E23471BBB397E52FC94543A/ED1F4AD763A64097B640A7CBD54F4AD9] 
> Promoted Listing Job 2016/08/15/(25/29)
> {code}
> success: false,
> exception: "java.lang.Exception: java.io.IOException: 
> org.apache.eagle.storage.exception.QueryCompileException: 
> java.lang.IllegalArgumentException: List query syntax is 
> <EntityName>[<Filter>]{<Projection>} Aggregate query syntax is 
> <EntityName>[<Filter>]<GroupbyFields>{<AggregateFunctions>}.{<SortOptions>} 
> org.apache.eagle.storage.operation.QueryStatement.execute(QueryStatement.java:43)
>  
> org.apache.eagle.service.generic.GenericEntityServiceResource.search(GenericEntityServiceResource.java:443)
>  
> org.apache.eagle.service.jpm.MRJobExecutionResource.searchJobsById(MRJobExecutionResource.java:149)
>  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  java.lang.reflect.Method.invoke(Method.java:498) 
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
>  
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
>  
> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
>  
> org.apache.eagle.service.jpm.MRJobExecutionResource.searchJobsById(MRJobExecutionResource.java:158)
>  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  java.lang.reflect.Method.invoke(Method.java:498) 
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
>  
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
>  
> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
>  
> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
>  
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
>  ",
> obj: [ ]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to