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

Brian McBride commented on RYA-83:
----------------------------------

FWIW, when I first tried using Rya, SELECT { ?s ?p ?o } LIMIT 10 was, as usual, 
my first test query.  Getting back "not supported" resulted in me thinking "not 
standards conformant then".

There are lots of queries that will stress a triple store.  Maybe the thing to 
think about is how to limit the resource consumed by an arbitrary query, rather 
than syntactically recognising and blocking just one.

> select * where { s? p? o? } query crashed
> -----------------------------------------
>
>                 Key: RYA-83
>                 URL: https://issues.apache.org/jira/browse/RYA-83
>             Project: Rya
>          Issue Type: Bug
>         Environment: Accumulo 1.6.5 installed on EMR 4.6.0 (Hadoop 2.6.0)
>            Reporter: Kiet Ly
>
> I ran this query using REST 
> http://10.162.96.61:8000/web.rya/queryrdf?query=select * where { ?s ?p ?o }  
> and it crashed. I just want to see the triples that I had inserted. I ran the 
> query against the RYA I built from develop branch with accumulo 1.6.5.
> The error indicate this query is not supported, "select * where { ?s ?p ?o 
> }".  
> java.lang.IllegalArgumentException: TriplePattern[RyaStatement{subject=null, 
> predicate=null, object=null, context=null, qualifier=null, 
> columnVisibility=null, value=null, timestamp=1465307441120}] not supported
>       
> mvm.rya.accumulo.query.AccumuloRyaQueryEngine.queryWithBindingSet(AccumuloRyaQueryEngine.java:142)
>       
> mvm.rya.accumulo.query.AccumuloRyaQueryEngine.queryWithBindingSet(AccumuloRyaQueryEngine.java:81)
>       mvm.rya.api.persist.utils.RyaDAOHelper.query(RyaDAOHelper.java:122)



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

Reply via email to