Github user kumarvishal09 commented on the issue:
https://github.com/apache/carbondata/pull/1425
@ravipesala Updated thrift.
struct RelationIdentifier {
1: optional string databaseName;
2: required string tableName;
3: required string tableId;
}
struct ParentColumnTableRelation {
1: required RelationIdentifier relationIdentifier;
2: required string columnId;
3: required string columnName
}
struct DataMapSchema {
// class name
1: required string className;
// relation indentifier
2: optional RelationIdentifier relationIdentifire;
// in case of preaggregate it will be used to maintain the child schema
// which will be usefull in case of query and data load
3: optional TableSchema childTableSchema;
// to maintain properties like select query, query type like groupby,
join
4: optional map<string, string> properties;
}
struct TableInfo{
1: required TableSchema fact_table;
2: required list<TableSchema> aggregate_table_list;
3: optional list<DataMapSchema> dataMapSchemas; // childSchema
information
}
Inside column schema added ParentColumnTableRelation
---