Github user wzhfy commented on the issue:

    https://github.com/apache/spark/pull/16422
  
    Hive running result:
    ```
    hive> desc student_test;
    OK
    id                          int                                         
    info                        struct<name:string,age:int>                     
    
    Time taken: 1.643 seconds, Fetched: 2 row(s)
    hive> desc student_test info;
    OK
    name                        string                  from deserializer   
    age                         int                     from deserializer   
    Time taken: 0.062 seconds, Fetched: 2 row(s)
    hive> desc student_test info.name;
    OK
    name                        string                  from deserializer   
    Time taken: 0.061 seconds, Fetched: 1 row(s)
    hive> desc formatted student_test info.name;
    OK
    # col_name                  data_type               min                     
max                     num_nulls               distinct_count          
avg_col_len             max_col_len             num_trues               
num_falses              comment             
                                                                                
 
    name                        string                                          
                                                                                
                                                                                
        from deserializer   
    Time taken: 0.252 seconds, Fetched: 3 row(s)
    hive> desc formatted student_test info;
    OK
    # col_name                  data_type               min                     
max                     num_nulls               distinct_count          
avg_col_len             max_col_len             num_trues               
num_falses              comment             
                                                                                
 
    name                        string                                          
                                                                                
                                                                                
        from deserializer   
    age                         int                                             
                                                                                
                                                                                
        from deserializer   
    Time taken: 0.086 seconds, Fetched: 4 row(s)
    ```


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to