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

keyFields must be empty if keyType is an SQL type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • sql
    • None
    • Docs Required

    Description

      Currently if QueryEntity.keyType is an SQL type (e.g. String or Integer) then keyFields property is simply ignored. This creates room for a misconfiguration.

      Let's add a check that keyFields is null or empty if keyType is an SQL type.

      Probably the same should be done for valueType and valueFields.

      Also, fields property should be handled somehow. An obvious case is that fields should be null or empty when both key and value are SQL types. There is probably more invariants to enforce though.

      Attachments

        Activity

          People

            Unassigned Unassigned
            slukyanov Stanislav Lukyanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: