For “summary” command, I just pick the first carbondata file and read the 
schema from its header. 
The intention here is just to show one schema, assuming all schema in all data 
files in this folder is the same.

If there is need to validate schema in all files, we can add a “validate” 
command. It will be easy to add in CarbonCli tool

I have raised PR2683 for this feature.

Regards,
Jacky

> 在 2018年9月5日,上午10:23,xuchuanyin <xuchuan...@hust.edu.cn> 写道:
> 
> In the above example, you specify one directory and get two segments.
> But it only shows one schema info. I thought the number of the schema is the
> same as that of data directories. Since you mentioned that we can support
> nested folder, what if the schema in these files are not the same?
> 
> Another problem:
> 
> SegmentID  Status             Load Start  Load End    Merged To  Format      
> Data Size  Index Size   
> 0          Marked for Delete  2018-08-31  2018-08-31  NA         COLUMNAR_V3 
> NA         NA           
> 
> Why The datasize for segment#0 is NA? Will it affect the total data size of
> the carbon table?
> 
> 
> --
> Sent from: 
> http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/
> 



Reply via email to