Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1673

Allow tenant ID to be of any integral data type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.3.0
    • 4.6.0
    • None

    Description

      When creating multi-tenant tables and views, the column that identifies the tenant (first primary key column) must be of type 'VARCHAR' or 'CHAR'.

      It should be possible to relax this restriction to use any integral data type. The tenant ID from the connection property can be converted based on the data type of the first primary key column.

      Attachments

        Activity

          People

            Jeffrey.Lyons Jeffrey Lyons
            neverendingqs Mark Tse
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: