hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4900) Fix the mismatched column names in package.jdo
Date Tue, 23 Jul 2013 17:58:49 GMT

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

Ashutosh Chauhan commented on HIVE-4900:
----------------------------------------

In the patch attached at HIVE-2084 following changes were there in package.jdo https://issues.apache.org/jira/secure/attachment/12475063/HIVE-2084.patch

{noformat}
     <class name="MFieldSchema" embedded-only="true" table="TYPE_FIELDS" detachable="true">
       <field name="name">
-        <column name="FNAME" length="128" jdbc-type="VARCHAR"/>
+        <column name="NAME" length="128" jdbc-type="VARCHAR"/>
       </field>
       <field name="type" >
-        <column name="FTYPE" length="4000" jdbc-type="VARCHAR" allows-null="false"/>
+        <column name="TYPE" length="4000" jdbc-type="VARCHAR" allows-null="false"/>
       </field>
       <field name="comment" >
-        <column name="FCOMMENT" length="4000" jdbc-type="VARCHAR" allows-null="true"/>
+        <column name="COMMENT" length="4000" jdbc-type="VARCHAR" allows-null="true"/>
       </field>
     </class>
 
@@ -184,7 +184,7 @@
 
     <class name="MOrder" embedded-only="true" table="SORT_ORDER" detachable="true">
       <field name="col">
-        <column name="COL_NAME" length="128" jdbc-type="VARCHAR"/>
+        <column name="COLUMN" length="128" jdbc-type="VARCHAR"/>
       </field>
       <field name="order">
         <column name="ORDER" jdbc-type="INTEGER"  allows-null="false"/>
{noformat}

I dont see these in current patch. Dont we need them ?
                
> Fix the mismatched column names in package.jdo
> ----------------------------------------------
>
>                 Key: HIVE-4900
>                 URL: https://issues.apache.org/jira/browse/HIVE-4900
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.10.0, 0.11.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>            Priority: Minor
>             Fix For: 0.12.0
>
>         Attachments: HIVE-4900.1.patch, HIVE-4900.2.patch, HIVE-4900.patch
>
>
> There are several errors in DataNucleus O-R mapping file, package.jdo, which are not
complained by the existing DN version. These errors may be subject to future DN complaint
(as experienced in HIVE-3632 and HIVE-2084). However, it is still better if we fix these errors
as it also creates some confusion in the community.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message