You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/06/24 23:41:05 UTC

[jira] [Commented] (AMBARI-12129) Views: Use VARCHAR for DataStore entity String fields

    [ https://issues.apache.org/jira/browse/AMBARI-12129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14600204#comment-14600204 ] 

Hudson commented on AMBARI-12129:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2993 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2993/])
AMBARI-12129 - Views: Use VARCHAR for DataStore entity String fields (tbeerbower) (tbeerbower: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=10f7f42c74578a655a728075f23423db970a5253)
* ambari-server/src/test/java/org/apache/ambari/server/view/persistence/DataStoreImplTest.java
* ambari-server/src/main/java/org/apache/ambari/server/view/persistence/DataStoreImpl.java


> Views: Use VARCHAR for DataStore entity String fields
> -----------------------------------------------------
>
>                 Key: AMBARI-12129
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12129
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>             Fix For: 2.1.0
>
>
> An earlier change to view DataStore entity String fields mapped to CLOB type does not work well because CLOB types can not be part of a WHERE clause.
> DataStore was meant to be a lightweight persistence mechanism for views so it should be okay to impose reasonable limitations on the entities that it stores.
> For view entity String types we will use VARCHAR and limit the length to 4000 characters.  An exception will be thrown if a String that exceeds that length is submitted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)