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

Allow BOOLEAN type to represent NULL

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Resolution: Won't Fix
    • 3.0-Release
    • 3.1.0, 4.1.0
    • None
    • None
    • 611

    Description

      As we support BOOLEAN as a first-class citizen data type, we should have a way to serialize/deserialize a NULL value. This will prevent us from having to coerce it back and forth to a DECIMAL when indexed and allow it to be used as a nullable column anywhere in the primary key constraint. We'd need to add a PDataType.isNullable() instead of relying on PDataType.isFixedWidth() to infer whether a nullable column is allowed in the middle of a primary key constraint.

      Attachments

        Activity

          People

            jamestaylor James R. Taylor
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: