Repository: hive
Updated Branches:
  refs/heads/branch-2.3 1241baf9b -> 8563794b4


HIVE-16667 package.jdo changes to map DB CLOBs to JDO VARCHAR (Naveen Gangam, 
reviewed by Remus Rusanu)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/8563794b
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/8563794b
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/8563794b

Branch: refs/heads/branch-2.3
Commit: 8563794b4e7f4175773a70af4145032dfcc6454e
Parents: 1241baf
Author: Naveen Gangam <[email protected]>
Authored: Thu Jun 8 15:28:12 2017 -0400
Committer: Naveen Gangam <[email protected]>
Committed: Thu Jun 8 15:28:12 2017 -0400

----------------------------------------------------------------------
 metastore/src/model/package.jdo | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/8563794b/metastore/src/model/package.jdo
----------------------------------------------------------------------
diff --git a/metastore/src/model/package.jdo b/metastore/src/model/package.jdo
index 969e199..bdecd2a 100644
--- a/metastore/src/model/package.jdo
+++ b/metastore/src/model/package.jdo
@@ -66,7 +66,7 @@
         <column name="FNAME" length="767" jdbc-type="VARCHAR"/>
       </field>
       <field name="type" >
-        <column name="FTYPE" jdbc-type="CLOB" allows-null="false"/>
+        <column name="FTYPE" length="32672" jdbc-type="VARCHAR" 
allows-null="false"/>
       </field>
       <field name="comment" >
         <column name="FCOMMENT" length="4000" jdbc-type="VARCHAR" 
allows-null="true"/>
@@ -170,7 +170,7 @@
            <column name="PARAM_KEY" length="256" jdbc-type="VARCHAR"/>
         </key>
         <value>
-           <column name="PARAM_VALUE" jdbc-type="CLOB"/>
+           <column name="PARAM_VALUE" length="32672" jdbc-type="VARCHAR"/>
         </value>
       </field>
       <field name="viewOriginalText" default-fetch-group="false">
@@ -245,7 +245,7 @@
            <column name="PARAM_KEY" length="256" jdbc-type="VARCHAR"/>
         </key>
         <value>
-           <column name="PARAM_VALUE" jdbc-type="CLOB"/>
+           <column name="PARAM_VALUE" length="32672" jdbc-type="VARCHAR"/>
         </value>
       </field>
     </class>
@@ -277,7 +277,7 @@
               <column name="COLUMN_NAME" length="767" jdbc-type="VARCHAR"/>
               </field>
             <field name="type">
-              <column name="TYPE_NAME" jdbc-type="CLOB"  allows-null="false"/>
+              <column name="TYPE_NAME" length="32672" jdbc-type="VARCHAR" 
allows-null="false"/>
             </field>
             <field name="comment">
               <column name="COMMENT" length="256" jdbc-type="VARCHAR" 
allows-null="true"/>
@@ -360,7 +360,7 @@
            <column name="PARAM_KEY" length="256" jdbc-type="VARCHAR"/>
         </key>
         <value>
-           <column name="PARAM_VALUE" jdbc-type="CLOB"/>
+           <column name="PARAM_VALUE" length="32672" jdbc-type="VARCHAR"/>
         </value>
       </field>
       <field name="skewedColNames" table="SKEWED_COL_NAMES">

Reply via email to