hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Meng (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6161) Fix TCLIService duplicate thrift definition for TColumn
Date Wed, 08 Jan 2014 00:39:50 GMT

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

Xiao Meng commented on HIVE-6161:
---------------------------------

The two C++ TColumn classes are at [service/src/gen/thrift/gen-cpp/TCLIService_types.h|https://github.com/apache/hive/blob/820d507c99a546bb92f2fe2cf0e790d4cad52860/service/src/gen/thrift/gen-cpp/TCLIService_types.h].
It doesn't affect [service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java|https://github.com/apache/hive/blob/trunk/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java]
though, since thrift compiler will generate one single file per struct and overwrite TColumn.java
with the last definition.

> Fix TCLIService duplicate thrift definition for TColumn
> -------------------------------------------------------
>
>                 Key: HIVE-6161
>                 URL: https://issues.apache.org/jira/browse/HIVE-6161
>             Project: Hive
>          Issue Type: Sub-task
>          Components: HiveServer2
>    Affects Versions: 0.13.0
>            Reporter: Jay Bennett
>            Priority: Minor
>              Labels: HiveServer2, thrift
>         Attachments: HIVE-6161.1.patch.txt
>
>
> TCLIService.thrift interface contains a duplicate definition for TColumn since committing
the patch for HIVE-3746. This results in a compilation error when using generated c++ code
due to having two TColumn classes in the same namespace.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message