You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2014/06/19 05:42:25 UTC
[jira] [Created] (AMBARI-6202) Change restart_required from BOOLEAN
to SMALLINT
Jonathan Hurley created AMBARI-6202:
---------------------------------------
Summary: Change restart_required from BOOLEAN to SMALLINT
Key: AMBARI-6202
URL: https://issues.apache.org/jira/browse/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
(v6.2#6252)