ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <>
Subject [jira] [Created] (AMBARI-6202) Change restart_required from BOOLEAN to SMALLINT
Date Thu, 19 Jun 2014 03:42:25 GMT
Jonathan Hurley created AMBARI-6202:

             Summary: Change restart_required from BOOLEAN to SMALLINT
                 Key: AMBARI-6202
             Project: Ambari
          Issue Type: Task
    Affects Versions: 1.6.0
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
             Fix For: 1.6.1

We avoid the use of the "boolean" data type in our databases since many vendors do not support
it and sometimes the behavior can be unpredictable in JPA.

We should aim to be consistent in our approach to databases, and that means that we should
continue to treat 0/1 fields like restart_required as a SMALLINT in Postgres, even though
newer version of that database do support BOOLEAN fields.

This message was sent by Atlassian JIRA

View raw message