Uploaded image for project: 'MRQL'
  1. MRQL
  2. MRQL-101

Fix memory materialization of lazy bags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.8
    • None
    • None

    Description

      This patch addresses various bugs in bag Materialization. Materializing lazy bags (stream-based bags implemented as iterators) is needed in a MRQL plan If the plan returns a lazy Bag and the term occurs in the code multiple times. In that case, we generate code to materialize this Bag in memory (as an array). The new materialization algorithm in this patch is simpler and more general, and addresses various bugs which result to the error "The collection stream has already been consumed".

      Attachments

        Issue Links

          Activity

            People

              fegaras Leonidas Fegaras
              fegaras Leonidas Fegaras
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: