ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12129) Views: Use VARCHAR for DataStore entity String fields
Date Wed, 24 Jun 2015 21:41:05 GMT

    [ 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)

Mime
View raw message