Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2605

C tests focused on different schema types needed for join and other APIs

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: WT2.8.0
    • Fix Version/s: WT2.9.0, 3.3.9
    • Labels:
      None

      Description

      The problem reported in WT-2592 (for join) highlights the need for some basic sanity checking of schema operations in C. Joins are tested via the Python interface, a layer above C that is thin, except notably for type packing/unpacking. Python and Java do their own packing and unpacking and access the 'raw' API when setting and retrieving keys and data. This does not provide ample coverage, especially when testing APIs that may be aware of raw vs cooked mode. Joins do have C examples, but they are simple examples, not designed as tests. A half dozen fairly simple test cases (using a small variety of key/values) plus some tests for custom extractor and collator is what we need. I suspect other parts of the API: (async, LSM) could benefit from some similar testing.

      In the join case, the test case attached to WT-2592 could be a starting point. When WT-2554 is resolved, we'll have a good framework to add such tests.

        Attachments

          Activity

            People

            • Assignee:
              donald.anderson Donald Anderson
              Reporter:
              donald.anderson Donald Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: