Hi William,

Yes! 

Here is a DDL example:

CREATE TABLE `member`(
  `id` bigint,
  `nick_name` string,
  `cell_phone` string,
  `modify_time` timestamp)
PARTITIONED BY (
  `ods_date` date)

I can see column `id` `nick_name` `cell_phone` and `modify_time`, but I can not 
see column `ods_date`.


> 在 2019年1月19日,上午11:51,William Guo <[email protected]> 写道:
> 
> Hi zhen,
> 
> 
> What partition policy you are using?
> Partitioned by Date?
> 
> Thanks,
> William
> 
> William
> ________________________________
> From: Zhen Li <[email protected]>
> Sent: Saturday, January 19, 2019 9:04:54 AM
> To: [email protected]
> Subject: Re: No partition columns under Hive Table
> 
> Hi community,
> 
> I think I get the problem.
> 
> Griffin DataAssets get columns under Hive Table through Hive metadata client. 
> The client return class org.apache.hadoop.hive.ql.metadata.Table instance 
> array.
> 
> The problem is frontend get columns from row.sd.cols, lost the 
> row.partitionKeys.
> 
> Code is in module ui, file dataasset.component.html, line 64:
> 
> <table class="table table-striped co" [mfData]="row.sd.cols" 
> #mf2="mfDataTable">
> 
> 
>> 在 2019年1月18日,上午10:07,Zhen Li <[email protected]> 写道:
>> 
>> Hi community,
>> 
>> I have some Hive tables with partition columns.
>> I can see tables and normal columns from Griffin DataAssets, but can not 
>> find partition columns under Hive table.
>> 
>> Is it a bug, or I did something wrong?
>> 
>> I use Apache Griffin v0.4.0
>> 
>> Zhen
> 
> 


Reply via email to