Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-737

Rejigger Schema APIs to allow key columns not listed first

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Private Beta
    • None
    • api, client
    • None

    Description

      In some discussion with mgrund, we came to the conclusion that the current APIs for defining the key columns in a schema are not very easy to understand. Currently, we take only a 'num_key_columns' and require that the columns making up the primary key are the first n columns listed in the column list.

      This is a bit confusing to use, and also somewhat restrictive even though conventionally people do list these first. For example, we had to reorder the columns of tpch lineitem to make the primary key columns listed first.

      Attachments

        Issue Links

          Activity

            People

              tlipcon Todd Lipcon
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: