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

[SQL] Mandatory PK

    XMLWordPrintableJSON

Details

    • Epic
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • sql
    • Mandatory PK
    • Docs Required, Release Notes Required

    Description

      Apache Ignite is trying to unite the two worlds SQL and KV together, making the user experience of both worlds as natural as possible. Because of this, the key is considered mandatory.

      Nevertheless, the SQL standard allows tables without PK specified, and some customers potentially could have such tables in the production. Besides, there are external tests (like TCP-H for instance), which don't bother themselves by defining PK which they won't use anyway.

      To make it easier to migrate from tables without a key, let's provide a workaround where we could define a PK whose value will be automatically generated by some function.

      To make it easier to adopt external tests, we need to provide ability to inject the key without changing the source scripts. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            korlov Konstantin Orlov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: