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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.9.0, 3.3.9
    • Affects Version/s: WT2.8.0
    • Component/s: None
    • None

      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.

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

              Created:
              Updated:
              Resolved: