Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13667

Add schema columns relocation table to map from user order to system order

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Ignite Flags:
      Docs Required, Release Notes Required

      Description

      When a schema is defined, the key chunk columns and value chunk columns are sorted so that fixlen columns go first and varlen columns go second, so the sorted column order differs from the order of the user-defined columns.
      We need to add a simple relocation table which is a permutation of indices [0..n), so that an internal column order for user index n is relocationTbl[n].
      NB: the tuple assembler will still need to access the internal sorted order for proper tuple assembly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                agoncharuk Alexey Goncharuk
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: