Uploaded image for project: 'Kite SDK (READ-ONLY)'
  1. Kite SDK (READ-ONLY)
  2. KITE-130

Entity schema migration fails when adding a second subfield with a default

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.9.0
    • Component/s: HBase Module
    • Labels:
      None

      Description

      The bug is illustrated in https://github.com/cloudera/cdk/commit/7b3ae3251cc7a0667387d6188fdaa91878939e4d. Going from

      "fields": [
        { "name": "subfield1", "type": "string" },
        { "name": "subfield2", "type": "long" },
        { "name": "subfield3", "type": "string" },
        { "name": "subfield4", "type": "string", "default": "subfield4" }
      ]
      

      to

      "fields": [
        { "name": "subfield1", "type": "string" },
        { "name": "subfield2", "type": "long" },
        { "name": "subfield3", "type": "string" },
        { "name": "subfield4", "type": "string", "default": "subfield4" },
        { "name": "subfield5", "type": "string", "default": "subfield5" }
      ]
      

      fails.

        Attachments

          Activity

            People

            • Assignee:
              adam Adam Warrington
              Reporter:
              tom Tom White
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: