Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-4323

hint:runFirst not considered for Subqueries and Named Subquery Includes

    XMLWordPrintable

    Details

      Description

      In the following two queries, the runFirst query hint has no effect:

      SELECT *
      WHERE { 
        {
          SELECT ?s WHERE {
            ?s <http://p1> <http://o1a> .
          }
        }
        hint:Prior hint:runFirst "true" .
        ?s <http://p2> ?p2 .
        ?s <http://p3> ?p3 .  
      }
      

      and

      SELECT *
      WHERE { 
        {
          SELECT ?s WHERE {
            ?s <http://p1> <http://o1a> .
          } LIMIT 1
        }
        hint:Prior hint:runFirst "true" .
        ?s <http://p2> ?p2 .
        ?s <http://p3> ?p3 .  
      }
      

      Note the first one translates to a subquery and the second one to a named subquery include. This seems to be a general defect (probably caused by the new join group optimizer).

        Attachments

          Activity

            People

            Assignee:
            michaelschmidt michaelschmidt
            Reporter:
            michaelschmidt michaelschmidt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: