kevinjmh commented on issue #3278: [CARBONDATA-3427] Beautify DAG by showing 
less text
URL: https://github.com/apache/carbondata/pull/3278#issuecomment-501934358
 
 
   @BJangir 
   I create a test table with only two columns to check.
   ```
   +-----------+------------+----------+--+
   | col_name  | data_type  | comment  |
   +-----------+------------+----------+--+
   | name      | string     | NULL     |
   | id        | int        | NULL     |
   +-----------+------------+----------+--+
   ```
   and query like `select name, count(*) from TABLE_NAME where name!='a' group 
by name limit 10`
   
   1. SQL tab also can be fix by this PR
   
![image](https://user-images.githubusercontent.com/3809732/59476648-4bcc0580-8e84-11e9-9697-7e0fe65f1abf.png)
   
   
   2. tooltip has some different compared to parquet since carbon's code in a 
different flow. What I want to metion is that both carbon and parquet only show 
the column we query instead of the whole schema.
   *carbon*
   
![image](https://user-images.githubusercontent.com/3809732/59476669-69996a80-8e84-11e9-8bfb-5cd1a5fdc62a.png)
   *parquet*
   
![image](https://user-images.githubusercontent.com/3809732/59476690-80d85800-8e84-11e9-94e2-386e59fe2507.png)
   
   
   3. similar to the second point, only query column is show  instead of the 
whole schema. but we can get the whole schema from logical plan, both carbon 
and parquet acts the same
   *carbon*
   
![image](https://user-images.githubusercontent.com/3809732/59477095-41ab0680-8e86-11e9-9bbc-9a95e4a224d7.png)
   
   *parquet*
   
![image](https://user-images.githubusercontent.com/3809732/59476724-a49b9e00-8e84-11e9-8685-17e02dab3ccc.png)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to