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

ClassCastException during hash join (can not be cast to TermId)

    Details

      Description

      This was observed for BSBM BI Q5.

      The problem is that the hash joins were attempting to stick an IVCache's Value into a BTree modeled after the TERMS index when it was an INLINE value. We put TermIds into a mock TERMS index and BlobIVs into a mock BLOBS index in order to support the hash join. But an XSDInteger was getting stuff into the mock TERMS index and that was throwing a class cast exception.

        Activity

        beebs Brad Bebee created issue -
        Hide
        bryanthompson bryanthompson added a comment -

        I've managed to recreate this problem in a unit test of the IVEncoder utility classes. I needed to add some tests where an inline IV was used and where the IVCache was set for that inline IV.

        So, my question is do we EVER need to preserve the IVCache for an inline IV across a hash join? If not, then the answer is easy enough. I will just modify the test suite to NOT verify that IVCache associations are preserved for inline IVs.

        Show
        bryanthompson bryanthompson added a comment - I've managed to recreate this problem in a unit test of the IVEncoder utility classes. I needed to add some tests where an inline IV was used and where the IVCache was set for that inline IV. So, my question is do we EVER need to preserve the IVCache for an inline IV across a hash join? If not, then the answer is easy enough. I will just modify the test suite to NOT verify that IVCache associations are preserved for inline IVs.
        Hide
        bryanthompson bryanthompson added a comment -

        Modified the IVBindingSetEncoderWithIVCache to NOT cache the IVCache association for inline IVs. This change appears to be Ok in the various SPARQL query test suites. I am going to try it out in CI and see if any problems show up there.

        Committed revision r6213.

        Show
        bryanthompson bryanthompson added a comment - Modified the IVBindingSetEncoderWithIVCache to NOT cache the IVCache association for inline IVs. This change appears to be Ok in the various SPARQL query test suites. I am going to try it out in CI and see if any problems show up there. Committed revision r6213.
        Hide
        bryanthompson bryanthompson added a comment -

        Clean in CI

        Show
        bryanthompson bryanthompson added a comment - Clean in CI
        beebs Brad Bebee made changes -
        Field Original Value New Value
        Workflow Trac Import v2 [ 12480 ] Trac Import v3 [ 14044 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v3 [ 14044 ] Trac Import v4 [ 15373 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v4 [ 15373 ] Trac Import v5 [ 16759 ]
        beebs Brad Bebee made changes -
        Labels Issue_patch_20150625
        beebs Brad Bebee made changes -
        Status Closed - Won't Fix [ 6 ] Open [ 1 ]
        beebs Brad Bebee made changes -
        Status Open [ 1 ] Accepted [ 10101 ]
        beebs Brad Bebee made changes -
        Status Accepted [ 10101 ] In Progress [ 3 ]
        beebs Brad Bebee made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        beebs Brad Bebee made changes -
        Status Resolved [ 5 ] In Review [ 10100 ]
        beebs Brad Bebee made changes -
        Resolution Fixed [ 1 ] Done [ 10000 ]
        Status In Review [ 10100 ] Done [ 10000 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v5 [ 16759 ] Trac Import v6 [ 17986 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v6 [ 17986 ] Trac Import v7 [ 19383 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v7 [ 19383 ] Trac Import v8 [ 21004 ]

          People

          • Assignee:
            bryanthompson bryanthompson
            Reporter:
            bryanthompson bryanthompson
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: