Github user gatorsmile commented on the issue:

    https://github.com/apache/spark/pull/14550
  
    After an investigation, Hive does not have such a field. Thus, they also 
put it in the table properties/parameters. 
    
    For example, this is the output of one table with table comment `d`
    ```
    hive> desc formatted tab5;
    OK
    # col_name                  data_type               comment             
                 
    id                          int                     b                   
                 
    # Detailed Table Information                 
    Database:                   default                  
    Owner:                      root                     
    CreateTime:                 Mon Aug 08 16:19:12 EDT 2016     
    LastAccessTime:             UNKNOWN                  
    Protect Mode:               None                     
    Retention:                  0                        
    Location:                   
hdfs://6b68a24121f4:9000/user/hive/warehouse/tab5        
    Table Type:                 MANAGED_TABLE            
    Table Parameters:            
        comment                 d                   
        transient_lastDdlTime   1470687552          
                 
    # Storage Information                
    SerDe Library:              
org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe       
    InputFormat:                org.apache.hadoop.mapred.TextInputFormat        
 
    OutputFormat:               
org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat       
    Compressed:                 No                       
    Num Buckets:                -1                       
    Bucket Columns:             []                       
    Sort Columns:               []                       
    Storage Desc Params:                 
        serialization.format    1     
    ```
    
    
    
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to