Github user guoxiaolongzte commented on the issue:

    https://github.com/apache/spark/pull/20557
  
    @srowen @gatorsmile 
    
![4](https://user-images.githubusercontent.com/26266482/36081707-86d3a7cc-0fdd-11e8-9ee8-1c17efd5d690.png)
    
    Can I overload hive's org.apache.hive.beeline.Commands.java in spark sql 
package, modify the hive's hard-coded statistics rows?
    0: jdbc:hive2://localhost:18001> desc cyj.partition_table;
    +--------------------------+------------+----------+--+
    |         col_name         | data_type  | comment  |
    +--------------------------+------------+----------+--+
    | # col_name               | data_type  | comment  |
    | id                       | int        | NULL     |
    | name                     | string     | NULL     |
    | age                      | int        | NULL     |
    | dt                       | string     | NULL     |
    | day                      | string     | NULL     |
    | hour                     | int        | NULL     |
    | # Partition Information  |            |          |
    | # col_name               | data_type  | comment  |
    | dt                       | string     | NULL     |
    | day                      | string     | NULL     |
    | hour                     | int        | NULL     |
    +--------------------------+------------+----------+--+
    **12 rows** selected (0.092 seconds)
    
    **| # Partition Information  |            |          |
    | # col_name              | data_type  | comment  |
    Also counted as two lines. Still in question.**


---

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

Reply via email to