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

Manish Gupta resolved CARBONDATA-1949.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.0

> DESC formatted command displays sort scope twice
> ------------------------------------------------
>
>                 Key: CARBONDATA-1949
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1949
>             Project: CarbonData
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 1.3.0
>         Environment: spark2.1
>            Reporter: Geetika Gupta
>            Assignee: anubhav tarar
>            Priority: Minor
>             Fix For: 1.3.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> I created a table using this command:
> CREATE TABLE uniqdata_29(CUST_ID int,CUST_NAME String,ACTIVE_EMUI_VERSION 
> string, DOB timestamp, DOJ timestamp, BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 
> bigint,DECIMAL_COLUMN1 decimal(30,10), DECIMAL_COLUMN2 
> decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double,INTEGER_COLUMN1 
> int) STORED BY 'org.apache.carbondata.format';
> when I executed  desc formatted uniqdata_29
> It shows the following output:
> 0: jdbc:hive2://localhost:10000> desc formatted uniqdata_29;
> +---------------------------------------+-----------------------------------------------------------------------------------+---------------------------------------------------------------------------+--+
> |               col_name                |                                     
> data_type                                     |                               
>    comment                                  |
> +---------------------------------------+-----------------------------------------------------------------------------------+---------------------------------------------------------------------------+--+
> | cust_id                               | int                                 
>                                               | MEASURE,null                  
>                                             |
> | cust_name                             | string                              
>                                               | KEY COLUMN,null               
>                                             |
> | active_emui_version                   | string                              
>                                               | KEY COLUMN,null               
>                                             |
> | dob                                   | timestamp                           
>                                               | KEY COLUMN,null               
>                                             |
> | doj                                   | timestamp                           
>                                               | KEY COLUMN,null               
>                                             |
> | bigint_column1                        | bigint                              
>                                               | MEASURE,null                  
>                                             |
> | bigint_column2                        | bigint                              
>                                               | MEASURE,null                  
>                                             |
> | decimal_column1                       | decimal(30,10)                      
>                                               | MEASURE,null                  
>                                             |
> | decimal_column2                       | decimal(36,10)                      
>                                               | MEASURE,null                  
>                                             |
> | double_column1                        | double                              
>                                               | MEASURE,null                  
>                                             |
> | double_column2                        | double                              
>                                               | MEASURE,null                  
>                                             |
> | integer_column1                       | int                                 
>                                               | MEASURE,null                  
>                                             |
> |                                       |                                     
>                                               |                               
>                                             |
> | ##Detailed Table Information          |                                     
>                                               |                               
>                                             |
> | Database Name                         | 28dec                               
>                                               |                               
>                                             |
> | Table Name                            | uniqdata_29                         
>                                               |                               
>                                             |
> | CARBON Store Path                     | 
> hdfs://localhost:54311/opt/carbonStore                                        
>     |                                                                         
>   |
> | Comment                               |                                     
>                                               |                               
>                                             |
> | Table Block Size                      | 1024 MB                             
>                                               |                               
>                                             |
> | Table Data Size                       | 101419                              
>                                               |                               
>                                             |
> | Table Index Size                      | 1902                                
>                                               |                               
>                                             |
> | Last Update Time                      | 1514535776276                       
>                                               |                               
>                                             |
> | SORT_SCOPE                            | LOCAL_SORT                          
>                                               | LOCAL_SORT                    
>                                             |
> | Streaming                             | false                               
>                                               |                               
>                                             |
> | SORT_SCOPE                            | LOCAL_SORT                          
>                                               | LOCAL_SORT                    
>                                             |
> |                                       |                                     
>                                               |                               
>                                             |
> | ##Detailed Column property            |                                     
>                                               |                               
>                                             |
> | ADAPTIVE                              |                                     
>                                               |                               
>                                             |
> | SORT_COLUMNS                          | 
> cust_name,active_emui_version,dob,doj                                         
>     |                                                                         
>   |
> +---------------------------------------+-----------------------------------------------------------------------------------+---------------------------------------------------------------------------+--+
> 29 rows selected (0.196 seconds)
> Here sort_scope is displayed twice



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to