[ 
https://issues.apache.org/jira/browse/HIVE-25878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Krisztian Kasa updated HIVE-25878:
----------------------------------
    Description: 
HIVE-25656 introduced struct {{SourceTable}} into the metastore Thrift API.

The following structs definition contains circular dependency:
{code:java}
struct SourceTable {
    1: required Table table,
   ...
}

struct CreationMetadata {
    ...
    7: optional set<SourceTable> sourceTables
}

struct Table {
  ...
  16: optional CreationMetadata creationMetadata,   // only for MVs, it stores 
table names used and txn list at MV creation
  ...
}
{code}

  was:
The following structs definition contains circular dependency:
{code:java}
struct SourceTable {
    1: required Table table,
   ...
}

struct CreationMetadata {
    ...
    7: optional set<SourceTable> sourceTables
}

struct Table {
  ...
  16: optional CreationMetadata creationMetadata,   // only for MVs, it stores 
table names used and txn list at MV creation
  ...
}
{code}


> Unable to compile cpp metastore thrift client
> ---------------------------------------------
>
>                 Key: HIVE-25878
>                 URL: https://issues.apache.org/jira/browse/HIVE-25878
>             Project: Hive
>          Issue Type: Bug
>          Components: Thrift API
>            Reporter: Krisztian Kasa
>            Assignee: Krisztian Kasa
>            Priority: Major
>
> HIVE-25656 introduced struct {{SourceTable}} into the metastore Thrift API.
> The following structs definition contains circular dependency:
> {code:java}
> struct SourceTable {
>     1: required Table table,
>    ...
> }
> struct CreationMetadata {
>     ...
>     7: optional set<SourceTable> sourceTables
> }
> struct Table {
>   ...
>   16: optional CreationMetadata creationMetadata,   // only for MVs, it 
> stores table names used and txn list at MV creation
>   ...
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to