Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-22023

Superkey part number mismatch error

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2.10
    • Component/s: Thor
    • Labels:
      None

      Description

      If a user creates a superkey with subkeys that do not have the same number of file parts (such as incorrectly building a subkey on hthor instead of thor) then a subsequent access to the superkey results in an error like this:

      System error: 0: Graph graph6[185], Graph graph6[185], indexread[186]: Super key blah::foo:bar::baz, with mixture of sub key width are not supported.
      

      The usage of 'width' here is not obvious to non-developers of the platform, despite the (not often used) keyword being available in the BUILD() function. The user spent quite a bit of time chasing possible record layout differences instead.

      This is a request to make this error a bit more user-friendly by directly referencing "file parts" rather than "width."

      The error statement is within CIndexReadBase::prepareKey, within thorlcr/activities/indexread/thindexread.cpp.

        Attachments

          Activity

            People

            • Assignee:
              jakesmith Jake Smith
              Reporter:
              dcamper Dan S. Camper
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: