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

bad DISTINCT * subselect with no vars

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed - Won't Fix
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Other
    • Labels:
      None

      Description

      Filing under 'other' because I have no yet identified if this is an optimizer or runtime issue.

      The following query gives the wrong answer without the workaround line.
      Without the query hint zero results are given, with the query hint two results are.

      SELECT *
      {
        
       BIND(1 as ?x)
       { SELECT DISTINCT *
         { {} UNION {}
        #    hint:SubQuery hint:runOnce true .
        #   BIND ( 1 as ?workAround )
         }
       }
      }
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jeremycarroll jeremycarroll
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: