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

Materialzation steps not always added if var used in filters and assignments

    Details

      Description

      added Junit test in TestAST.materialziation_extensions to show issue.
      If a query has say a filter and an assignment, which both use the same var.
      If the filter is processed first, and adds a materialization step, since the var was put in the doneSet, a materialization step is not added for the var again for the assignment.
      The issue arises if the filter step doesn't need materialization to do its processing, ie doing a compare of 2 ivs with the same datatype. In that case, the var is not materialized, but if the subsequent assignment does need the materialization, it throws and exception.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            mikepersonick mikepersonick
            Reporter:
            mroycsi mroycsi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: