Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A771417381 for ; Wed, 24 Jun 2015 21:41:05 +0000 (UTC) Received: (qmail 3507 invoked by uid 500); 24 Jun 2015 21:41:05 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 3480 invoked by uid 500); 24 Jun 2015 21:41:05 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 3466 invoked by uid 99); 24 Jun 2015 21:41:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2015 21:41:05 +0000 Date: Wed, 24 Jun 2015 21:41:05 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-12129) Views: Use VARCHAR for DataStore entity String fields MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)