hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vihang Karajgaonkar (JIRA)" <>
Subject [jira] [Updated] (HIVE-21586) Thrift generated cpp files for metastore do not compile
Date Wed, 01 May 2019 00:31:00 GMT


Vihang Karajgaonkar updated HIVE-21586:
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> Thrift generated cpp files for metastore do not compile
> -------------------------------------------------------
>                 Key: HIVE-21586
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Standalone Metastore
>    Affects Versions: 3.1.0
>            Reporter: Vihang Karajgaonkar
>            Assignee: Vihang Karajgaonkar
>            Priority: Major
>             Fix For: 4.0.0, 3.2.0
>         Attachments: HIVE-21586.01.patch, HIVE-21586.02.patch, HIVE-21586.03.patch, HIVE-21586.04.branch-3.patch,
HIVE-21586.04.patch, HIVE-21586.05.patch, HIVE-21586.nothrift.patch
> The way some structs like CreationMetadata, CompactionInfo, ColumnStatistics are defined
in hive_metastore.thrift is that these structs are used before they are defined. While this
works for the java code which is generated, it does not work for the generated cpp code since
Thrift does not use pointer/references to the forward declared classes.
> The easy fix for this would be to reorder the struct definitions in the hive_metastore.thrift
so that they are always defined before they are used.

This message was sent by Atlassian JIRA

View raw message